From a6ab5829ee035e2df1504c3d61bba4c6bfd5f05d Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Wed, 21 Oct 2026 17:39:49 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 251993 --- .../Item/Folders/FoldersRequestBuilder.cs | 6 +- .../ChildFoldersRequestBuilder.cs | 6 +- .../ApiUsageReportMetricsRequestBuilder.cs | 6 +- .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + ...reateUserProfileSnapshotPostRequestBody.cs | 81 + ...CreateUserProfileSnapshotRequestBuilder.cs | 103 + ...xportUserProfileSnapshotPostRequestBody.cs | 100 + ...ExportUserProfileSnapshotRequestBuilder.cs | 103 + .../Count/CountRequestBuilder.cs | 124 + ...PcUserProfileSnapshotItemRequestBuilder.cs | 235 + .../Item/Restore/RestorePostRequestBody.cs | 81 + .../Item/Restore/RestoreRequestBuilder.cs | 101 + .../UserProfileSnapshotsRequestBuilder.cs | 238 + ...SettingsPersistenceDetailRequestBuilder.cs | 18 + .../RevokeGrantsRequestBuilder.cs | 4 +- .../RevokeGrantsRequestBuilder.cs | 4 +- .../RevokeGrantsRequestBuilder.cs | 4 +- .../Item/Planner/PlannerRequestBuilder.cs | 23 +- .../ExtendExpiryRequestBuilder.cs | 96 + .../Item/PlannerPlanItemRequestBuilder.cs | 6 + .../Plans_v2/Count/CountRequestBuilder.cs | 124 + .../Plans_v2/Item/PlanItemRequestBuilder.cs | 125 + .../Plans_v2/Plans_v2RequestBuilder.cs | 184 + .../RevokeGrantsRequestBuilder.cs | 4 +- .../RevokeGrantsRequestBuilder.cs | 4 +- .../RevokeGrantsRequestBuilder.cs | 4 +- .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../Item/Planner/PlannerRequestBuilder.cs | 6 + .../ExtendExpiryRequestBuilder.cs | 96 + .../Item/PlannerPlanItemRequestBuilder.cs | 6 + .../Plans_v2/Count/CountRequestBuilder.cs | 124 + .../Plans_v2/Item/PlanItemRequestBuilder.cs | 125 + .../Plans_v2/Plans_v2RequestBuilder.cs | 183 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../Planner/PlannerRequestBuilder.cs | 6 + .../ExtendExpiryRequestBuilder.cs | 96 + .../Item/PlannerPlanItemRequestBuilder.cs | 6 + .../Plans_v2/Count/CountRequestBuilder.cs | 124 + .../Plans_v2/Item/PlanItemRequestBuilder.cs | 125 + .../Plans_v2/Plans_v2RequestBuilder.cs | 183 + .../DeletedItemsRequestBuilder.cs | 6 + .../Count/CountRequestBuilder.cs | 124 + .../Item/CreatedBy/CreatedByRequestBuilder.cs | 125 + .../LastModifiedByRequestBuilder.cs | 125 + .../Item/LifecyclePolicyItemRequestBuilder.cs | 216 + ...StartDateTimeWithEndDateTimeGetResponse.cs | 66 + ...ithStartDateTimeWithEndDateTimeResponse.cs | 28 + ...rtDateTimeWithEndDateTimeRequestBuilder.cs | 193 + ...IdentityGovernanceRestoreRequestBuilder.cs | 99 + .../Item/Report/ReportRequestBuilder.cs | 131 + .../Subjects/Count/CountRequestBuilder.cs | 124 + ...lePolicySubjectReportItemRequestBuilder.cs | 125 + .../Report/Subjects/SubjectsRequestBuilder.cs | 183 + .../LifecyclePolicyRuleItemRequestBuilder.cs | 125 + .../Item/Rules/RulesRequestBuilder.cs | 177 + .../Item/CreatedBy/CreatedByRequestBuilder.cs | 125 + .../LastModifiedByRequestBuilder.cs | 125 + .../Item/LifecyclePolicyItemRequestBuilder.cs | 161 + ...StartDateTimeWithEndDateTimeGetResponse.cs | 66 + ...ithStartDateTimeWithEndDateTimeResponse.cs | 28 + ...rtDateTimeWithEndDateTimeRequestBuilder.cs | 193 + ...IdentityGovernanceRestoreRequestBuilder.cs | 99 + .../Item/Report/ReportRequestBuilder.cs | 131 + .../Subjects/Count/CountRequestBuilder.cs | 124 + ...lePolicySubjectReportItemRequestBuilder.cs | 125 + .../Report/Subjects/SubjectsRequestBuilder.cs | 183 + .../Item/Rules/Count/CountRequestBuilder.cs | 124 + .../LifecyclePolicyRuleItemRequestBuilder.cs | 125 + .../Item/Rules/RulesRequestBuilder.cs | 183 + .../Item/Versions/VersionsRequestBuilder.cs | 177 + .../LifecyclePoliciesRequestBuilder.cs | 183 + .../Count/CountRequestBuilder.cs | 124 + .../Item/CreatedBy/CreatedByRequestBuilder.cs | 125 + .../LastModifiedByRequestBuilder.cs | 125 + .../Item/LifecyclePolicyItemRequestBuilder.cs | 218 + ...StartDateTimeWithEndDateTimeGetResponse.cs | 66 + ...ithStartDateTimeWithEndDateTimeResponse.cs | 28 + ...rtDateTimeWithEndDateTimeRequestBuilder.cs | 193 + ...IdentityGovernanceRestoreRequestBuilder.cs | 99 + .../Item/Report/ReportRequestBuilder.cs | 131 + .../Subjects/Count/CountRequestBuilder.cs | 124 + ...lePolicySubjectReportItemRequestBuilder.cs | 125 + .../Report/Subjects/SubjectsRequestBuilder.cs | 183 + .../LifecyclePolicyRuleItemRequestBuilder.cs | 126 + .../Item/Rules/RulesRequestBuilder.cs | 178 + .../Item/CreatedBy/CreatedByRequestBuilder.cs | 125 + .../LastModifiedByRequestBuilder.cs | 125 + .../Item/LifecyclePolicyItemRequestBuilder.cs | 161 + ...StartDateTimeWithEndDateTimeGetResponse.cs | 66 + ...ithStartDateTimeWithEndDateTimeResponse.cs | 28 + ...rtDateTimeWithEndDateTimeRequestBuilder.cs | 193 + ...IdentityGovernanceRestoreRequestBuilder.cs | 99 + .../Item/Report/ReportRequestBuilder.cs | 131 + .../Subjects/Count/CountRequestBuilder.cs | 124 + ...lePolicySubjectReportItemRequestBuilder.cs | 125 + .../Report/Subjects/SubjectsRequestBuilder.cs | 183 + .../Item/Rules/Count/CountRequestBuilder.cs | 124 + .../LifecyclePolicyRuleItemRequestBuilder.cs | 125 + .../Item/Rules/RulesRequestBuilder.cs | 183 + .../Item/Versions/VersionsRequestBuilder.cs | 177 + .../LifecyclePoliciesRequestBuilder.cs | 240 + .../Count/CountRequestBuilder.cs | 124 + ...PriorityConfigurationItemRequestBuilder.cs | 180 + ...icyPriorityConfigurationsRequestBuilder.cs | 184 + .../LifecycleWorkflowsRequestBuilder.cs | 12 + .../Calendars/Delta/DeltaRequestBuilder.cs | 8 +- .../Me/Calendars/Delta/DeltaRequestBuilder.cs | 8 +- .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../ComplianceIssuesRequestBuilder.cs | 183 + .../Count/CountRequestBuilder.cs | 124 + .../Item/ComplianceIssueItemRequestBuilder.cs | 125 + .../EffectiveGoverningPolicyRequestBuilder.cs | 125 + .../Me/Lifecycle/LifecycleRequestBuilder.cs | 241 + .../ImportMime/ImportMimeRequestBuilder.cs | 98 + .../Item/MailFolderItemRequestBuilder.cs | 6 + .../ImportMime/ImportMimeRequestBuilder.cs | 98 + .../Item/MailFolderItemRequestBuilder.cs | 6 + .../Generated/Me/MeRequestBuilder.cs | 24 + ...overnanceAddSelfAsSponsorRequestBuilder.cs | 96 + ...hIdentityGovernanceAttestRequestBuilder.cs | 96 + ...rnanceRemoveSelfAsSponsorRequestBuilder.cs | 96 + .../Me/Planner/PlannerRequestBuilder.cs | 23 +- .../ExtendExpiryRequestBuilder.cs | 96 + .../Item/PlannerPlanItemRequestBuilder.cs | 6 + .../Plans_v2/Count/CountRequestBuilder.cs | 124 + .../Plans_v2/Item/PlanItemRequestBuilder.cs | 125 + .../Plans_v2/Plans_v2RequestBuilder.cs | 183 + .../Tasks_v2/Count/CountRequestBuilder.cs | 124 + .../Tasks_v2/Item/TaskItemRequestBuilder.cs | 125 + .../Tasks_v2/Tasks_v2RequestBuilder.cs | 183 + .../AbsoluteCostManagementAlertThreshold.cs | 62 + .../Generated/Models/AccessDecisionReason.cs | 23 + .../Generated/Models/AccessDriftDetail.cs | 4 +- .../Generated/Models/AccessDriftReport.cs | 4 +- .../Generated/Models/AccessDriftSummary.cs | 4 +- .../Generated/Models/ActivityLogBase.cs | 6 +- .../Generated/Models/AgentIdentity.cs | 42 + .../Models/AgentIdentityBlueprintPrincipal.cs | 42 + .../Models/AllUsersSpendingPolicy.cs | 54 + .../Models/ApiUsageReportEnablementStatus.cs | 2 +- .../Generated/Models/AppManagementAudit.cs | 64 + .../AppManagementAuditLogAuditResult.cs | 28 + .../Models/AppManagementAuditLogPolicyType.cs | 28 + .../AppManagementAuditLogRestrictionResult.cs | 24 + .../AppManagementAuditLogRestrictionState.cs | 28 + .../AppliedAppManagementPolicyRestriction.cs | 185 + .../Models/AssignmentFilterEvaluationMode.cs | 26 + ...ssignmentFilterPropertyEvaluationSource.cs | 20 + .../AssignmentFilterSupportedProperty.cs | 8 + .../Models/BackupPolicyActivityLog.cs | 10 +- .../Generated/Models/BackupRestoreRoot.cs | 20 +- .../Models/BalanceEvaluationFailureReason.cs | 20 + .../Generated/Models/Bucket.cs | 160 + .../Generated/Models/BucketCapability.cs | 89 + .../Models/BucketCollectionResponse.cs | 64 + .../Generated/Models/CategoryDefinition.cs | 99 + .../Models/CategoryDefinitionCapability.cs | 89 + .../Generated/Models/ChatMention.cs | 115 + .../Generated/Models/ChatMentionType.cs | 24 + .../Generated/Models/ChatMessageProperties.cs | 117 + .../Generated/Models/ChatMessageReaction.cs | 18 + .../Generated/Models/ChatReaction.cs | 117 + .../Generated/Models/ChecklistCapability.cs | 89 + .../Generated/Models/ChecklistItemV4.cs | 176 + .../ChecklistItemV4CollectionResponse.cs | 64 + ...serSettingsPersistenceAutoCleanupDetail.cs | 97 + .../CloudPCUserSettingsPersistenceDetail.cs | 72 + .../CloudPCUserSettingsPersistenceProfile.cs | 26 + ...erSettingsPersistenceProfileUsageDetail.cs | 97 + .../Models/CloudPcAutoCleanupMode.cs | 29 + .../Generated/Models/CloudPcDeviceImage.cs | 2 +- .../Generated/Models/CloudPcGalleryImage.cs | 12 +- .../Models/CloudPcSourceDeviceImage.cs | 2 +- .../Models/CloudPcStorageConfiguration.cs | 97 + .../Models/CloudPcStorageSizingType.cs | 24 + .../CloudPcUserProfileBulkActionResult.cs | 103 + .../Models/CloudPcUserProfileSnapshot.cs | 122 + ...PcUserProfileSnapshotCollectionResponse.cs | 64 + ...erProfileSnapshotCreateBulkActionResult.cs | 71 + ...erProfileSnapshotExportBulkActionResult.cs | 71 + ...CloudPcUserProfileSnapshotStorageDetail.cs | 125 + ...ettingsPersistenceSnapshotConfiguration.cs | 89 + ...udPcUserSettingsPersistenceSnapshotType.cs | 24 + .../Generated/Models/ContentLink.cs | 168 + .../Generated/Models/ContentLinkCapability.cs | 89 + .../Models/ContentLinkCollectionResponse.cs | 64 + .../Generated/Models/ContentLinkType.cs | 24 + .../Models/CostManagementAlertSetting.cs | 91 + .../Models/CostManagementAlertThreshold.cs | 96 + .../Models/CostManagementBillingMethods.cs | 24 + .../Models/CostManagementDataStatus.cs | 90 + .../Models/CostManagementQuantity.cs | 96 + .../Generated/Models/CostManagementRoot.cs | 83 + .../CostManagementUnevaluatedService.cs | 108 + .../Generated/Models/CostManagementUnit.cs | 17 + .../Models/CostManagementUserBalance.cs | 100 + .../CostManagementUserServiceBalance.cs | 238 + .../Generated/Models/CreationInfo.cs | 197 + .../Generated/Models/CreationTimestamp.cs | 107 + .../Generated/Models/CustomChoiceOption.cs | 82 + .../Generated/Models/CustomFieldDefinition.cs | 208 + ...CustomFieldDefinitionCollectionResponse.cs | 64 + .../Generated/Models/CustomFieldRollupType.cs | 36 + .../Generated/Models/CustomFieldValue.cs | 82 + .../CustomFieldValueCollectionResponse.cs | 64 + .../Generated/Models/CustomFieldValueType.cs | 48 + .../Generated/Models/DateWithOptionalTime.cs | 124 + .../Generated/Models/DeletedItemContainer.cs | 18 + .../Generated/Models/Dependency.cs | 169 + .../Models/DependencyCollectionResponse.cs | 64 + .../Generated/Models/DependencyType.cs | 32 + .../DeviceAndAppManagementAssignmentFilter.cs | 8 + .../Generated/Models/Dictionary.cs | 2 + .../Generated/Models/DirectoryAudit.cs | 7 +- ...ctoryRoleManagementDeletedItemContainer.cs | 64 + .../Models/DriftAccessPackageInfo.cs | 4 +- .../Generated/Models/DriftCounts.cs | 6 +- .../Generated/Models/DriftIdentityInfo.cs | 6 +- .../Generated/Models/DriftResourceInfo.cs | 8 +- .../Models/DynamicRuleActivityLog.cs | 6 +- .../Generated/Models/Entity.cs | 46 + .../Models/EntraAccessDriftDetail.cs | 6 +- .../Models/EntraDriftIdentityInfo.cs | 2 +- .../Generated/Models/EntraProtectionPolicy.cs | 53 + ...EntraProtectionPolicyCollectionResponse.cs | 64 + .../Generated/Models/ErrorActions.cs | 29 + .../Generated/Models/ErrorSettings.cs | 97 + .../Models/EvaluationErrorCategory.cs | 32 + .../Generated/Models/EvaluationErrorDetail.cs | 115 + .../Generated/Models/EvaluationErrorType.cs | 108 + .../EvaluationIncompleteActivityMetadata.cs | 79 + .../Models/ExtensionFieldCollection.cs | 81 + src/Microsoft.Graph/Generated/Models/Goal.cs | 254 + .../Generated/Models/GoalCapability.cs | 81 + .../Models/GoalCollectionResponse.cs | 64 + src/Microsoft.Graph/Generated/Models/Group.cs | 2 +- .../Generated/Models/HistoryItem.cs | 159 + .../Models/HistoryItemCollectionResponse.cs | 64 + .../AccessPackageAssignmentRequiredRule.cs | 53 + .../AgentBuilderPlatforms.cs | 25 + .../AgentIdentityLifecycle.cs | 53 + .../AgentIdentityLifecyclePolicy.cs | 53 + ...xcludingAgentBuilderPlatformsSubjectSet.cs | 62 + .../AllExcludingGroupsSubjectSet.cs | 71 + .../AllExcludingSpecificObjectsSubjectSet.cs | 71 + .../AttestationComplianceIssue.cs | 64 + .../IdentityGovernance/ComplianceIssue.cs | 123 + .../ComplianceIssueCollectionResponse.cs | 64 + .../IdentityGovernance/ComplianceState.cs | 32 + .../DeleteOnlyEnforcementAction.cs | 53 + .../DisableOnlyEnforcementAction.cs | 53 + .../DisableThenDeleteEnforcementAction.cs | 61 + .../GuestLifecyclePolicy.cs | 53 + .../IdentityGovernance/IdentityLifecycle.cs | 96 + .../IdentityGovernance/InactivityRule.cs | 61 + .../InvitationRedemptionRule.cs | 62 + .../IdentityGovernance/LifecyclePolicy.cs | 280 + ...yclePolicyAgentIdentitySubjectReference.cs | 53 + .../LifecyclePolicyCollectionResponse.cs | 64 + .../LifecyclePolicyComplianceStatus.cs | 28 + .../LifecyclePolicyEnforcementAction.cs | 88 + .../LifecyclePolicyEnforcementActionState.cs | 52 + .../LifecyclePolicyEnforcementStatus.cs | 44 + .../LifecyclePolicyImpactAction.cs | 97 + .../LifecyclePolicyImpactActionType.cs | 36 + .../LifecyclePolicyImpactSummary.cs | 82 + .../LifecyclePolicyNextEnforcementAction.cs | 44 + .../LifecyclePolicyNotificationSettings.cs | 117 + .../LifecyclePolicyPriorityConfiguration.cs | 72 + ...PriorityConfigurationCollectionResponse.cs | 64 + .../LifecyclePolicyReference.cs | 107 + .../LifecyclePolicyRelationship.cs | 28 + .../LifecyclePolicyReport.cs | 98 + .../IdentityGovernance/LifecyclePolicyRule.cs | 63 + .../LifecyclePolicyRuleCollectionResponse.cs | 64 + .../LifecyclePolicyScopeProcessing.cs | 123 + .../LifecyclePolicyScopeProcessingAttempt.cs | 123 + ...cyclePolicyScopeProcessingAttemptStatus.cs | 44 + .../LifecyclePolicyScopeProcessingStatus.cs | 32 + .../LifecyclePolicySource.cs | 24 + .../LifecyclePolicySubjectCompliance.cs | 97 + .../LifecyclePolicySubjectEnforcement.cs | 137 + .../LifecyclePolicySubjectReference.cs | 105 + .../LifecyclePolicySubjectReport.cs | 126 + ...lePolicySubjectReportCollectionResponse.cs | 64 + .../LifecyclePolicyUserSubjectReference.cs | 53 + .../LifecycleWorkflowsContainer.cs | 36 + .../PeriodicAttestationRule.cs | 61 + .../SelectedObjectsSubjectSet.cs | 71 + .../IdentityGovernance/SponsorPresenceRule.cs | 61 + .../UserIdentityLifecycle.cs | 61 + .../Models/IosMinimumOperatingSystem.cs | 8 + .../Models/LifecyclePolicyComplianceState.cs | 28 + .../Models/LimitedCostManagementQuantity.cs | 62 + .../Models/MacOSMinimumOperatingSystem.cs | 8 + .../Generated/Models/MailboxFolder.cs | 8 + .../Models/OffboardingActivityLog.cs | 6 +- .../Generated/Models/OffboardingDetails.cs | 14 +- .../Generated/Models/OnPremisesPublishing.cs | 2 +- .../Models/OperationApprovalPolicyType.cs | 3 + .../Partners/Billing/AzureAggregatedUsage.cs | 64 + .../Partners/Billing/BilledAggregatedUsage.cs | 46 + .../Models/Partners/Billing/Billing.cs | 18 + .../PercentageCostManagementAlertThreshold.cs | 54 + src/Microsoft.Graph/Generated/Models/Plan.cs | 410 ++ .../Generated/Models/PlanCalendar.cs | 117 + .../Generated/Models/PlanCapability.cs | 121 + .../Models/PlanCollectionResponse.cs | 64 + .../Generated/Models/PlanContainer.cs | 107 + .../Generated/Models/PlanContextLink.cs | 185 + .../PlanContextLinkCollectionResponse.cs | 64 + .../Generated/Models/PlanView.cs | 99 + .../Generated/Models/Planner.cs | 36 + .../Generated/Models/PlannerArchivalInfo.cs | 34 + .../Generated/Models/PlannerChatMessage.cs | 172 + .../PlannerChatMessageCollectionResponse.cs | 64 + .../Models/PlannerChatMessageType.cs | 24 + .../Generated/Models/PlannerChatThreadType.cs | 24 + .../Generated/Models/PlannerContainerType.cs | 12 + .../Generated/Models/PlannerDelta.cs | 15 + .../Generated/Models/PlannerGroup.cs | 18 + .../Models/PlannerPlanContextType.cs | 40 + .../Generated/Models/PlannerTaskStatus.cs | 32 + .../Generated/Models/PlannerUser.cs | 36 + .../Generated/Models/PolicyConfiguration.cs | 107 + .../Generated/Models/PolicyScopeBase.cs | 18 + .../Generated/Models/Presence.cs | 4 +- .../Models/ProcessContentMetadataBase.cs | 1 + .../Generated/Models/ProtectionPolicyBase.cs | 1 + .../Generated/Models/ProtectionUnitDetails.cs | 12 +- .../Generated/Models/RbacApplication.cs | 18 + .../Generated/Models/RelatedPerson.cs | 18 + .../Models/RestoreArtifactDetails.cs | 6 +- .../Models/RestoreTaskActivityLog.cs | 6 +- .../Models/Security/A365AiGuardrail.cs | 54 + .../Generated/Models/Security/AiGuardrail.cs | 54 + .../Generated/Models/Security/AuditData.cs | 35 + .../Models/Security/AuditLogQuery.cs | 2 +- .../Models/Security/AuditLogRecordType.cs | 140 + .../Models/Security/CloudSecurityConnector.cs | 54 + .../Security/CloudSecurityEnablement.cs | 54 + .../Security/CloudSecurityManagement.cs | 54 + .../ComplianceEndpointEvaluationIncomplete.cs | 54 + .../ComplianceEvaluationIncomplete.cs | 54 + .../Models/Security/CscContentMetadata.cs | 54 + .../Models/Security/DefenderAutomationRule.cs | 54 + .../Security/DefenderGeneratedPlaybook.cs | 54 + .../Models/Security/DefenderIntegration.cs | 54 + .../Models/Security/DetectionAction.cs | 18 + .../Models/Security/DspmAdminActivity.cs | 54 + .../Models/Security/EcsContentMetadata.cs | 54 + .../Security/FilteringTeamsMessageFileInfo.cs | 54 + .../Models/Security/IncidentConfiguration.cs | 89 + .../Security/McsRawEmailContentMetadata.cs | 54 + .../Security/MesRawEmailContentMetadata.cs | 54 + .../MicrosoftSecurityForAiConfiguration.cs | 54 + ...icrosoftSecurityForAiRealTimeProtection.cs | 54 + .../Security/MicrosoftTeamsMoveMessages.cs | 54 + .../Models/Security/MtpContentMetadata.cs | 54 + .../OnDemandExchangeClassification.cs | 54 + .../Security/P4AiDagSitePermissionsRecord.cs | 54 + .../Models/Security/PeopleSkillsAdmin.cs | 54 + .../Models/Security/PeopleSkillsUser.cs | 54 + .../Security/PlannerCustomFieldDefinition.cs | 54 + .../PlannerCustomFieldDefinitionList.cs | 54 + .../Models/Security/PlannerDependency.cs | 54 + .../Models/Security/PlannerDependencyList.cs | 54 + .../Security/SharePointFileArchivePolicy.cs | 54 + .../Security/SyntheticMediaDetectionEvent.cs | 54 + .../Security/UniversalPrintSecureScan.cs | 54 + .../Security/VivaGlintClientConfiguration.cs | 54 + .../Models/Security/VivaGlintDataRetention.cs | 54 + .../VivaGlintVivaInsightsIntegration.cs | 54 + .../Models/Security/WorkIQAdminActivity.cs | 54 + .../Generated/Models/Security/Workbook.cs | 148 + .../Security/WorkbookCollectionResponse.cs | 64 + .../Models/Security/WorkbookContent.cs | 54 + .../Models/SelectedGroupsSpendingPolicy.cs | 72 + .../Generated/Models/SelectionDataStatus.cs | 114 + .../Generated/Models/ServicePrincipal.cs | 19 + .../Generated/Models/ServiceSettingState.cs | 20 + .../Generated/Models/SpendingPolicy.cs | 209 + .../Models/SpendingPolicyServiceSetting.cs | 133 + .../Generated/Models/SpendingPolicyStatus.cs | 26 + .../Generated/Models/SubjectSet.cs | 4 + .../Generated/Models/TaskCapability.cs | 105 + .../Models/TaskCollectionResponse.cs | 64 + .../Generated/Models/TaskObject.cs | 522 ++ .../Generated/Models/TaskPersonalView.cs | 89 + .../Generated/Models/TaskPlanView.cs | 99 + .../Generated/Models/TeamsChannelPlanner.cs | 18 + .../Models/UnlimitedCostManagementQuantity.cs | 54 + src/Microsoft.Graph/Generated/Models/User.cs | 19 + .../Generated/Models/UserAssignment.cs | 107 + .../Models/UserAssignmentCapability.cs | 89 + .../UserAssignmentCollectionResponse.cs | 64 + .../Models/Win32LobAppAssignmentSettings.cs | 18 + .../Models/Win32LobAppInUseSettings.cs | 106 + .../Generated/Models/WorkDayDefaults.cs | 98 + ...ficateAuthenticationMethodConfiguration.cs | 8 + ...dUserIdGroupingIdGroupingIdGetResponse.cs} | 10 +- ...erIdUserIdGroupingIdGroupingIdResponse.cs} | 12 +- ...erIdGroupingIdGroupingIdRequestBuilder.cs} | 54 +- .../Reports/ReportsRequestBuilder.cs | 8 +- .../Planner/PlannerRequestBuilder.cs | 24 +- .../ExtendExpiryRequestBuilder.cs | 96 + .../Item/PlannerPlanItemRequestBuilder.cs | 6 + .../Plans_v2/Count/CountRequestBuilder.cs | 124 + .../Item/Buckets/BucketsRequestBuilder.cs | 238 + .../Item/Buckets/Count/CountRequestBuilder.cs | 124 + .../Buckets/Item/BucketItemRequestBuilder.cs | 229 + .../Item/Contexts/ContextsRequestBuilder.cs | 238 + .../Contexts/Count/CountRequestBuilder.cs | 124 + .../Item/PlanContextLinkItemRequestBuilder.cs | 229 + .../Count/CountRequestBuilder.cs | 124 + .../CustomFieldDefinitionsRequestBuilder.cs | 183 + ...CustomFieldDefinitionItemRequestBuilder.cs | 125 + .../Dependencies/Count/CountRequestBuilder.cs | 124 + .../DependenciesRequestBuilder.cs | 183 + .../Item/DependencyItemRequestBuilder.cs | 125 + .../Item/Goals/Count/CountRequestBuilder.cs | 124 + .../Item/Goals/GoalsRequestBuilder.cs | 183 + .../Item/Goals/Item/GoalItemRequestBuilder.cs | 125 + .../HistoryItems/Count/CountRequestBuilder.cs | 124 + .../HistoryItemsRequestBuilder.cs | 183 + .../Item/HistoryItemItemRequestBuilder.cs | 125 + .../Item/Links/Count/CountRequestBuilder.cs | 124 + .../Item/ContentLinkItemRequestBuilder.cs | 229 + .../Item/Links/LinksRequestBuilder.cs | 238 + .../Plans_v2/Item/PlanItemRequestBuilder.cs | 280 + .../Item/Tasks/Count/CountRequestBuilder.cs | 124 + .../Item/Tasks/Item/TaskItemRequestBuilder.cs | 125 + .../Item/Tasks/TasksRequestBuilder.cs | 183 + .../Plans_v2/Plans_v2RequestBuilder.cs | 240 + .../Tasks_v2/Count/CountRequestBuilder.cs | 124 + .../Item/Checklist/ChecklistRequestBuilder.cs | 238 + .../Checklist/Count/CountRequestBuilder.cs | 124 + .../Item/ChecklistItemV4ItemRequestBuilder.cs | 229 + .../Count/CountRequestBuilder.cs | 124 + .../CustomFieldValuesRequestBuilder.cs | 238 + .../CustomFieldValueItemRequestBuilder.cs | 229 + .../Item/Links/Count/CountRequestBuilder.cs | 124 + .../Item/ContentLinkItemRequestBuilder.cs | 229 + .../Item/Links/LinksRequestBuilder.cs | 238 + .../Messages/Count/CountRequestBuilder.cs | 124 + .../PlannerChatMessageItemRequestBuilder.cs | 229 + .../Item/Messages/MessagesRequestBuilder.cs | 238 + .../Tasks_v2/Item/TaskItemRequestBuilder.cs | 262 + .../Count/CountRequestBuilder.cs | 124 + .../Item/UserAssignmentItemRequestBuilder.cs | 229 + .../UserAssignmentsRequestBuilder.cs | 238 + .../Tasks_v2/Tasks_v2RequestBuilder.cs | 240 + ...AppIdreportTypeReportTypeRequestBuilder.cs | 6 +- .../AggregatedUsageRequestBuilder.cs | 235 + .../Billed/BilledRequestBuilder.cs | 235 + .../ExportPostRequestBody.cs | 81 + ...raphPartnersBillingExportRequestBuilder.cs | 104 + .../Partners/Billing/BillingRequestBuilder.cs | 6 + .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 6 + .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 16 +- .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 6 + .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 16 +- .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 6 + .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 6 + .../DeletedItemsRequestBuilder.cs | 235 + .../Count/CountRequestBuilder.cs | 124 + ...ctoryScopeIdDirectoryScopeIdGetResponse.cs | 65 + ...ryScopeIdDirectoryScopeIdRequestBuilder.cs | 212 + ...irectoryScopeIdDirectoryScopeIdResponse.cs | 28 + .../Count/CountRequestBuilder.cs | 124 + .../InheritsPermissionsFromRequestBuilder.cs | 238 + ...ctoryScopeIdDirectoryScopeIdGetResponse.cs | 65 + ...ryScopeIdDirectoryScopeIdRequestBuilder.cs | 212 + ...irectoryScopeIdDirectoryScopeIdResponse.cs | 28 + .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 241 + .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 249 + .../RoleDefinitionsRequestBuilder.cs | 239 + .../DirectoryRequestBuilder.cs | 6 + .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 6 + .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 16 +- .../DeletedItemsRequestBuilder.cs | 235 + .../Count/CountRequestBuilder.cs | 124 + ...ctoryScopeIdDirectoryScopeIdGetResponse.cs | 65 + ...ryScopeIdDirectoryScopeIdRequestBuilder.cs | 212 + ...irectoryScopeIdDirectoryScopeIdResponse.cs | 28 + .../Count/CountRequestBuilder.cs | 124 + .../InheritsPermissionsFromRequestBuilder.cs | 238 + ...ctoryScopeIdDirectoryScopeIdGetResponse.cs | 65 + ...ryScopeIdDirectoryScopeIdRequestBuilder.cs | 212 + ...irectoryScopeIdDirectoryScopeIdResponse.cs | 28 + .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 241 + .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 247 + .../RoleDefinitionsRequestBuilder.cs | 238 + .../Item/RbacApplicationItemRequestBuilder.cs | 6 + .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 6 + .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 6 + .../DeletedItemsRequestBuilder.cs | 235 + .../Count/CountRequestBuilder.cs | 124 + ...ctoryScopeIdDirectoryScopeIdGetResponse.cs | 65 + ...ryScopeIdDirectoryScopeIdRequestBuilder.cs | 212 + ...irectoryScopeIdDirectoryScopeIdResponse.cs | 28 + .../Count/CountRequestBuilder.cs | 124 + .../InheritsPermissionsFromRequestBuilder.cs | 238 + ...ctoryScopeIdDirectoryScopeIdGetResponse.cs | 65 + ...ryScopeIdDirectoryScopeIdRequestBuilder.cs | 212 + ...irectoryScopeIdDirectoryScopeIdResponse.cs | 28 + .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 241 + .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 247 + .../RoleDefinitionsRequestBuilder.cs | 238 + .../EntitlementManagementRequestBuilder.cs | 6 + .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 6 + .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 12 +- .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 6 + .../Item/Restore/RestoreRequestBuilder.cs | 99 + ...UnifiedRoleDefinitionItemRequestBuilder.cs | 12 +- .../Security/SecurityRequestBuilder.cs | 6 + .../Workbooks/Count/CountRequestBuilder.cs | 124 + .../Item/WorkbookItemRequestBuilder.cs | 232 + .../Workbooks/WorkbooksRequestBuilder.cs | 240 + .../ComplianceIssuesRequestBuilder.cs | 184 + .../Count/CountRequestBuilder.cs | 124 + .../Item/ComplianceIssueItemRequestBuilder.cs | 126 + .../EffectiveGoverningPolicyRequestBuilder.cs | 125 + .../Item/Lifecycle/LifecycleRequestBuilder.cs | 243 + ...hIdentityGovernanceAttestRequestBuilder.cs | 96 + .../ServicePrincipalItemRequestBuilder.cs | 12 + .../RevokeGrantsRequestBuilder.cs | 4 +- .../RevokeGrantsRequestBuilder.cs | 4 +- .../RevokeGrantsRequestBuilder.cs | 4 +- .../RevokeGrantsRequestBuilder.cs | 4 +- .../RevokeGrantsRequestBuilder.cs | 4 +- .../RevokeGrantsRequestBuilder.cs | 4 +- .../ActivityLogsRequestBuilder.cs | 7 +- .../Item/ActivityLogBaseItemRequestBuilder.cs | 6 +- .../BackupRestoreRequestBuilder.cs | 6 + .../Count/CountRequestBuilder.cs | 124 + .../EntraProtectionPoliciesRequestBuilder.cs | 238 + ...EntraProtectionPolicyItemRequestBuilder.cs | 229 + .../RevokeGrantsRequestBuilder.cs | 4 +- .../RevokeGrantsRequestBuilder.cs | 4 +- .../RevokeGrantsRequestBuilder.cs | 4 +- .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../Item/Planner/PlannerRequestBuilder.cs | 6 + .../ExtendExpiryRequestBuilder.cs | 96 + .../Item/PlannerPlanItemRequestBuilder.cs | 6 + .../Plans_v2/Count/CountRequestBuilder.cs | 124 + .../Plans_v2/Item/PlanItemRequestBuilder.cs | 125 + .../Plans_v2/Plans_v2RequestBuilder.cs | 183 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../Planner/PlannerRequestBuilder.cs | 6 + .../ExtendExpiryRequestBuilder.cs | 96 + .../Item/PlannerPlanItemRequestBuilder.cs | 6 + .../Plans_v2/Count/CountRequestBuilder.cs | 124 + .../Plans_v2/Item/PlanItemRequestBuilder.cs | 125 + .../Plans_v2/Plans_v2RequestBuilder.cs | 183 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../Item/Planner/PlannerRequestBuilder.cs | 23 +- .../ExtendExpiryRequestBuilder.cs | 96 + .../Item/PlannerPlanItemRequestBuilder.cs | 6 + .../Plans_v2/Count/CountRequestBuilder.cs | 124 + .../Plans_v2/Item/PlanItemRequestBuilder.cs | 125 + .../Plans_v2/Plans_v2RequestBuilder.cs | 184 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../Planner/PlannerRequestBuilder.cs | 6 + .../ExtendExpiryRequestBuilder.cs | 96 + .../Item/PlannerPlanItemRequestBuilder.cs | 6 + .../Plans_v2/Count/CountRequestBuilder.cs | 124 + .../Plans_v2/Item/PlanItemRequestBuilder.cs | 125 + .../Plans_v2/Plans_v2RequestBuilder.cs | 183 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../Item/Planner/PlannerRequestBuilder.cs | 6 + .../ExtendExpiryRequestBuilder.cs | 96 + .../Item/PlannerPlanItemRequestBuilder.cs | 6 + .../Plans_v2/Count/CountRequestBuilder.cs | 124 + .../Plans_v2/Item/PlanItemRequestBuilder.cs | 125 + .../Plans_v2/Plans_v2RequestBuilder.cs | 183 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../Item/Planner/PlannerRequestBuilder.cs | 6 + .../ExtendExpiryRequestBuilder.cs | 96 + .../Item/PlannerPlanItemRequestBuilder.cs | 6 + .../Plans_v2/Count/CountRequestBuilder.cs | 124 + .../Plans_v2/Item/PlanItemRequestBuilder.cs | 125 + .../Plans_v2/Plans_v2RequestBuilder.cs | 183 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../Planner/PlannerRequestBuilder.cs | 6 + .../ExtendExpiryRequestBuilder.cs | 96 + .../Item/PlannerPlanItemRequestBuilder.cs | 6 + .../Plans_v2/Count/CountRequestBuilder.cs | 124 + .../Plans_v2/Item/PlanItemRequestBuilder.cs | 125 + .../Plans_v2/Plans_v2RequestBuilder.cs | 183 + .../Calendars/Delta/DeltaRequestBuilder.cs | 8 +- .../Calendars/Delta/DeltaRequestBuilder.cs | 8 +- .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../SetReaction/SetReactionPostRequestBody.cs | 36 + .../UnsetReactionPostRequestBody.cs | 36 + .../ComplianceIssuesRequestBuilder.cs | 183 + .../Count/CountRequestBuilder.cs | 124 + .../Item/ComplianceIssueItemRequestBuilder.cs | 125 + .../EffectiveGoverningPolicyRequestBuilder.cs | 125 + .../Item/Lifecycle/LifecycleRequestBuilder.cs | 241 + .../ImportMime/ImportMimeRequestBuilder.cs | 98 + .../Item/MailFolderItemRequestBuilder.cs | 6 + .../ImportMime/ImportMimeRequestBuilder.cs | 98 + .../Item/MailFolderItemRequestBuilder.cs | 6 + ...overnanceAddSelfAsSponsorRequestBuilder.cs | 96 + ...hIdentityGovernanceAttestRequestBuilder.cs | 96 + ...rnanceRemoveSelfAsSponsorRequestBuilder.cs | 96 + .../Item/Planner/PlannerRequestBuilder.cs | 12 + .../ExtendExpiryRequestBuilder.cs | 96 + .../Item/PlannerPlanItemRequestBuilder.cs | 6 + .../Plans_v2/Count/CountRequestBuilder.cs | 124 + .../Plans_v2/Item/PlanItemRequestBuilder.cs | 125 + .../Plans_v2/Plans_v2RequestBuilder.cs | 184 + .../Tasks_v2/Count/CountRequestBuilder.cs | 124 + .../Tasks_v2/Item/TaskItemRequestBuilder.cs | 125 + .../Tasks_v2/Tasks_v2RequestBuilder.cs | 184 + .../Users/Item/UserItemRequestBuilder.cs | 24 + .../Generated/kiota-dom-export.txt | 4930 ++++++++++++++++- src/Microsoft.Graph/Generated/kiota-lock.json | 4 +- 678 files changed, 63553 insertions(+), 242 deletions(-) create mode 100644 src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkCreateUserProfileSnapshot/BulkCreateUserProfileSnapshotPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkCreateUserProfileSnapshot/BulkCreateUserProfileSnapshotRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkExportUserProfileSnapshot/BulkExportUserProfileSnapshotPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkExportUserProfileSnapshot/BulkExportUserProfileSnapshotRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/CloudPcUserProfileSnapshotItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/Restore/RestorePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/UserProfileSnapshotsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/CreatedBy/CreatedByRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/LifecyclePolicyItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeResponse.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/ReportRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/SubjectsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Rules/RulesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/LifecyclePolicyItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeResponse.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/ReportRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/SubjectsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/RulesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/VersionsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/LifecyclePoliciesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/CreatedBy/CreatedByRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/LifecyclePolicyItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeResponse.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/ReportRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/SubjectsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Rules/RulesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/LifecyclePolicyItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeResponse.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/ReportRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/SubjectsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/RulesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/VersionsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/LifecyclePoliciesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/Item/LifecyclePolicyPriorityConfigurationItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/LifecyclePolicyPriorityConfigurationsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Lifecycle/LifecycleRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/ImportMime/ImportMimeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/MailFolders/Item/ImportMime/ImportMimeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceAddSelfAsSponsor/MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Planner/Plans_v2/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Planner/Plans_v2/Plans_v2RequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Planner/Tasks_v2/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Planner/Tasks_v2/Item/TaskItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Planner/Tasks_v2/Tasks_v2RequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AbsoluteCostManagementAlertThreshold.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AccessDecisionReason.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AllUsersSpendingPolicy.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AppManagementAudit.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AppManagementAuditLogAuditResult.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AppManagementAuditLogPolicyType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AppManagementAuditLogRestrictionResult.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AppManagementAuditLogRestrictionState.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AppliedAppManagementPolicyRestriction.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AssignmentFilterEvaluationMode.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AssignmentFilterPropertyEvaluationSource.cs create mode 100644 src/Microsoft.Graph/Generated/Models/BalanceEvaluationFailureReason.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Bucket.cs create mode 100644 src/Microsoft.Graph/Generated/Models/BucketCapability.cs create mode 100644 src/Microsoft.Graph/Generated/Models/BucketCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CategoryDefinition.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CategoryDefinitionCapability.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ChatMention.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ChatMentionType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ChatMessageProperties.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ChatReaction.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ChecklistCapability.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ChecklistItemV4.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ChecklistItemV4CollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudPCUserSettingsPersistenceAutoCleanupDetail.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudPCUserSettingsPersistenceProfileUsageDetail.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudPcAutoCleanupMode.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudPcStorageConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudPcStorageSizingType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudPcUserProfileBulkActionResult.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshot.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshotCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshotCreateBulkActionResult.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshotExportBulkActionResult.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshotStorageDetail.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudPcUserSettingsPersistenceSnapshotConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CloudPcUserSettingsPersistenceSnapshotType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ContentLink.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ContentLinkCapability.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ContentLinkCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ContentLinkType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CostManagementAlertSetting.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CostManagementAlertThreshold.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CostManagementBillingMethods.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CostManagementDataStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CostManagementQuantity.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CostManagementRoot.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CostManagementUnevaluatedService.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CostManagementUnit.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CostManagementUserBalance.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CostManagementUserServiceBalance.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CreationInfo.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CreationTimestamp.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CustomChoiceOption.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CustomFieldDefinition.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CustomFieldDefinitionCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CustomFieldRollupType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CustomFieldValue.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CustomFieldValueCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CustomFieldValueType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/DateWithOptionalTime.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Dependency.cs create mode 100644 src/Microsoft.Graph/Generated/Models/DependencyCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/DependencyType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/DirectoryRoleManagementDeletedItemContainer.cs create mode 100644 src/Microsoft.Graph/Generated/Models/EntraProtectionPolicy.cs create mode 100644 src/Microsoft.Graph/Generated/Models/EntraProtectionPolicyCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ErrorActions.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ErrorSettings.cs create mode 100644 src/Microsoft.Graph/Generated/Models/EvaluationErrorCategory.cs create mode 100644 src/Microsoft.Graph/Generated/Models/EvaluationErrorDetail.cs create mode 100644 src/Microsoft.Graph/Generated/Models/EvaluationErrorType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/EvaluationIncompleteActivityMetadata.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ExtensionFieldCollection.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Goal.cs create mode 100644 src/Microsoft.Graph/Generated/Models/GoalCapability.cs create mode 100644 src/Microsoft.Graph/Generated/Models/GoalCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/HistoryItem.cs create mode 100644 src/Microsoft.Graph/Generated/Models/HistoryItemCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/AccessPackageAssignmentRequiredRule.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentBuilderPlatforms.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentIdentityLifecycle.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentIdentityLifecyclePolicy.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingAgentBuilderPlatformsSubjectSet.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingGroupsSubjectSet.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingSpecificObjectsSubjectSet.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/AttestationComplianceIssue.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceIssue.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceIssueCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceState.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/DeleteOnlyEnforcementAction.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/DisableOnlyEnforcementAction.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/DisableThenDeleteEnforcementAction.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/GuestLifecyclePolicy.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/IdentityLifecycle.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/InactivityRule.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/InvitationRedemptionRule.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicy.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyAgentIdentitySubjectReference.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyComplianceStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementAction.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementActionState.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyImpactAction.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyImpactActionType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyImpactSummary.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyNextEnforcementAction.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyNotificationSettings.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyPriorityConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyPriorityConfigurationCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyReference.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRelationship.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyReport.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRule.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRuleCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessing.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttempt.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttemptStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySource.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectCompliance.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectEnforcement.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReference.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReport.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReportCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyUserSubjectReference.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/PeriodicAttestationRule.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/SelectedObjectsSubjectSet.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/SponsorPresenceRule.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/UserIdentityLifecycle.cs create mode 100644 src/Microsoft.Graph/Generated/Models/LifecyclePolicyComplianceState.cs create mode 100644 src/Microsoft.Graph/Generated/Models/LimitedCostManagementQuantity.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Partners/Billing/AzureAggregatedUsage.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Partners/Billing/BilledAggregatedUsage.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PercentageCostManagementAlertThreshold.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Plan.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PlanCalendar.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PlanCapability.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PlanCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PlanContainer.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PlanContextLink.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PlanContextLinkCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PlanView.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PlannerChatMessage.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PlannerChatMessageCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PlannerChatMessageType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PlannerChatThreadType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PlannerPlanContextType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PlannerTaskStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PolicyConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/A365AiGuardrail.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/AiGuardrail.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/CloudSecurityConnector.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/CloudSecurityEnablement.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/CloudSecurityManagement.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/ComplianceEndpointEvaluationIncomplete.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/ComplianceEvaluationIncomplete.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/CscContentMetadata.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/DefenderAutomationRule.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/DefenderGeneratedPlaybook.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/DefenderIntegration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/DspmAdminActivity.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/EcsContentMetadata.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/FilteringTeamsMessageFileInfo.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/IncidentConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/McsRawEmailContentMetadata.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/MesRawEmailContentMetadata.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/MicrosoftSecurityForAiConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/MicrosoftSecurityForAiRealTimeProtection.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/MicrosoftTeamsMoveMessages.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/MtpContentMetadata.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/OnDemandExchangeClassification.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/P4AiDagSitePermissionsRecord.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/PeopleSkillsAdmin.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/PeopleSkillsUser.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/PlannerCustomFieldDefinition.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/PlannerCustomFieldDefinitionList.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/PlannerDependency.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/PlannerDependencyList.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/SharePointFileArchivePolicy.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/SyntheticMediaDetectionEvent.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/UniversalPrintSecureScan.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/VivaGlintClientConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/VivaGlintDataRetention.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/VivaGlintVivaInsightsIntegration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/WorkIQAdminActivity.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/Workbook.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/WorkbookCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/WorkbookContent.cs create mode 100644 src/Microsoft.Graph/Generated/Models/SelectedGroupsSpendingPolicy.cs create mode 100644 src/Microsoft.Graph/Generated/Models/SelectionDataStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ServiceSettingState.cs create mode 100644 src/Microsoft.Graph/Generated/Models/SpendingPolicy.cs create mode 100644 src/Microsoft.Graph/Generated/Models/SpendingPolicyServiceSetting.cs create mode 100644 src/Microsoft.Graph/Generated/Models/SpendingPolicyStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TaskCapability.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TaskCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TaskObject.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TaskPersonalView.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TaskPlanView.cs create mode 100644 src/Microsoft.Graph/Generated/Models/UnlimitedCostManagementQuantity.cs create mode 100644 src/Microsoft.Graph/Generated/Models/UserAssignment.cs create mode 100644 src/Microsoft.Graph/Generated/Models/UserAssignmentCapability.cs create mode 100644 src/Microsoft.Graph/Generated/Models/UserAssignmentCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Win32LobAppInUseSettings.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WorkDayDefaults.cs rename src/Microsoft.Graph/Generated/NetworkAccess/Reports/{MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId/GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse.cs => MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId/GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponse.cs} (81%) rename src/Microsoft.Graph/Generated/NetworkAccess/Reports/{MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId/GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdResponse.cs => MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId/GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdResponse.cs} (57%) rename src/Microsoft.Graph/Generated/NetworkAccess/Reports/{MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder.cs => MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder.cs} (55%) create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Buckets/BucketsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Buckets/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Buckets/Item/BucketItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Contexts/ContextsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Contexts/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Contexts/Item/PlanContextLinkItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/CustomFieldDefinitions/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/CustomFieldDefinitions/CustomFieldDefinitionsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/CustomFieldDefinitions/Item/CustomFieldDefinitionItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Dependencies/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Dependencies/DependenciesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Dependencies/Item/DependencyItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Goals/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Goals/GoalsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Goals/Item/GoalItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/HistoryItems/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/HistoryItems/HistoryItemsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/HistoryItems/Item/HistoryItemItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Links/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Links/Item/ContentLinkItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Links/LinksRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Tasks/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Tasks/Item/TaskItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Tasks/TasksRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Plans_v2/Plans_v2RequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Tasks_v2/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Checklist/ChecklistRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Checklist/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Checklist/Item/ChecklistItemV4ItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/CustomFieldValues/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/CustomFieldValues/CustomFieldValuesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/CustomFieldValues/Item/CustomFieldValueItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Links/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Links/Item/ContentLinkItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Links/LinksRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Messages/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Messages/Item/PlannerChatMessageItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Messages/MessagesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/TaskItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/UserAssignments/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/UserAssignments/Item/UserAssignmentItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/UserAssignments/UserAssignmentsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Planner/Tasks_v2/Tasks_v2RequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Reports/Partners/Billing/AggregatedUsage/AggregatedUsageRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Reports/Partners/Billing/AggregatedUsage/Billed/BilledRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Reports/Partners/Billing/AggregatedUsage/Billed/MicrosoftGraphPartnersBillingExport/ExportPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Reports/Partners/Billing/AggregatedUsage/Billed/MicrosoftGraphPartnersBillingExport/MicrosoftGraphPartnersBillingExportRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/Defender/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/Defender/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/RoleDefinitionsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/DeletedItemsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/RoleDefinitionsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/DeletedItemsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/RoleDefinitionsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/Exchange/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/RoleManagement/Exchange/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Workbooks/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Workbooks/Item/WorkbookItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Workbooks/WorkbooksRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/LifecycleRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/ServicePrincipals/Item/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/EntraProtectionPolicies/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/EntraProtectionPolicies/EntraProtectionPoliciesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/EntraProtectionPolicies/Item/EntraProtectionPolicyItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Lifecycle/LifecycleRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/ImportMime/ImportMimeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ImportMime/ImportMimeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceAddSelfAsSponsor/MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks_v2/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks_v2/Item/TaskItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks_v2/Tasks_v2RequestBuilder.cs diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs index 55bdd36380c4..22c0a785dcb1 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs @@ -60,7 +60,7 @@ public FoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. + /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren't returned. To include them, specify includeHiddenFolders=true. /// Find more info here /// /// A @@ -110,7 +110,7 @@ public FoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailboxFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. + /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren't returned. To include them, specify includeHiddenFolders=true. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.FoldersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. + /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren't returned. To include them, specify includeHiddenFolders=true. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FoldersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs index 887b8680b975..1862c2895385 100644 --- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -60,7 +60,7 @@ public ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. + /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren't returned. To include them, specify includeHiddenFolders=true. /// Find more info here /// /// A @@ -109,7 +109,7 @@ public ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailboxFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. + /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren't returned. To include them, specify includeHiddenFolders=true. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.ChildFoldersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. + /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren't returned. To include them, specify includeHiddenFolders=true. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ChildFoldersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/ReportSettings/SharePoint/ApiUsageReportMetrics/ApiUsageReportMetricsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ReportSettings/SharePoint/ApiUsageReportMetrics/ApiUsageReportMetricsRequestBuilder.cs index 2a45ae6406bc..f72db0196a93 100644 --- a/src/Microsoft.Graph/Generated/Admin/ReportSettings/SharePoint/ApiUsageReportMetrics/ApiUsageReportMetricsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ReportSettings/SharePoint/ApiUsageReportMetrics/ApiUsageReportMetricsRequestBuilder.cs @@ -54,7 +54,7 @@ public ApiUsageReportMetricsRequestBuilder(string rawUrl, IRequestAdapter reques { } /// - /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport. + /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport. /// Find more info here /// /// A @@ -103,7 +103,7 @@ public ApiUsageReportMetricsRequestBuilder(string rawUrl, IRequestAdapter reques return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ApiUsageReportEnablementStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport. + /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Admin.ReportSettings.SharePoint.ApiUsageReportMetrics.ApiUsageReportMetricsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport. + /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ApiUsageReportMetricsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs index bf1692137068..31f228d40e9a 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 8031cc70a03b..83078d565d24 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs index dce595a6eb71..095442acf1a2 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 9f088dfc7705..6e09bc9ca33e 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs index 835bd2ad233e..0cebd7940884 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index e0ffeda53deb..b2091a59d78b 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkCreateUserProfileSnapshot/BulkCreateUserProfileSnapshotPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkCreateUserProfileSnapshot/BulkCreateUserProfileSnapshotPostRequestBody.cs new file mode 100644 index 000000000000..74bd9364d297 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkCreateUserProfileSnapshot/BulkCreateUserProfileSnapshotPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BulkCreateUserProfileSnapshotPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The cloudProfileIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CloudProfileIds + { + get { return BackingStore?.Get?>("cloudProfileIds"); } + set { BackingStore?.Set("cloudProfileIds", value); } + } +#nullable restore +#else + public List CloudProfileIds + { + get { return BackingStore?.Get>("cloudProfileIds"); } + set { BackingStore?.Set("cloudProfileIds", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public BulkCreateUserProfileSnapshotPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "cloudProfileIds", n => { CloudProfileIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("cloudProfileIds", CloudProfileIds); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkCreateUserProfileSnapshot/BulkCreateUserProfileSnapshotRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkCreateUserProfileSnapshot/BulkCreateUserProfileSnapshotRequestBuilder.cs new file mode 100644 index 000000000000..2ebcac2a74ae --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkCreateUserProfileSnapshot/BulkCreateUserProfileSnapshotRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot +{ + /// + /// Provides operations to call the bulkCreateUserProfileSnapshot method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BulkCreateUserProfileSnapshotRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public BulkCreateUserProfileSnapshotRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/bulkCreateUserProfileSnapshot", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public BulkCreateUserProfileSnapshotRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/bulkCreateUserProfileSnapshot", rawUrl) + { + } + /// + /// Invoke action bulkCreateUserProfileSnapshot + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcUserProfileBulkActionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action bulkCreateUserProfileSnapshot + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BulkCreateUserProfileSnapshotRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkExportUserProfileSnapshot/BulkExportUserProfileSnapshotPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkExportUserProfileSnapshot/BulkExportUserProfileSnapshotPostRequestBody.cs new file mode 100644 index 000000000000..068524f1a57a --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkExportUserProfileSnapshot/BulkExportUserProfileSnapshotPostRequestBody.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BulkExportUserProfileSnapshotPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The snapshotIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SnapshotIds + { + get { return BackingStore?.Get?>("snapshotIds"); } + set { BackingStore?.Set("snapshotIds", value); } + } +#nullable restore +#else + public List SnapshotIds + { + get { return BackingStore?.Get>("snapshotIds"); } + set { BackingStore?.Set("snapshotIds", value); } + } +#endif + /// The storageDetail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotStorageDetail? StorageDetail + { + get { return BackingStore?.Get("storageDetail"); } + set { BackingStore?.Set("storageDetail", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotStorageDetail StorageDetail + { + get { return BackingStore?.Get("storageDetail"); } + set { BackingStore?.Set("storageDetail", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public BulkExportUserProfileSnapshotPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "snapshotIds", n => { SnapshotIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "storageDetail", n => { StorageDetail = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotStorageDetail.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("snapshotIds", SnapshotIds); + writer.WriteObjectValue("storageDetail", StorageDetail); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkExportUserProfileSnapshot/BulkExportUserProfileSnapshotRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkExportUserProfileSnapshot/BulkExportUserProfileSnapshotRequestBuilder.cs new file mode 100644 index 000000000000..2367fad8d5f2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkExportUserProfileSnapshot/BulkExportUserProfileSnapshotRequestBuilder.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot +{ + /// + /// Provides operations to call the bulkExportUserProfileSnapshot method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BulkExportUserProfileSnapshotRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public BulkExportUserProfileSnapshotRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/bulkExportUserProfileSnapshot", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public BulkExportUserProfileSnapshotRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/bulkExportUserProfileSnapshot", rawUrl) + { + } + /// + /// Invoke action bulkExportUserProfileSnapshot + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcUserProfileBulkActionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action bulkExportUserProfileSnapshot + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BulkExportUserProfileSnapshotRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..11ef59697d99 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/CloudPcUserProfileSnapshotItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/CloudPcUserProfileSnapshotItemRequestBuilder.cs new file mode 100644 index 000000000000..f8dc7da6c08d --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/CloudPcUserProfileSnapshotItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item +{ + /// + /// Provides operations to manage the userProfileSnapshots property of the microsoft.graph.cloudPCUserSettingsPersistenceDetail entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudPcUserProfileSnapshotItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CloudPcUserProfileSnapshotItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots/{cloudPcUserProfileSnapshot%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CloudPcUserProfileSnapshotItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots/{cloudPcUserProfileSnapshot%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property userProfileSnapshots for deviceManagement + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get userProfileSnapshots from deviceManagement + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property userProfileSnapshots in deviceManagement + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property userProfileSnapshots for deviceManagement + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get userProfileSnapshots from deviceManagement + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property userProfileSnapshots in deviceManagement + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudPcUserProfileSnapshotItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get userProfileSnapshots from deviceManagement + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudPcUserProfileSnapshotItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudPcUserProfileSnapshotItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudPcUserProfileSnapshotItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/Restore/RestorePostRequestBody.cs new file mode 100644 index 000000000000..93b50396a73c --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/Restore/RestorePostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The targetAssignmentId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TargetAssignmentId + { + get { return BackingStore?.Get("targetAssignmentId"); } + set { BackingStore?.Set("targetAssignmentId", value); } + } +#nullable restore +#else + public string TargetAssignmentId + { + get { return BackingStore?.Get("targetAssignmentId"); } + set { BackingStore?.Set("targetAssignmentId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RestorePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestorePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "targetAssignmentId", n => { TargetAssignmentId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("targetAssignmentId", TargetAssignmentId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..1fb3614ca3bc --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots/{cloudPcUserProfileSnapshot%2Did}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots/{cloudPcUserProfileSnapshot%2Did}/restore", rawUrl) + { + } + /// + /// Invoke action restore + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action restore + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/UserProfileSnapshotsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/UserProfileSnapshotsRequestBuilder.cs new file mode 100644 index 000000000000..95c29078f85a --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/UserProfileSnapshotsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count; +using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots +{ + /// + /// Provides operations to manage the userProfileSnapshots property of the microsoft.graph.cloudPCUserSettingsPersistenceDetail entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserProfileSnapshotsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the userProfileSnapshots property of the microsoft.graph.cloudPCUserSettingsPersistenceDetail entity. + /// The unique identifier of cloudPcUserProfileSnapshot + /// A + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("cloudPcUserProfileSnapshot%2Did", position); + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UserProfileSnapshotsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UserProfileSnapshotsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get userProfileSnapshots from deviceManagement + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to userProfileSnapshots for deviceManagement + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get userProfileSnapshots from deviceManagement + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to userProfileSnapshots for deviceManagement + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.UserProfileSnapshotsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.UserProfileSnapshotsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get userProfileSnapshots from deviceManagement + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserProfileSnapshotsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserProfileSnapshotsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserProfileSnapshotsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserSettingsPersistenceDetailRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserSettingsPersistenceDetailRequestBuilder.cs index afd388268dfd..3a0c616a00c3 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserSettingsPersistenceDetailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserSettingsPersistenceDetailRequestBuilder.cs @@ -1,8 +1,11 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BatchCleanupUserSettingsPersistenceProfile; +using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot; +using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot; using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.RetrieveUserSettingsPersistenceProfileUsageWithConfigurationId; using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.RetrieveUserSettingsPersistenceProfilesWithConfigurationId; +using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -26,6 +29,21 @@ public partial class UserSettingsPersistenceDetailRequestBuilder : BaseRequestBu { get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BatchCleanupUserSettingsPersistenceProfile.BatchCleanupUserSettingsPersistenceProfileRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the bulkCreateUserProfileSnapshot method. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotRequestBuilder BulkCreateUserProfileSnapshot + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the bulkExportUserProfileSnapshot method. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotRequestBuilder BulkExportUserProfileSnapshot + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the userProfileSnapshots property of the microsoft.graph.cloudPCUserSettingsPersistenceDetail entity. + public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.UserProfileSnapshotsRequestBuilder UserProfileSnapshots + { + get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.UserProfileSnapshotsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs index 401b34b91836..8d1215ae96c3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs @@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs index 9156a85b0fa9..42fbac1007cd 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs @@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs index 209541f5bc9b..959cfb840ea9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs @@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/PlannerRequestBuilder.cs index 4c72633713df..1d7f66972b84 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/PlannerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/PlannerRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.Groups.Item.Planner.Plans; +using Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -24,6 +25,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.PlansRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.plannerGroup entity. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Plans_v2RequestBuilder Plans_v2 + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Plans_v2RequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// @@ -41,7 +47,8 @@ public PlannerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Delete navigation property planner for groups + /// Delete a plannerGroup object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -63,7 +70,8 @@ public async Task DeleteAsync(Action - /// Selective Planner services available to the group. Read-only. Nullable. + /// Read the properties and relationships of plannerGroup object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -86,7 +94,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the navigation property planner in groups + /// Update the properties of a plannerGroup object. + /// Find more info here /// /// A /// The request body @@ -111,7 +120,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete navigation property planner for groups + /// Delete a plannerGroup object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -130,7 +139,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Selective Planner services available to the group. Read-only. Nullable. + /// Read the properties and relationships of plannerGroup object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -149,7 +158,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property planner in groups + /// Update the properties of a plannerGroup object. /// /// A /// The request body @@ -188,7 +197,7 @@ public partial class PlannerRequestBuilderDeleteRequestConfiguration : RequestCo { } /// - /// Selective Planner services available to the group. Read-only. Nullable. + /// Read the properties and relationships of plannerGroup object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PlannerRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs new file mode 100644 index 000000000000..8ef5ea02def6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry +{ + /// + /// Provides operations to call the extendExpiry method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl) + { + } + /// + /// Invoke action extendExpiry + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action extendExpiry + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index cee299b3c568..8b0f173084a4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Archive; using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets; using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Details; +using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry; using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.GetUsageRights; using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals; using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems; @@ -42,6 +43,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the extendExpiry method. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder ExtendExpiry + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the getUsageRights method. public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder GetUsageRights { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..82d612105a87 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans_v2/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans_v2/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs new file mode 100644 index 000000000000..94ea7cf58a3e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.plannerGroup entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the group. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the group. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the group. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs new file mode 100644 index 000000000000..901244c98a19 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count; +using Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2 +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.plannerGroup entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.plannerGroup entity. + /// The unique identifier of plan + /// A + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plan%2Did", position); + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the plan objects owned by the group. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the plan objects owned by the group. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Plans_v2RequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Plans_v2RequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the plan objects owned by the group. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs index 253582ea81ca..031a5ce660c3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs @@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs index b600c7752277..233cc0eb60b2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs @@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs index 2876fced5263..a12943e248aa 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs @@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs index 283784b30d55..5ce197964ef7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index e0baa5d1d13d..e687792dea88 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs index 368dca214754..875ff279b814 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 9058e7d389d4..4f277aae79e9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/PlannerRequestBuilder.cs index 83a77a178d41..ef3b09d9bcf0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/PlannerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/PlannerRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans; +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -24,6 +25,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.PlansRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder Plans_v2 + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs new file mode 100644 index 000000000000..99b1e083c4fd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry +{ + /// + /// Provides operations to call the extendExpiry method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl) + { + } + /// + /// Invoke action extendExpiry + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action extendExpiry + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 6bd74f745ac2..29810771f1f8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Archive; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Details; +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.GetUsageRights; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems; @@ -42,6 +43,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the extendExpiry method. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder ExtendExpiry + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the getUsageRights method. public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder GetUsageRights { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..7962cfbb66eb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans_v2/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans_v2/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs new file mode 100644 index 000000000000..234c5378d7f8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs new file mode 100644 index 000000000000..5dbb8f903a08 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count; +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2 +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// The unique identifier of plan + /// A + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plan%2Did", position); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs index 1a3f865e584c..a8c8904c0d74 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index f10580c4c51e..66277e490342 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs index 2e88f246dee9..b7ad924e323f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 53886f7f1616..088bbf108258 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/PlannerRequestBuilder.cs index 65cf8453a88d..eb50d2791fc7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/PlannerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/PlannerRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans; +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -24,6 +25,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.PlansRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder Plans_v2 + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs new file mode 100644 index 000000000000..090a3a82e127 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry +{ + /// + /// Provides operations to call the extendExpiry method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl) + { + } + /// + /// Invoke action extendExpiry + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action extendExpiry + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 760d49016189..cbb685356edd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Archive; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Details; +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.GetUsageRights; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.HistoryItems; @@ -42,6 +43,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the extendExpiry method. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder ExtendExpiry + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the getUsageRights method. public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder GetUsageRights { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..bfd1777cc0b8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans_v2/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans_v2/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs new file mode 100644 index 000000000000..07cfa00a3cba --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs new file mode 100644 index 000000000000..f7a79c92ebcc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count; +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2 +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// The unique identifier of plan + /// A + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plan%2Did", position); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs index b7ce2f370850..f00e94d25db3 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies; using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; @@ -19,6 +20,11 @@ namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItem [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeletedItemsRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the lifecyclePolicies property of the microsoft.graph.deletedItemContainer entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.LifecyclePoliciesRequestBuilder LifecyclePolicies + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.LifecyclePoliciesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the workflows property of the microsoft.graph.deletedItemContainer entity. public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.WorkflowsRequestBuilder Workflows { diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..6979db278732 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/CreatedBy/CreatedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/CreatedBy/CreatedByRequestBuilder.cs new file mode 100644 index 000000000000..41fa3a5ccce2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/CreatedBy/CreatedByRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy +{ + /// + /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreatedByRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/createdBy{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CreatedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/createdBy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The user or service principal that created the policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user or service principal that created the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The user or service principal that created the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs new file mode 100644 index 000000000000..ed8d2b13851b --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy +{ + /// + /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LastModifiedByRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/lastModifiedBy{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LastModifiedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/lastModifiedBy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The user or service principal that last modified the policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user or service principal that last modified the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The user or service principal that last modified the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/LifecyclePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/LifecyclePolicyItemRequestBuilder.cs new file mode 100644 index 000000000000..32e9fe4ec197 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/LifecyclePolicyItemRequestBuilder.cs @@ -0,0 +1,216 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item +{ + /// + /// Provides operations to manage the lifecyclePolicies property of the microsoft.graph.deletedItemContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder CreatedBy + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder LastModifiedBy + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the impact method. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder MicrosoftGraphIdentityGovernanceRestore + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the report property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.ReportRequestBuilder Report + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.ReportRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.RulesRequestBuilder Rules + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.RulesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.VersionsRequestBuilder Versions + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.VersionsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecyclePolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property lifecyclePolicies for identityGovernance + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Deleted lifecycle policies that can be restored. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property lifecyclePolicies for identityGovernance + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Deleted lifecycle policies that can be restored. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Deleted lifecycle policies that can be restored. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 000000000000..6228c843fb5c --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,66 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ImpactWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyImpactSummary.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 000000000000..8719d7185047 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime +{ + [Obsolete("This class is obsolete. Use ImpactWithStartDateTimeWithEndDateTimeGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ImpactWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 000000000000..52c1ce72806e --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,193 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime +{ + /// + /// Provides operations to call the impact method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/microsoft.graph.identityGovernance.impact(startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/microsoft.graph.identityGovernance.impact(startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*}", rawUrl) + { + } + /// + /// Invoke function impact + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsImpactWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsImpactWithStartDateTimeWithEndDateTimeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function impact + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsImpactWithStartDateTimeWithEndDateTimeGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function impact + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function impact + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Usage: endDateTime=@endDateTime + [QueryParameter("endDateTime")] + public DateTimeOffset? EndDateTime { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Usage: startDateTime=@startDateTime + [QueryParameter("startDateTime")] + public DateTimeOffset? StartDateTime { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs new file mode 100644 index 000000000000..1af50b30d7b2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/microsoft.graph.identityGovernance.restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/microsoft.graph.identityGovernance.restore", rawUrl) + { + } + /// + /// Restore a soft-deleted lifecyclePolicy object. Use this action to recover a policy that was removed with the delete operation and still appears in the deleted items container. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted lifecyclePolicy object. Use this action to recover a policy that was removed with the delete operation and still appears in the deleted items container. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/ReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/ReportRequestBuilder.cs new file mode 100644 index 000000000000..204b04058eef --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/ReportRequestBuilder.cs @@ -0,0 +1,131 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report +{ + /// + /// Provides operations to manage the report property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder Subjects + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReportRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/report{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReportRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/report{?%24expand,%24select}", rawUrl) + { + } + /// + /// The latest processing report for the policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The latest processing report for the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.ReportRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.ReportRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The latest processing report for the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..fb5df608e8c3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs new file mode 100644 index 000000000000..26b90c6d8a8b --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicySubjectReportItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects/{lifecyclePolicySubjectReport%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecyclePolicySubjectReportItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects/{lifecyclePolicySubjectReport%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The processing results for subjects included in the report. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/SubjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/SubjectsRequestBuilder.cs new file mode 100644 index 000000000000..db8347e87427 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Report/Subjects/SubjectsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// The unique identifier of lifecyclePolicySubjectReport + /// A + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicySubjectReport%2Did", position); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SubjectsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SubjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The processing results for subjects included in the report. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs new file mode 100644 index 000000000000..84e987fcdf72 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item +{ + /// + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicyRuleItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecyclePolicyRuleItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Rules/RulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Rules/RulesRequestBuilder.cs new file mode 100644 index 000000000000..bc95dabace5a --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Rules/RulesRequestBuilder.cs @@ -0,0 +1,177 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules +{ + /// + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// The unique identifier of lifecyclePolicyRule + /// A + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicyRule%2Did", position); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RulesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RulesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.RulesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.RulesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs new file mode 100644 index 000000000000..1f61e730dbd7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy +{ + /// + /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreatedByRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/createdBy{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CreatedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/createdBy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The user or service principal that created the policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user or service principal that created the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The user or service principal that created the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs new file mode 100644 index 000000000000..904006e9a0ad --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy +{ + /// + /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LastModifiedByRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/lastModifiedBy{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LastModifiedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/lastModifiedBy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The user or service principal that last modified the policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user or service principal that last modified the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The user or service principal that last modified the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/LifecyclePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/LifecyclePolicyItemRequestBuilder.cs new file mode 100644 index 000000000000..37e594c3b79b --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/LifecyclePolicyItemRequestBuilder.cs @@ -0,0 +1,161 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item +{ + /// + /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder CreatedBy + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder LastModifiedBy + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the impact method. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder MicrosoftGraphIdentityGovernanceRestore + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the report property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder Report + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder Rules + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecyclePolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of previous versions of the policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of previous versions of the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of previous versions of the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 000000000000..d3681e93da2e --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,66 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ImpactWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyImpactSummary.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 000000000000..ae6fd8ee5a97 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime +{ + [Obsolete("This class is obsolete. Use ImpactWithStartDateTimeWithEndDateTimeGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ImpactWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 000000000000..439c038e9490 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,193 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime +{ + /// + /// Provides operations to call the impact method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/microsoft.graph.identityGovernance.impact(startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/microsoft.graph.identityGovernance.impact(startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*}", rawUrl) + { + } + /// + /// Invoke function impact + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsImpactWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsImpactWithStartDateTimeWithEndDateTimeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function impact + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsImpactWithStartDateTimeWithEndDateTimeGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function impact + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function impact + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Usage: endDateTime=@endDateTime + [QueryParameter("endDateTime")] + public DateTimeOffset? EndDateTime { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Usage: startDateTime=@startDateTime + [QueryParameter("startDateTime")] + public DateTimeOffset? StartDateTime { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs new file mode 100644 index 000000000000..9a9188927f66 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/microsoft.graph.identityGovernance.restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/microsoft.graph.identityGovernance.restore", rawUrl) + { + } + /// + /// Restore a soft-deleted lifecyclePolicy object. Use this action to recover a policy that was removed with the delete operation and still appears in the deleted items container. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted lifecyclePolicy object. Use this action to recover a policy that was removed with the delete operation and still appears in the deleted items container. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/ReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/ReportRequestBuilder.cs new file mode 100644 index 000000000000..aa5da07a7a60 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/ReportRequestBuilder.cs @@ -0,0 +1,131 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report +{ + /// + /// Provides operations to manage the report property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder Subjects + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReportRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReportRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report{?%24expand,%24select}", rawUrl) + { + } + /// + /// The latest processing report for the policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The latest processing report for the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The latest processing report for the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..dbb858b18aaf --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs new file mode 100644 index 000000000000..7c7de29dfbdb --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicySubjectReportItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects/{lifecyclePolicySubjectReport%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecyclePolicySubjectReportItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects/{lifecyclePolicySubjectReport%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The processing results for subjects included in the report. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/SubjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/SubjectsRequestBuilder.cs new file mode 100644 index 000000000000..7d1edffe111a --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Report/Subjects/SubjectsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// The unique identifier of lifecyclePolicySubjectReport + /// A + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicySubjectReport%2Did", position); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SubjectsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SubjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The processing results for subjects included in the report. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..9586a974d245 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs new file mode 100644 index 000000000000..eef6cbe1a4a1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item +{ + /// + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicyRuleItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecyclePolicyRuleItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/RulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/RulesRequestBuilder.cs new file mode 100644 index 000000000000..d14657631e47 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/Item/Rules/RulesRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules +{ + /// + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// The unique identifier of lifecyclePolicyRule + /// A + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicyRule%2Did", position); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RulesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RulesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/VersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/VersionsRequestBuilder.cs new file mode 100644 index 000000000000..8540b4e33248 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/Item/Versions/VersionsRequestBuilder.cs @@ -0,0 +1,177 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions +{ + /// + /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VersionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// The unique identifier of lifecyclePolicy + /// A + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicy%2Did1", position); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public VersionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public VersionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies/{lifecyclePolicy%2Did}/versions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of previous versions of the policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of previous versions of the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.VersionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.VersionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of previous versions of the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VersionsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VersionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/LifecyclePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/LifecyclePoliciesRequestBuilder.cs new file mode 100644 index 000000000000..2625316c45b0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/LifecyclePolicies/LifecyclePoliciesRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies +{ + /// + /// Provides operations to manage the lifecyclePolicies property of the microsoft.graph.deletedItemContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePoliciesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lifecyclePolicies property of the microsoft.graph.deletedItemContainer entity. + /// The unique identifier of lifecyclePolicy + /// A + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicy%2Did", position); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePoliciesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecyclePoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/lifecyclePolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Deleted lifecycle policies that can be restored. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Deleted lifecycle policies that can be restored. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.LifecyclePoliciesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.LifecyclePoliciesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Deleted lifecycle policies that can be restored. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePoliciesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePoliciesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..b66d8154c3bd --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/CreatedBy/CreatedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/CreatedBy/CreatedByRequestBuilder.cs new file mode 100644 index 000000000000..4c88f377ece0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/CreatedBy/CreatedByRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy +{ + /// + /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreatedByRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/createdBy{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CreatedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/createdBy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The user or service principal that created the policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user or service principal that created the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The user or service principal that created the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs new file mode 100644 index 000000000000..b02097edefd5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy +{ + /// + /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LastModifiedByRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/lastModifiedBy{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LastModifiedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/lastModifiedBy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The user or service principal that last modified the policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user or service principal that last modified the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The user or service principal that last modified the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/LifecyclePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/LifecyclePolicyItemRequestBuilder.cs new file mode 100644 index 000000000000..15f5a9731863 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/LifecyclePolicyItemRequestBuilder.cs @@ -0,0 +1,218 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item +{ + /// + /// Provides operations to manage the lifecyclePolicies property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder CreatedBy + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder LastModifiedBy + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the impact method. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder MicrosoftGraphIdentityGovernanceRestore + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the report property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.ReportRequestBuilder Report + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.ReportRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.RulesRequestBuilder Rules + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.RulesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.VersionsRequestBuilder Versions + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.VersionsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecyclePolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a lifecyclePolicy object. This is a soft-delete operation: the policy can be restored with the restore action and appears under the deleted items container until it's permanently removed. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of microsoft.graph.identityGovernance.lifecyclePolicy object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a lifecyclePolicy object. This is a soft-delete operation: the policy can be restored with the restore action and appears under the deleted items container until it's permanently removed. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of microsoft.graph.identityGovernance.lifecyclePolicy object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of microsoft.graph.identityGovernance.lifecyclePolicy object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 000000000000..e95855388bf1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,66 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ImpactWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyImpactSummary.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 000000000000..217868f60050 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime +{ + [Obsolete("This class is obsolete. Use ImpactWithStartDateTimeWithEndDateTimeGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ImpactWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 000000000000..ffcece3e3255 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,193 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime +{ + /// + /// Provides operations to call the impact method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/microsoft.graph.identityGovernance.impact(startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/microsoft.graph.identityGovernance.impact(startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*}", rawUrl) + { + } + /// + /// Invoke function impact + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsImpactWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsImpactWithStartDateTimeWithEndDateTimeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function impact + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsImpactWithStartDateTimeWithEndDateTimeGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function impact + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function impact + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Usage: endDateTime=@endDateTime + [QueryParameter("endDateTime")] + public DateTimeOffset? EndDateTime { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Usage: startDateTime=@startDateTime + [QueryParameter("startDateTime")] + public DateTimeOffset? StartDateTime { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs new file mode 100644 index 000000000000..99b480e8c783 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/microsoft.graph.identityGovernance.restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/microsoft.graph.identityGovernance.restore", rawUrl) + { + } + /// + /// Restore a soft-deleted lifecyclePolicy object. Use this action to recover a policy that was removed with the delete operation and still appears in the deleted items container. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted lifecyclePolicy object. Use this action to recover a policy that was removed with the delete operation and still appears in the deleted items container. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/ReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/ReportRequestBuilder.cs new file mode 100644 index 000000000000..e3ab4e1f35d0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/ReportRequestBuilder.cs @@ -0,0 +1,131 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report +{ + /// + /// Provides operations to manage the report property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder Subjects + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReportRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/report{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReportRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/report{?%24expand,%24select}", rawUrl) + { + } + /// + /// The latest processing report for the policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The latest processing report for the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.ReportRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.ReportRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The latest processing report for the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..b54841e6e088 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs new file mode 100644 index 000000000000..fb30153cdd99 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicySubjectReportItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects/{lifecyclePolicySubjectReport%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecyclePolicySubjectReportItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects/{lifecyclePolicySubjectReport%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The processing results for subjects included in the report. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/SubjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/SubjectsRequestBuilder.cs new file mode 100644 index 000000000000..b8856dd3be92 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Report/Subjects/SubjectsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// The unique identifier of lifecyclePolicySubjectReport + /// A + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicySubjectReport%2Did", position); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SubjectsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SubjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/report/subjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The processing results for subjects included in the report. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs new file mode 100644 index 000000000000..b9e8590a852d --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs @@ -0,0 +1,126 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item +{ + /// + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicyRuleItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecyclePolicyRuleItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Read the properties and relationships of microsoft.graph.identityGovernance.lifecyclePolicyRule object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of microsoft.graph.identityGovernance.lifecyclePolicyRule object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read the properties and relationships of microsoft.graph.identityGovernance.lifecyclePolicyRule object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Rules/RulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Rules/RulesRequestBuilder.cs new file mode 100644 index 000000000000..0e89cdb1d92e --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Rules/RulesRequestBuilder.cs @@ -0,0 +1,178 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules +{ + /// + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// The unique identifier of lifecyclePolicyRule + /// A + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicyRule%2Did", position); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RulesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RulesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the lifecyclePolicyRule objects and their properties for a lifecyclePolicy. Rules are evaluated together with AND logic. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the lifecyclePolicyRule objects and their properties for a lifecyclePolicy. Rules are evaluated together with AND logic. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.RulesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.RulesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the lifecyclePolicyRule objects and their properties for a lifecyclePolicy. Rules are evaluated together with AND logic. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs new file mode 100644 index 000000000000..8a2803641603 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy +{ + /// + /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreatedByRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/createdBy{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CreatedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/createdBy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The user or service principal that created the policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user or service principal that created the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The user or service principal that created the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreatedByRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs new file mode 100644 index 000000000000..bac4b4ddccaa --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy +{ + /// + /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LastModifiedByRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/lastModifiedBy{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LastModifiedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/lastModifiedBy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The user or service principal that last modified the policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The user or service principal that last modified the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The user or service principal that last modified the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LastModifiedByRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/LifecyclePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/LifecyclePolicyItemRequestBuilder.cs new file mode 100644 index 000000000000..3332b20a07f0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/LifecyclePolicyItemRequestBuilder.cs @@ -0,0 +1,161 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item +{ + /// + /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the createdBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder CreatedBy + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lastModifiedBy property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder LastModifiedBy + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the impact method. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder MicrosoftGraphIdentityGovernanceRestore + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the report property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder Report + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder Rules + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecyclePolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of previous versions of the policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of previous versions of the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of previous versions of the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 000000000000..5d688193f048 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,66 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ImpactWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyImpactSummary.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 000000000000..71dc0ed30af0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/ImpactWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime +{ + [Obsolete("This class is obsolete. Use ImpactWithStartDateTimeWithEndDateTimeGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ImpactWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 000000000000..9289b927e3cd --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,193 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime +{ + /// + /// Provides operations to call the impact method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/microsoft.graph.identityGovernance.impact(startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/microsoft.graph.identityGovernance.impact(startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*}", rawUrl) + { + } + /// + /// Invoke function impact + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsImpactWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsImpactWithStartDateTimeWithEndDateTimeGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function impact + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsImpactWithStartDateTimeWithEndDateTimeGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function impact + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function impact + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Usage: endDateTime=@endDateTime + [QueryParameter("endDateTime")] + public DateTimeOffset? EndDateTime { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Usage: startDateTime=@startDateTime + [QueryParameter("startDateTime")] + public DateTimeOffset? StartDateTime { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs new file mode 100644 index 000000000000..9a5ba1334375 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceRestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/microsoft.graph.identityGovernance.restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/microsoft.graph.identityGovernance.restore", rawUrl) + { + } + /// + /// Restore a soft-deleted lifecyclePolicy object. Use this action to recover a policy that was removed with the delete operation and still appears in the deleted items container. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted lifecyclePolicy object. Use this action to recover a policy that was removed with the delete operation and still appears in the deleted items container. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/ReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/ReportRequestBuilder.cs new file mode 100644 index 000000000000..8ecf6c19628c --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/ReportRequestBuilder.cs @@ -0,0 +1,131 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report +{ + /// + /// Provides operations to manage the report property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder Subjects + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ReportRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ReportRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report{?%24expand,%24select}", rawUrl) + { + } + /// + /// The latest processing report for the policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The latest processing report for the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The latest processing report for the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ReportRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..34ae19f06a7a --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs new file mode 100644 index 000000000000..3df8f85bcce0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/Item/LifecyclePolicySubjectReportItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicySubjectReportItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects/{lifecyclePolicySubjectReport%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecyclePolicySubjectReportItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects/{lifecyclePolicySubjectReport%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The processing results for subjects included in the report. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicySubjectReportItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/SubjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/SubjectsRequestBuilder.cs new file mode 100644 index 000000000000..b6568e384c3f --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Report/Subjects/SubjectsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects +{ + /// + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the subjects property of the microsoft.graph.identityGovernance.lifecyclePolicyReport entity. + /// The unique identifier of lifecyclePolicySubjectReport + /// A + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicySubjectReport%2Did", position); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SubjectsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public SubjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/report/subjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The processing results for subjects included in the report. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The processing results for subjects included in the report. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SubjectsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..8123cb6e9400 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs new file mode 100644 index 000000000000..b171dbc61e68 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/Item/LifecyclePolicyRuleItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item +{ + /// + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicyRuleItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecyclePolicyRuleItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules/{lifecyclePolicyRule%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/RulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/RulesRequestBuilder.cs new file mode 100644 index 000000000000..0249c943cc23 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/Item/Rules/RulesRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules +{ + /// + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the rules property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// The unique identifier of lifecyclePolicyRule + /// A + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicyRule%2Did", position); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RulesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RulesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions/{lifecyclePolicy%2Did1}/rules{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RulesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/VersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/VersionsRequestBuilder.cs new file mode 100644 index 000000000000..b65e0a2a4626 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/Item/Versions/VersionsRequestBuilder.cs @@ -0,0 +1,177 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions +{ + /// + /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VersionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the versions property of the microsoft.graph.identityGovernance.lifecyclePolicy entity. + /// The unique identifier of lifecyclePolicy + /// A + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicy%2Did1", position); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public VersionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public VersionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies/{lifecyclePolicy%2Did}/versions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of previous versions of the policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of previous versions of the policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.VersionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.VersionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of previous versions of the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VersionsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VersionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/LifecyclePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/LifecyclePoliciesRequestBuilder.cs new file mode 100644 index 000000000000..e728015456f0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicies/LifecyclePoliciesRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies +{ + /// + /// Provides operations to manage the lifecyclePolicies property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePoliciesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lifecyclePolicies property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + /// The unique identifier of lifecyclePolicy + /// A + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicy%2Did", position); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePoliciesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecyclePoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the lifecyclePolicy objects and their properties in the lifecycle workflows container. Use $filter on the policySource property to distinguish system-managed default policies from user-created policies. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new lifecyclePolicy object in the lifecycle workflows container. A policy is created for a specific subject type and takes effect according to its priority order. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the lifecyclePolicy objects and their properties in the lifecycle workflows container. Use $filter on the policySource property to distinguish system-managed default policies from user-created policies. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new lifecyclePolicy object in the lifecycle workflows container. A policy is created for a specific subject type and takes effect according to its priority order. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.LifecyclePoliciesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.LifecyclePoliciesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the lifecyclePolicy objects and their properties in the lifecycle workflows container. Use $filter on the policySource property to distinguish system-managed default policies from user-created policies. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePoliciesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePoliciesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePoliciesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..30fb0a736aff --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/Item/LifecyclePolicyPriorityConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/Item/LifecyclePolicyPriorityConfigurationItemRequestBuilder.cs new file mode 100644 index 000000000000..62bb55646919 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/Item/LifecyclePolicyPriorityConfigurationItemRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item +{ + /// + /// Provides operations to manage the lifecyclePolicyPriorityConfigurations property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyPriorityConfigurationItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicyPriorityConfigurationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations/{lifecyclePolicyPriorityConfiguration%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecyclePolicyPriorityConfigurationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations/{lifecyclePolicyPriorityConfiguration%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The priority ordering of lifecycle policies per subject type. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property lifecyclePolicyPriorityConfigurations in identityGovernance + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The priority ordering of lifecycle policies per subject type. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property lifecyclePolicyPriorityConfigurations in identityGovernance + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The priority ordering of lifecycle policies per subject type. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyPriorityConfigurationItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyPriorityConfigurationItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyPriorityConfigurationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/LifecyclePolicyPriorityConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/LifecyclePolicyPriorityConfigurationsRequestBuilder.cs new file mode 100644 index 000000000000..fa5be4d9252f --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecyclePolicyPriorityConfigurations/LifecyclePolicyPriorityConfigurationsRequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations +{ + /// + /// Provides operations to manage the lifecyclePolicyPriorityConfigurations property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyPriorityConfigurationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lifecyclePolicyPriorityConfigurations property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + /// The unique identifier of lifecyclePolicyPriorityConfiguration + /// A + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("lifecyclePolicyPriorityConfiguration%2Did", position); + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecyclePolicyPriorityConfigurationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecyclePolicyPriorityConfigurationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/lifecyclePolicyPriorityConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the lifecyclePolicyPriorityConfiguration objects and their properties in the lifecycle workflows container. Each configuration defines the policy evaluation order for one subject type. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the lifecyclePolicyPriorityConfiguration objects and their properties in the lifecycle workflows container. Each configuration defines the policy evaluation order for one subject type. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the lifecyclePolicyPriorityConfiguration objects and their properties in the lifecycle workflows container. Each configuration defines the policy evaluation order for one subject type. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecyclePolicyPriorityConfigurationsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.cs index 0b6822862805..d44d0e2bd39c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.cs @@ -3,6 +3,8 @@ using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.CustomTaskExtensions; using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems; using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Insights; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies; +using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations; using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Settings; using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.TaskDefinitions; using Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.WorkflowTemplates; @@ -40,6 +42,16 @@ public partial class LifecycleWorkflowsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Insights.InsightsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the lifecyclePolicies property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.LifecyclePoliciesRequestBuilder LifecyclePolicies + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.LifecyclePoliciesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the lifecyclePolicyPriorityConfigurations property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. + public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder LifecyclePolicyPriorityConfigurations + { + get => new global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the settings property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity. public global::Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Settings.SettingsRequestBuilder Settings { diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs index 7bdd4c4419be..b01391a5725c 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs @@ -34,7 +34,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.CalendarGroups.Item.Calendars.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaRequestBuilder.cs index 214505c96ce2..9a7766d07e71 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Delta/DeltaRequestBuilder.cs @@ -34,7 +34,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Me.Calendars.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs index 5eff8d0dceeb..3a9863698577 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 8da10aa87191..9e3b15b747fa 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs index 256bc1c4124e..a49a4ab9c801 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 1152e7fe43b1..bdaa98635d2f 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs index a8b72752bfe0..d1f4080a5aec 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 54494ac73a92..2b0f89a20026 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs new file mode 100644 index 000000000000..f0011f648da9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Count; +using Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Item; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues +{ + /// + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssuesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// The unique identifier of complianceIssue + /// A + public global::Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("complianceIssue%2Did", position); + return new global::Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComplianceIssuesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/lifecycle/complianceIssues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComplianceIssuesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/lifecycle/complianceIssues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssueCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssuesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssuesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..26aa03d433af --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/lifecycle/complianceIssues/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/lifecycle/complianceIssues/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs new file mode 100644 index 000000000000..8dffd58806ee --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Item +{ + /// + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssueItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComplianceIssueItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/lifecycle/complianceIssues/{complianceIssue%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComplianceIssueItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/lifecycle/complianceIssues/{complianceIssue%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssueItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssueItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs new file mode 100644 index 000000000000..e2aec031e569 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Lifecycle.EffectiveGoverningPolicy +{ + /// + /// Provides operations to manage the effectiveGoverningPolicy property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EffectiveGoverningPolicyRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EffectiveGoverningPolicyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/lifecycle/effectiveGoverningPolicy{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EffectiveGoverningPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/lifecycle/effectiveGoverningPolicy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EffectiveGoverningPolicyRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EffectiveGoverningPolicyRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Lifecycle/LifecycleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Lifecycle/LifecycleRequestBuilder.cs new file mode 100644 index 000000000000..20f83f3cf493 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Lifecycle/LifecycleRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues; +using Microsoft.Graph.Beta.Me.Lifecycle.EffectiveGoverningPolicy; +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Lifecycle +{ + /// + /// Provides operations to manage the lifecycle property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + public global::Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder ComplianceIssues + { + get => new global::Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the effectiveGoverningPolicy property of the microsoft.graph.identityGovernance.identityLifecycle entity. + public global::Microsoft.Graph.Beta.Me.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder EffectiveGoverningPolicy + { + get => new global::Microsoft.Graph.Beta.Me.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecycleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/lifecycle{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecycleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/lifecycle{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property lifecycle for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Lifecycle information for the user. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property lifecycle in me + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property lifecycle for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Lifecycle information for the user. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property lifecycle in me + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Lifecycle.LifecycleRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Lifecycle.LifecycleRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Lifecycle information for the user. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/ImportMime/ImportMimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/ImportMime/ImportMimeRequestBuilder.cs new file mode 100644 index 000000000000..8b708234c059 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/ImportMime/ImportMimeRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.ImportMime +{ + /// + /// Provides operations to call the importMime method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ImportMimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ImportMimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/importMime", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ImportMimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/importMime", rawUrl) + { + } + /// + /// Invoke action importMime + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action importMime + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ImportMimeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs index 5e6fb13fb7df..fba887e97a67 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Copy; +using Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.ImportMime; using Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MessageRules; using Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Messages; using Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Move; @@ -31,6 +32,11 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the importMime method. + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder ImportMime + { + get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MessageRules.MessageRulesRequestBuilder MessageRules { diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ImportMime/ImportMimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ImportMime/ImportMimeRequestBuilder.cs new file mode 100644 index 000000000000..ac81d3e40a0e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ImportMime/ImportMimeRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.MailFolders.Item.ImportMime +{ + /// + /// Provides operations to call the importMime method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ImportMimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ImportMimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/importMime", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ImportMimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/importMime", rawUrl) + { + } + /// + /// Invoke action importMime + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action importMime + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ImportMime.ImportMimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ImportMime.ImportMimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ImportMimeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs index 90c47de54096..f1e20a984e2d 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders; using Microsoft.Graph.Beta.Me.MailFolders.Item.Copy; +using Microsoft.Graph.Beta.Me.MailFolders.Item.ImportMime; using Microsoft.Graph.Beta.Me.MailFolders.Item.MessageRules; using Microsoft.Graph.Beta.Me.MailFolders.Item.Messages; using Microsoft.Graph.Beta.Me.MailFolders.Item.Move; @@ -37,6 +38,11 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.Copy.CopyRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the importMime method. + public global::Microsoft.Graph.Beta.Me.MailFolders.Item.ImportMime.ImportMimeRequestBuilder ImportMime + { + get => new global::Microsoft.Graph.Beta.Me.MailFolders.Item.ImportMime.ImportMimeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. public global::Microsoft.Graph.Beta.Me.MailFolders.Item.MessageRules.MessageRulesRequestBuilder MessageRules { diff --git a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs index df0a775f930a..3dd57a9c2e84 100644 --- a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs @@ -68,6 +68,7 @@ using Microsoft.Graph.Beta.Me.JoinedGroups; using Microsoft.Graph.Beta.Me.JoinedTeams; using Microsoft.Graph.Beta.Me.LicenseDetails; +using Microsoft.Graph.Beta.Me.Lifecycle; using Microsoft.Graph.Beta.Me.MailFolders; using Microsoft.Graph.Beta.Me.MailboxSettings; using Microsoft.Graph.Beta.Me.ManagedAppLogCollectionRequests; @@ -76,6 +77,9 @@ using Microsoft.Graph.Beta.Me.Manager; using Microsoft.Graph.Beta.Me.MemberOf; using Microsoft.Graph.Beta.Me.Messages; +using Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor; +using Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAttest; +using Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor; using Microsoft.Graph.Beta.Me.MobileAppIntentAndStates; using Microsoft.Graph.Beta.Me.MobileAppTroubleshootingEvents; using Microsoft.Graph.Beta.Me.Notifications; @@ -462,6 +466,11 @@ public partial class MeRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.LicenseDetails.LicenseDetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the lifecycle property of the microsoft.graph.user entity. + public global::Microsoft.Graph.Beta.Me.Lifecycle.LifecycleRequestBuilder Lifecycle + { + get => new global::Microsoft.Graph.Beta.Me.Lifecycle.LifecycleRequestBuilder(PathParameters, RequestAdapter); + } /// The mailboxSettings property public global::Microsoft.Graph.Beta.Me.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings { @@ -502,6 +511,21 @@ public partial class MeRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the addSelfAsSponsor method. + public global::Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder MicrosoftGraphIdentityGovernanceAddSelfAsSponsor + { + get => new global::Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the attest method. + public global::Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder MicrosoftGraphIdentityGovernanceAttest + { + get => new global::Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the removeSelfAsSponsor method. + public global::Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor + { + get => new global::Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the mobileAppIntentAndStates property of the microsoft.graph.user entity. public global::Microsoft.Graph.Beta.Me.MobileAppIntentAndStates.MobileAppIntentAndStatesRequestBuilder MobileAppIntentAndStates { diff --git a/src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceAddSelfAsSponsor/MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceAddSelfAsSponsor/MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder.cs new file mode 100644 index 000000000000..97f5c6b563e0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceAddSelfAsSponsor/MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor +{ + /// + /// Provides operations to call the addSelfAsSponsor method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/microsoft.graph.identityGovernance.addSelfAsSponsor", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/microsoft.graph.identityGovernance.addSelfAsSponsor", rawUrl) + { + } + /// + /// Invoke action addSelfAsSponsor + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action addSelfAsSponsor + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs new file mode 100644 index 000000000000..28ec3c04d593 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAttest +{ + /// + /// Provides operations to call the attest method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceAttestRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceAttestRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/microsoft.graph.identityGovernance.attest", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceAttestRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/microsoft.graph.identityGovernance.attest", rawUrl) + { + } + /// + /// Invoke action attest + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action attest + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceAttestRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder.cs new file mode 100644 index 000000000000..6b58fbc9087b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor +{ + /// + /// Provides operations to call the removeSelfAsSponsor method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/microsoft.graph.identityGovernance.removeSelfAsSponsor", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/microsoft.graph.identityGovernance.removeSelfAsSponsor", rawUrl) + { + } + /// + /// Invoke action removeSelfAsSponsor + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action removeSelfAsSponsor + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/PlannerRequestBuilder.cs index 411bddc68e32..adf8dcedc8d5 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/PlannerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/PlannerRequestBuilder.cs @@ -4,9 +4,11 @@ using Microsoft.Graph.Beta.Me.Planner.FavoritePlans; using Microsoft.Graph.Beta.Me.Planner.MyDayTasks; using Microsoft.Graph.Beta.Me.Planner.Plans; +using Microsoft.Graph.Beta.Me.Planner.Plans_v2; using Microsoft.Graph.Beta.Me.Planner.RecentPlans; using Microsoft.Graph.Beta.Me.Planner.RosterPlans; using Microsoft.Graph.Beta.Me.Planner.Tasks; +using Microsoft.Graph.Beta.Me.Planner.Tasks_v2; using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -45,6 +47,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.Planner.Plans.PlansRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.plannerUser entity. + public global::Microsoft.Graph.Beta.Me.Planner.Plans_v2.Plans_v2RequestBuilder Plans_v2 + { + get => new global::Microsoft.Graph.Beta.Me.Planner.Plans_v2.Plans_v2RequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the recentPlans property of the microsoft.graph.plannerUser entity. public global::Microsoft.Graph.Beta.Me.Planner.RecentPlans.RecentPlansRequestBuilder RecentPlans { @@ -60,6 +67,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.Planner.Tasks.TasksRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the tasks_v2 property of the microsoft.graph.plannerUser entity. + public global::Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Tasks_v2RequestBuilder Tasks_v2 + { + get => new global::Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Tasks_v2RequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// @@ -77,7 +89,8 @@ public PlannerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Delete navigation property planner for me + /// Delete a plannerUser object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -99,7 +112,7 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of a plannerUser object. The returned properties include the user's favorite plans and recently viewed plans. + /// Read the properties and relationships of plannerUser object. /// Find more info here /// /// A @@ -149,7 +162,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete navigation property planner for me + /// Delete a plannerUser object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -168,7 +181,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a plannerUser object. The returned properties include the user's favorite plans and recently viewed plans. + /// Read the properties and relationships of plannerUser object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -226,7 +239,7 @@ public partial class PlannerRequestBuilderDeleteRequestConfiguration : RequestCo { } /// - /// Retrieve the properties and relationships of a plannerUser object. The returned properties include the user's favorite plans and recently viewed plans. + /// Read the properties and relationships of plannerUser object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PlannerRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs new file mode 100644 index 000000000000..8d50cea732da --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Plans.Item.ExtendExpiry +{ + /// + /// Provides operations to call the extendExpiry method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl) + { + } + /// + /// Invoke action extendExpiry + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action extendExpiry + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index caa02a109d2f..13433d752f0f 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Archive; using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets; using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Details; +using Microsoft.Graph.Beta.Me.Planner.Plans.Item.ExtendExpiry; using Microsoft.Graph.Beta.Me.Planner.Plans.Item.GetUsageRights; using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals; using Microsoft.Graph.Beta.Me.Planner.Plans.Item.HistoryItems; @@ -42,6 +43,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the extendExpiry method. + public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder ExtendExpiry + { + get => new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the getUsageRights method. public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder GetUsageRights { diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans_v2/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans_v2/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..2db16e5a5649 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans_v2/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Plans_v2.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans_v2/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans_v2/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Planner.Plans_v2.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Plans_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs new file mode 100644 index 000000000000..7a80c0506f85 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Plans_v2.Item +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.plannerUser entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans associated with the user. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans associated with the user. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Planner.Plans_v2.Item.PlanItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Plans_v2.Item.PlanItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans associated with the user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans_v2/Plans_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans_v2/Plans_v2RequestBuilder.cs new file mode 100644 index 000000000000..150a0c49b36b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans_v2/Plans_v2RequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Planner.Plans_v2.Count; +using Microsoft.Graph.Beta.Me.Planner.Plans_v2.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Plans_v2 +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.plannerUser entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Me.Planner.Plans_v2.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.Planner.Plans_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.plannerUser entity. + /// The unique identifier of plan + /// A + public global::Microsoft.Graph.Beta.Me.Planner.Plans_v2.Item.PlanItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plan%2Did", position); + return new global::Microsoft.Graph.Beta.Me.Planner.Plans_v2.Item.PlanItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans associated with the user. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans associated with the user. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Planner.Plans_v2.Plans_v2RequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Plans_v2.Plans_v2RequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans associated with the user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks_v2/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks_v2/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..b7114589d1ab --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Tasks_v2/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks_v2/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks_v2/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks_v2/Item/TaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks_v2/Item/TaskItemRequestBuilder.cs new file mode 100644 index 000000000000..1bfc886c35ff --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Tasks_v2/Item/TaskItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Item +{ + /// + /// Provides operations to manage the tasks_v2 property of the microsoft.graph.plannerUser entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TaskItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TaskItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks_v2/{task%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TaskItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks_v2/{task%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 tasks assigned to the user. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 tasks assigned to the user. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Item.TaskItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Item.TaskItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 tasks assigned to the user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TaskItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TaskItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks_v2/Tasks_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks_v2/Tasks_v2RequestBuilder.cs new file mode 100644 index 000000000000..7adc315229ab --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Planner/Tasks_v2/Tasks_v2RequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Count; +using Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Planner.Tasks_v2 +{ + /// + /// Provides operations to manage the tasks_v2 property of the microsoft.graph.plannerUser entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Tasks_v2RequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the tasks_v2 property of the microsoft.graph.plannerUser entity. + /// The unique identifier of task + /// A + public global::Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Item.TaskItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("task%2Did", position); + return new global::Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Item.TaskItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public Tasks_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public Tasks_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/tasks_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 tasks assigned to the user. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 tasks assigned to the user. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Tasks_v2RequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Tasks_v2RequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 tasks assigned to the user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Tasks_v2RequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Tasks_v2RequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AbsoluteCostManagementAlertThreshold.cs b/src/Microsoft.Graph/Generated/Models/AbsoluteCostManagementAlertThreshold.cs new file mode 100644 index 000000000000..66c1ff88f370 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AbsoluteCostManagementAlertThreshold.cs @@ -0,0 +1,62 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// A threshold expressed as an absolute quantity. The value is positive and is stated in theaccompanying unit, which matches the policy's limit unit. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AbsoluteCostManagementAlertThreshold : global::Microsoft.Graph.Beta.Models.CostManagementAlertThreshold, IParsable + { + /// Unit in which consumption quantities are expressed. Values are consumption units, not currency. + public global::Microsoft.Graph.Beta.Models.CostManagementUnit? Unit + { + get { return BackingStore?.Get("unit"); } + set { BackingStore?.Set("unit", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public AbsoluteCostManagementAlertThreshold() : base() + { + OdataType = "#microsoft.graph.absoluteCostManagementAlertThreshold"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.AbsoluteCostManagementAlertThreshold CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AbsoluteCostManagementAlertThreshold(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "unit", n => { Unit = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("unit", Unit); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AccessDecisionReason.cs b/src/Microsoft.Graph/Generated/Models/AccessDecisionReason.cs new file mode 100644 index 000000000000..c11f520640be --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AccessDecisionReason.cs @@ -0,0 +1,23 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// The reason for a user's access decision for a service. + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public enum AccessDecisionReason + { + /// The user is allowed to consume. + [EnumMember(Value = "allowed")] + Allowed, + /// The user is not entitled to the service. + [EnumMember(Value = "notEntitled")] + NotEntitled, + /// The applicable limit is exhausted. + [EnumMember(Value = "limitExhausted")] + LimitExhausted, + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/AccessDriftDetail.cs b/src/Microsoft.Graph/Generated/Models/AccessDriftDetail.cs index 927f365efbc1..7b082659cb49 100644 --- a/src/Microsoft.Graph/Generated/Models/AccessDriftDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/AccessDriftDetail.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class AccessDriftDetail : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The createdDateTime property + /// The date and time when the drift record was created. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } @@ -30,7 +30,7 @@ public DateTimeOffset? CreatedDateTime get { return BackingStore?.Get("driftType"); } set { BackingStore?.Set("driftType", value); } } - /// The identities property + /// The identities affected by this drift record. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Identities diff --git a/src/Microsoft.Graph/Generated/Models/AccessDriftReport.cs b/src/Microsoft.Graph/Generated/Models/AccessDriftReport.cs index f4516ddacff8..96dfca56b271 100644 --- a/src/Microsoft.Graph/Generated/Models/AccessDriftReport.cs +++ b/src/Microsoft.Graph/Generated/Models/AccessDriftReport.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class AccessDriftReport : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The downloadUri property + /// The time-limited SAS URI for downloading the report file. This property is populated only in the response of the generateDownloadUri action. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DownloadUri @@ -28,7 +28,7 @@ public string DownloadUri set { BackingStore?.Set("downloadUri", value); } } #endif - /// The expiresAt property + /// The date and time when the download URI expires. This property is populated only in the response of the generateDownloadUri action. public DateTimeOffset? ExpiresAt { get { return BackingStore?.Get("expiresAt"); } diff --git a/src/Microsoft.Graph/Generated/Models/AccessDriftSummary.cs b/src/Microsoft.Graph/Generated/Models/AccessDriftSummary.cs index 9f35f3df2413..2b510bcfa0fb 100644 --- a/src/Microsoft.Graph/Generated/Models/AccessDriftSummary.cs +++ b/src/Microsoft.Graph/Generated/Models/AccessDriftSummary.cs @@ -12,13 +12,13 @@ namespace Microsoft.Graph.Beta.Models public partial class AccessDriftSummary : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The createdDateTime property + /// The date and time when the drift snapshot was created. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The details property + /// The collection of access drift details for this summary. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Details diff --git a/src/Microsoft.Graph/Generated/Models/ActivityLogBase.cs b/src/Microsoft.Graph/Generated/Models/ActivityLogBase.cs index 060bb69adabd..10d64c20f70c 100644 --- a/src/Microsoft.Graph/Generated/Models/ActivityLogBase.cs +++ b/src/Microsoft.Graph/Generated/Models/ActivityLogBase.cs @@ -18,7 +18,7 @@ public partial class ActivityLogBase : global::Microsoft.Graph.Beta.Models.Entit get { return BackingStore?.Get("activityType"); } set { BackingStore?.Set("activityType", value); } } - /// The error property + /// Contains error details if an error occurred while processing this activity. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PublicError? Error @@ -34,13 +34,13 @@ public partial class ActivityLogBase : global::Microsoft.Graph.Beta.Models.Entit set { BackingStore?.Set("error", value); } } #endif - /// The eventDateTime property + /// Timestamp of activity completion. public DateTimeOffset? EventDateTime { get { return BackingStore?.Get("eventDateTime"); } set { BackingStore?.Set("eventDateTime", value); } } - /// The performedBy property + /// The identity of the person who performed the activity. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PerformedBy diff --git a/src/Microsoft.Graph/Generated/Models/AgentIdentity.cs b/src/Microsoft.Graph/Generated/Models/AgentIdentity.cs index 8d6f2a4d5bf8..79a599adb8f3 100644 --- a/src/Microsoft.Graph/Generated/Models/AgentIdentity.cs +++ b/src/Microsoft.Graph/Generated/Models/AgentIdentity.cs @@ -82,6 +82,40 @@ public DateTimeOffset? CreatedDateTime set { BackingStore?.Set("inheritedOauth2PermissionGrants", value); } } #endif + /// The lifecyclePolicyComplianceState property + public global::Microsoft.Graph.Beta.Models.LifecyclePolicyComplianceState? LifecyclePolicyComplianceState + { + get { return BackingStore?.Get("lifecyclePolicyComplianceState"); } + set { BackingStore?.Set("lifecyclePolicyComplianceState", value); } + } + /// The lifecyclePolicyComplianceStateLastModifiedDateTime property + public DateTimeOffset? LifecyclePolicyComplianceStateLastModifiedDateTime + { + get { return BackingStore?.Get("lifecyclePolicyComplianceStateLastModifiedDateTime"); } + set { BackingStore?.Set("lifecyclePolicyComplianceStateLastModifiedDateTime", value); } + } + /// The lifecyclePolicyComplianceStateReason property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LifecyclePolicyComplianceStateReason + { + get { return BackingStore?.Get("lifecyclePolicyComplianceStateReason"); } + set { BackingStore?.Set("lifecyclePolicyComplianceStateReason", value); } + } +#nullable restore +#else + public string LifecyclePolicyComplianceStateReason + { + get { return BackingStore?.Get("lifecyclePolicyComplianceStateReason"); } + set { BackingStore?.Set("lifecyclePolicyComplianceStateReason", value); } + } +#endif + /// The lifecyclePolicyNonComplianceDisablementDateTime property + public DateTimeOffset? LifecyclePolicyNonComplianceDisablementDateTime + { + get { return BackingStore?.Get("lifecyclePolicyNonComplianceDisablementDateTime"); } + set { BackingStore?.Set("lifecyclePolicyNonComplianceDisablementDateTime", 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. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -144,6 +178,10 @@ public override IDictionary> GetFieldDeserializers() { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, { "inheritedAppRoleAssignments", n => { InheritedAppRoleAssignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AppRoleAssignment.CreateFromDiscriminatorValue)?.AsList(); } }, { "inheritedOauth2PermissionGrants", n => { InheritedOauth2PermissionGrants = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.OAuth2PermissionGrant.CreateFromDiscriminatorValue)?.AsList(); } }, + { "lifecyclePolicyComplianceState", n => { LifecyclePolicyComplianceState = n.GetEnumValue(); } }, + { "lifecyclePolicyComplianceStateLastModifiedDateTime", n => { LifecyclePolicyComplianceStateLastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "lifecyclePolicyComplianceStateReason", n => { LifecyclePolicyComplianceStateReason = n.GetStringValue(); } }, + { "lifecyclePolicyNonComplianceDisablementDateTime", n => { LifecyclePolicyNonComplianceDisablementDateTime = n.GetDateTimeOffsetValue(); } }, { "managerApplications", n => { ManagerApplications = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "sponsors", n => { Sponsors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, }; @@ -161,6 +199,10 @@ public override void Serialize(ISerializationWriter writer) writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); writer.WriteCollectionOfObjectValues("inheritedAppRoleAssignments", InheritedAppRoleAssignments); writer.WriteCollectionOfObjectValues("inheritedOauth2PermissionGrants", InheritedOauth2PermissionGrants); + writer.WriteEnumValue("lifecyclePolicyComplianceState", LifecyclePolicyComplianceState); + writer.WriteDateTimeOffsetValue("lifecyclePolicyComplianceStateLastModifiedDateTime", LifecyclePolicyComplianceStateLastModifiedDateTime); + writer.WriteStringValue("lifecyclePolicyComplianceStateReason", LifecyclePolicyComplianceStateReason); + writer.WriteDateTimeOffsetValue("lifecyclePolicyNonComplianceDisablementDateTime", LifecyclePolicyNonComplianceDisablementDateTime); writer.WriteCollectionOfObjectValues("sponsors", Sponsors); } } diff --git a/src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprintPrincipal.cs b/src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprintPrincipal.cs index e145bee76bef..d2006d108f17 100644 --- a/src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprintPrincipal.cs +++ b/src/Microsoft.Graph/Generated/Models/AgentIdentityBlueprintPrincipal.cs @@ -12,6 +12,40 @@ namespace Microsoft.Graph.Beta.Models public partial class AgentIdentityBlueprintPrincipal : global::Microsoft.Graph.Beta.Models.ServicePrincipal, IParsable #pragma warning restore CS1591 { + /// The lifecyclePolicyComplianceState property + public global::Microsoft.Graph.Beta.Models.LifecyclePolicyComplianceState? LifecyclePolicyComplianceState + { + get { return BackingStore?.Get("lifecyclePolicyComplianceState"); } + set { BackingStore?.Set("lifecyclePolicyComplianceState", value); } + } + /// The lifecyclePolicyComplianceStateLastModifiedDateTime property + public DateTimeOffset? LifecyclePolicyComplianceStateLastModifiedDateTime + { + get { return BackingStore?.Get("lifecyclePolicyComplianceStateLastModifiedDateTime"); } + set { BackingStore?.Set("lifecyclePolicyComplianceStateLastModifiedDateTime", value); } + } + /// The lifecyclePolicyComplianceStateReason property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LifecyclePolicyComplianceStateReason + { + get { return BackingStore?.Get("lifecyclePolicyComplianceStateReason"); } + set { BackingStore?.Set("lifecyclePolicyComplianceStateReason", value); } + } +#nullable restore +#else + public string LifecyclePolicyComplianceStateReason + { + get { return BackingStore?.Get("lifecyclePolicyComplianceStateReason"); } + set { BackingStore?.Set("lifecyclePolicyComplianceStateReason", value); } + } +#endif + /// The lifecyclePolicyNonComplianceDisablementDateTime property + public DateTimeOffset? LifecyclePolicyNonComplianceDisablementDateTime + { + get { return BackingStore?.Get("lifecyclePolicyNonComplianceDisablementDateTime"); } + set { BackingStore?.Set("lifecyclePolicyNonComplianceDisablementDateTime", 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. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -69,6 +103,10 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "lifecyclePolicyComplianceState", n => { LifecyclePolicyComplianceState = n.GetEnumValue(); } }, + { "lifecyclePolicyComplianceStateLastModifiedDateTime", n => { LifecyclePolicyComplianceStateLastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "lifecyclePolicyComplianceStateReason", n => { LifecyclePolicyComplianceStateReason = n.GetStringValue(); } }, + { "lifecyclePolicyNonComplianceDisablementDateTime", n => { LifecyclePolicyNonComplianceDisablementDateTime = n.GetDateTimeOffsetValue(); } }, { "managerApplications", n => { ManagerApplications = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "sponsors", n => { Sponsors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, }; @@ -81,6 +119,10 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteEnumValue("lifecyclePolicyComplianceState", LifecyclePolicyComplianceState); + writer.WriteDateTimeOffsetValue("lifecyclePolicyComplianceStateLastModifiedDateTime", LifecyclePolicyComplianceStateLastModifiedDateTime); + writer.WriteStringValue("lifecyclePolicyComplianceStateReason", LifecyclePolicyComplianceStateReason); + writer.WriteDateTimeOffsetValue("lifecyclePolicyNonComplianceDisablementDateTime", LifecyclePolicyNonComplianceDisablementDateTime); writer.WriteCollectionOfObjectValues("sponsors", Sponsors); } } diff --git a/src/Microsoft.Graph/Generated/Models/AllUsersSpendingPolicy.cs b/src/Microsoft.Graph/Generated/Models/AllUsersSpendingPolicy.cs new file mode 100644 index 000000000000..290d0fced688 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AllUsersSpendingPolicy.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// A spending policy that governs every user in the tenant. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllUsersSpendingPolicy : global::Microsoft.Graph.Beta.Models.SpendingPolicy, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public AllUsersSpendingPolicy() : base() + { + OdataType = "#microsoft.graph.allUsersSpendingPolicy"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.AllUsersSpendingPolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AllUsersSpendingPolicy(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ApiUsageReportEnablementStatus.cs b/src/Microsoft.Graph/Generated/Models/ApiUsageReportEnablementStatus.cs index 4a163483efe1..47fe36db82d6 100644 --- a/src/Microsoft.Graph/Generated/Models/ApiUsageReportEnablementStatus.cs +++ b/src/Microsoft.Graph/Generated/Models/ApiUsageReportEnablementStatus.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The name of the API usage report metric. The supported values are: egressReport, throttlingReport. + /// The name of the API usage report metric. The supported values are: egressReport, sharePointServicePrioritizationReport, throttlingReport. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Metric diff --git a/src/Microsoft.Graph/Generated/Models/AppManagementAudit.cs b/src/Microsoft.Graph/Generated/Models/AppManagementAudit.cs new file mode 100644 index 000000000000..63294a9a9678 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AppManagementAudit.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AppManagementAudit : global::Microsoft.Graph.Beta.Models.DirectoryAudit, IParsable + #pragma warning restore CS1591 + { + /// The appliedAppManagementPolicyRestrictions property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AppliedAppManagementPolicyRestrictions + { + get { return BackingStore?.Get?>("appliedAppManagementPolicyRestrictions"); } + set { BackingStore?.Set("appliedAppManagementPolicyRestrictions", value); } + } +#nullable restore +#else + public List AppliedAppManagementPolicyRestrictions + { + get { return BackingStore?.Get>("appliedAppManagementPolicyRestrictions"); } + set { BackingStore?.Set("appliedAppManagementPolicyRestrictions", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.AppManagementAudit CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AppManagementAudit(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "appliedAppManagementPolicyRestrictions", n => { AppliedAppManagementPolicyRestrictions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AppliedAppManagementPolicyRestriction.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("appliedAppManagementPolicyRestrictions", AppliedAppManagementPolicyRestrictions); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AppManagementAuditLogAuditResult.cs b/src/Microsoft.Graph/Generated/Models/AppManagementAuditLogAuditResult.cs new file mode 100644 index 000000000000..f1d04dff76a1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AppManagementAuditLogAuditResult.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AppManagementAuditLogAuditResult + #pragma warning restore CS1591 + { + [EnumMember(Value = "notApplicable")] + #pragma warning disable CS1591 + NotApplicable, + #pragma warning restore CS1591 + [EnumMember(Value = "wouldHaveBeenAllowed")] + #pragma warning disable CS1591 + WouldHaveBeenAllowed, + #pragma warning restore CS1591 + [EnumMember(Value = "wouldHaveBeenBlocked")] + #pragma warning disable CS1591 + WouldHaveBeenBlocked, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/AppManagementAuditLogPolicyType.cs b/src/Microsoft.Graph/Generated/Models/AppManagementAuditLogPolicyType.cs new file mode 100644 index 000000000000..80d4e156eb6b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AppManagementAuditLogPolicyType.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AppManagementAuditLogPolicyType + #pragma warning restore CS1591 + { + [EnumMember(Value = "defaultEntraId")] + #pragma warning disable CS1591 + DefaultEntraId, + #pragma warning restore CS1591 + [EnumMember(Value = "tenant")] + #pragma warning disable CS1591 + Tenant, + #pragma warning restore CS1591 + [EnumMember(Value = "app")] + #pragma warning disable CS1591 + App, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/AppManagementAuditLogRestrictionResult.cs b/src/Microsoft.Graph/Generated/Models/AppManagementAuditLogRestrictionResult.cs new file mode 100644 index 000000000000..b2a4bb97fd11 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AppManagementAuditLogRestrictionResult.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AppManagementAuditLogRestrictionResult + #pragma warning restore CS1591 + { + [EnumMember(Value = "allowed")] + #pragma warning disable CS1591 + Allowed, + #pragma warning restore CS1591 + [EnumMember(Value = "blocked")] + #pragma warning disable CS1591 + Blocked, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/AppManagementAuditLogRestrictionState.cs b/src/Microsoft.Graph/Generated/Models/AppManagementAuditLogRestrictionState.cs new file mode 100644 index 000000000000..2d472f09cb8a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AppManagementAuditLogRestrictionState.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AppManagementAuditLogRestrictionState + #pragma warning restore CS1591 + { + [EnumMember(Value = "enabled")] + #pragma warning disable CS1591 + Enabled, + #pragma warning restore CS1591 + [EnumMember(Value = "disabled")] + #pragma warning disable CS1591 + Disabled, + #pragma warning restore CS1591 + [EnumMember(Value = "audit")] + #pragma warning disable CS1591 + Audit, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/AppliedAppManagementPolicyRestriction.cs b/src/Microsoft.Graph/Generated/Models/AppliedAppManagementPolicyRestriction.cs new file mode 100644 index 000000000000..775009846c00 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AppliedAppManagementPolicyRestriction.cs @@ -0,0 +1,185 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AppliedAppManagementPolicyRestriction : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The attemptedChanges property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Dictionary? AttemptedChanges + { + get { return BackingStore?.Get("attemptedChanges"); } + set { BackingStore?.Set("attemptedChanges", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Dictionary AttemptedChanges + { + get { return BackingStore?.Get("attemptedChanges"); } + set { BackingStore?.Set("attemptedChanges", value); } + } +#endif + /// The auditResult property + public global::Microsoft.Graph.Beta.Models.AppManagementAuditLogAuditResult? AuditResult + { + get { return BackingStore?.Get("auditResult"); } + set { BackingStore?.Set("auditResult", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The policyId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyId + { + get { return BackingStore?.Get("policyId"); } + set { BackingStore?.Set("policyId", value); } + } +#nullable restore +#else + public string PolicyId + { + get { return BackingStore?.Get("policyId"); } + set { BackingStore?.Set("policyId", value); } + } +#endif + /// The policyType property + public global::Microsoft.Graph.Beta.Models.AppManagementAuditLogPolicyType? PolicyType + { + get { return BackingStore?.Get("policyType"); } + set { BackingStore?.Set("policyType", value); } + } + /// The restrictionDetails property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Dictionary? RestrictionDetails + { + get { return BackingStore?.Get("restrictionDetails"); } + set { BackingStore?.Set("restrictionDetails", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Dictionary RestrictionDetails + { + get { return BackingStore?.Get("restrictionDetails"); } + set { BackingStore?.Set("restrictionDetails", value); } + } +#endif + /// The restrictionResult property + public global::Microsoft.Graph.Beta.Models.AppManagementAuditLogRestrictionResult? RestrictionResult + { + get { return BackingStore?.Get("restrictionResult"); } + set { BackingStore?.Set("restrictionResult", value); } + } + /// The restrictionState property + public global::Microsoft.Graph.Beta.Models.AppManagementAuditLogRestrictionState? RestrictionState + { + get { return BackingStore?.Get("restrictionState"); } + set { BackingStore?.Set("restrictionState", value); } + } + /// The restrictionType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RestrictionType + { + get { return BackingStore?.Get("restrictionType"); } + set { BackingStore?.Set("restrictionType", value); } + } +#nullable restore +#else + public string RestrictionType + { + get { return BackingStore?.Get("restrictionType"); } + set { BackingStore?.Set("restrictionType", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AppliedAppManagementPolicyRestriction() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.AppliedAppManagementPolicyRestriction CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AppliedAppManagementPolicyRestriction(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "attemptedChanges", n => { AttemptedChanges = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Dictionary.CreateFromDiscriminatorValue); } }, + { "auditResult", n => { AuditResult = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "policyId", n => { PolicyId = n.GetStringValue(); } }, + { "policyType", n => { PolicyType = n.GetEnumValue(); } }, + { "restrictionDetails", n => { RestrictionDetails = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Dictionary.CreateFromDiscriminatorValue); } }, + { "restrictionResult", n => { RestrictionResult = n.GetEnumValue(); } }, + { "restrictionState", n => { RestrictionState = n.GetEnumValue(); } }, + { "restrictionType", n => { RestrictionType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("attemptedChanges", AttemptedChanges); + writer.WriteEnumValue("auditResult", AuditResult); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("policyId", PolicyId); + writer.WriteEnumValue("policyType", PolicyType); + writer.WriteObjectValue("restrictionDetails", RestrictionDetails); + writer.WriteEnumValue("restrictionResult", RestrictionResult); + writer.WriteEnumValue("restrictionState", RestrictionState); + writer.WriteStringValue("restrictionType", RestrictionType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AssignmentFilterEvaluationMode.cs b/src/Microsoft.Graph/Generated/Models/AssignmentFilterEvaluationMode.cs new file mode 100644 index 000000000000..a2f48c87ddb0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AssignmentFilterEvaluationMode.cs @@ -0,0 +1,26 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// Represents the mode used by the service to evaluate an assignment filter. + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public enum AssignmentFilterEvaluationMode + { + /// The filter is evaluated when the device checks in. + [EnumMember(Value = "checkinTimeEvaluation")] + CheckinTimeEvaluation, + /// The filter is evaluated from inventory-backed device properties. + [EnumMember(Value = "inventoryEvaluation")] + InventoryEvaluation, + /// The filter requires both check-in-time and inventory-backed device properties. + [EnumMember(Value = "mixedEvaluation")] + MixedEvaluation, + /// Inventory-based evaluation is disabled for the requesting account. + [EnumMember(Value = "disabled")] + Disabled, + /// Evolvable enumeration sentinel value. Do not use. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/AssignmentFilterPropertyEvaluationSource.cs b/src/Microsoft.Graph/Generated/Models/AssignmentFilterPropertyEvaluationSource.cs new file mode 100644 index 000000000000..1c97f2af82df --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AssignmentFilterPropertyEvaluationSource.cs @@ -0,0 +1,20 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// Identifies the data source used to evaluate an assignment filter property. + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public enum AssignmentFilterPropertyEvaluationSource + { + /// The property is evaluated when the device checks in. + [EnumMember(Value = "deviceCheckIn")] + DeviceCheckIn, + /// The property is evaluated from device inventory. + [EnumMember(Value = "deviceInventory")] + DeviceInventory, + /// Evolvable enumeration sentinel value. Do not use. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/AssignmentFilterSupportedProperty.cs b/src/Microsoft.Graph/Generated/Models/AssignmentFilterSupportedProperty.cs index 58432b6c78d4..89a005023001 100644 --- a/src/Microsoft.Graph/Generated/Models/AssignmentFilterSupportedProperty.cs +++ b/src/Microsoft.Graph/Generated/Models/AssignmentFilterSupportedProperty.cs @@ -38,6 +38,12 @@ public string DataType set { BackingStore?.Set("dataType", value); } } #endif + /// Identifies the data source used to evaluate an assignment filter property. + public global::Microsoft.Graph.Beta.Models.AssignmentFilterPropertyEvaluationSource? EvaluationSource + { + get { return BackingStore?.Get("evaluationSource"); } + set { BackingStore?.Set("evaluationSource", value); } + } /// Indicates whether the property is a collection type or not. public bool? IsCollection { @@ -151,6 +157,7 @@ public virtual IDictionary> GetFieldDeserializers() return new Dictionary> { { "dataType", n => { DataType = n.GetStringValue(); } }, + { "evaluationSource", n => { EvaluationSource = n.GetEnumValue(); } }, { "isCollection", n => { IsCollection = n.GetBoolValue(); } }, { "name", n => { Name = n.GetStringValue(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, @@ -167,6 +174,7 @@ public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("dataType", DataType); + writer.WriteEnumValue("evaluationSource", EvaluationSource); writer.WriteBoolValue("isCollection", IsCollection); writer.WriteStringValue("name", Name); writer.WriteStringValue("@odata.type", OdataType); diff --git a/src/Microsoft.Graph/Generated/Models/BackupPolicyActivityLog.cs b/src/Microsoft.Graph/Generated/Models/BackupPolicyActivityLog.cs index 95ada3c56a8f..16107e29bea5 100644 --- a/src/Microsoft.Graph/Generated/Models/BackupPolicyActivityLog.cs +++ b/src/Microsoft.Graph/Generated/Models/BackupPolicyActivityLog.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class BackupPolicyActivityLog : global::Microsoft.Graph.Beta.Models.ActivityLogBase, IParsable #pragma warning restore CS1591 { - /// The oldPolicyName property + /// The previous policy name, if applicable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? OldPolicyName @@ -28,7 +28,7 @@ public string OldPolicyName set { BackingStore?.Set("oldPolicyName", value); } } #endif - /// The policyId property + /// The unique identifier of the protection policy associated with the activity log. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PolicyId @@ -44,7 +44,7 @@ public string PolicyId set { BackingStore?.Set("policyId", value); } } #endif - /// The policyName property + /// Name of the protection policy. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PolicyName @@ -66,7 +66,7 @@ public string PolicyName get { return BackingStore?.Get("policyStatus"); } set { BackingStore?.Set("policyStatus", value); } } - /// The protectionUnitDetails property + /// Contains Protection unit counts information. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.ProtectionUnitDetails? ProtectionUnitDetails @@ -82,7 +82,7 @@ public string PolicyName set { BackingStore?.Set("protectionUnitDetails", value); } } #endif - /// The retentionPeriod property + /// The period of time to retain the protected data for a single Microsoft 365 service. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RetentionPeriod diff --git a/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs b/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs index d5987e96be95..0d267aa78dc6 100644 --- a/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class BackupRestoreRoot : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The activityLogs property + /// The list of activity logs in the tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ActivityLogs @@ -139,6 +139,22 @@ public partial class BackupRestoreRoot : global::Microsoft.Graph.Beta.Models.Ent get { return BackingStore?.Get("emailNotificationsSetting"); } set { BackingStore?.Set("emailNotificationsSetting", value); } } +#endif + /// The entraProtectionPolicies property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? EntraProtectionPolicies + { + get { return BackingStore?.Get?>("entraProtectionPolicies"); } + set { BackingStore?.Set("entraProtectionPolicies", value); } + } +#nullable restore +#else + public List EntraProtectionPolicies + { + get { return BackingStore?.Get>("entraProtectionPolicies"); } + set { BackingStore?.Set("entraProtectionPolicies", value); } + } #endif /// The list of Exchange protection policies in the tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -582,6 +598,7 @@ public override IDictionary> GetFieldDeserializers() { "driveProtectionUnits", n => { DriveProtectionUnits = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DriveProtectionUnit.CreateFromDiscriminatorValue)?.AsList(); } }, { "driveProtectionUnitsBulkAdditionJobs", n => { DriveProtectionUnitsBulkAdditionJobs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DriveProtectionUnitsBulkAdditionJob.CreateFromDiscriminatorValue)?.AsList(); } }, { "emailNotificationsSetting", n => { EmailNotificationsSetting = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.EmailNotificationsSetting.CreateFromDiscriminatorValue); } }, + { "entraProtectionPolicies", n => { EntraProtectionPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.EntraProtectionPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "exchangeProtectionPolicies", n => { ExchangeProtectionPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ExchangeProtectionPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "exchangeRestoreSessions", n => { ExchangeRestoreSessions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ExchangeRestoreSession.CreateFromDiscriminatorValue)?.AsList(); } }, { "exclusionUnits", n => { ExclusionUnits = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ExclusionUnitBase.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -626,6 +643,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("driveProtectionUnits", DriveProtectionUnits); writer.WriteCollectionOfObjectValues("driveProtectionUnitsBulkAdditionJobs", DriveProtectionUnitsBulkAdditionJobs); writer.WriteObjectValue("emailNotificationsSetting", EmailNotificationsSetting); + writer.WriteCollectionOfObjectValues("entraProtectionPolicies", EntraProtectionPolicies); writer.WriteCollectionOfObjectValues("exchangeProtectionPolicies", ExchangeProtectionPolicies); writer.WriteCollectionOfObjectValues("exchangeRestoreSessions", ExchangeRestoreSessions); writer.WriteCollectionOfObjectValues("exclusionUnits", ExclusionUnits); diff --git a/src/Microsoft.Graph/Generated/Models/BalanceEvaluationFailureReason.cs b/src/Microsoft.Graph/Generated/Models/BalanceEvaluationFailureReason.cs new file mode 100644 index 000000000000..fe88eee5ef19 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BalanceEvaluationFailureReason.cs @@ -0,0 +1,20 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// The reason a service's balance could not be evaluated for the user. + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public enum BalanceEvaluationFailureReason + { + /// The service could not resolve the spending policy, so no authoritative balance or accessdecision could be produced. + [EnumMember(Value = "upstreamFailure")] + UpstreamFailure, + /// No spending policy governs this service for this user, so there is no balance to report.Retrying does not change this until a policy is created for the service, or the user isbrought into an existing policy's scope. + [EnumMember(Value = "noApplicablePolicy")] + NoApplicablePolicy, + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Bucket.cs b/src/Microsoft.Graph/Generated/Models/Bucket.cs new file mode 100644 index 000000000000..533bd39e9dcf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Bucket.cs @@ -0,0 +1,160 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Bucket : global::Microsoft.Graph.Beta.Models.PlannerDelta, IParsable + #pragma warning restore CS1591 + { + /// Server-computed, read-only capability flags indicating which optional features are enabled for the entity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.BucketCapability? Capabilities + { + get { return BackingStore?.Get("capabilities"); } + set { BackingStore?.Set("capabilities", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.BucketCapability Capabilities + { + get { return BackingStore?.Get("capabilities"); } + set { BackingStore?.Set("capabilities", value); } + } +#endif + /// Read-only creation metadata for the entity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CreationInfo? CreationInfo + { + get { return BackingStore?.Get("creationInfo"); } + set { BackingStore?.Set("creationInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CreationInfo CreationInfo + { + get { return BackingStore?.Get("creationInfo"); } + set { BackingStore?.Set("creationInfo", value); } + } +#endif + /// Title of the bucket. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Custom extension field values set on the entity. Supports $select. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection? Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#endif + /// Identity of the user (or application) who last modified the entity. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#endif + /// Date and time the entity was last modified. The value is represented in ISO 8601 format and is always in UTC time. Read-only. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// ID of the plan that contains the bucket. Immutable after creation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlanId + { + get { return BackingStore?.Get("planId"); } + set { BackingStore?.Set("planId", value); } + } +#nullable restore +#else + public string PlanId + { + get { return BackingStore?.Get("planId"); } + set { BackingStore?.Set("planId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Bucket CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Bucket(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "capabilities", n => { Capabilities = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.BucketCapability.CreateFromDiscriminatorValue); } }, + { "creationInfo", n => { CreationInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CreationInfo.CreateFromDiscriminatorValue); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "extensions", n => { Extensions = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection.CreateFromDiscriminatorValue); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "planId", n => { PlanId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteObjectValue("extensions", Extensions); + writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteStringValue("planId", PlanId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/BucketCapability.cs b/src/Microsoft.Graph/Generated/Models/BucketCapability.cs new file mode 100644 index 000000000000..3a81ec751b22 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BucketCapability.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BucketCapability : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates whether custom extension fields are enabled for the bucket. + public bool? Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public BucketCapability() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.BucketCapability CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.BucketCapability(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "extensions", n => { Extensions = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("extensions", Extensions); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/BucketCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/BucketCollectionResponse.cs new file mode 100644 index 000000000000..2ab889bc6a10 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BucketCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BucketCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.BucketCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.BucketCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Bucket.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CategoryDefinition.cs b/src/Microsoft.Graph/Generated/Models/CategoryDefinition.cs new file mode 100644 index 000000000000..ce1a2bb17ecc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CategoryDefinition.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CategoryDefinition : global::Microsoft.Graph.Beta.Models.PlannerDelta, IParsable + #pragma warning restore CS1591 + { + /// Server-computed, read-only capability flags indicating which optional features are enabled for the entity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CategoryDefinitionCapability? Capabilities + { + get { return BackingStore?.Get("capabilities"); } + set { BackingStore?.Set("capabilities", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CategoryDefinitionCapability Capabilities + { + get { return BackingStore?.Get("capabilities"); } + set { BackingStore?.Set("capabilities", value); } + } +#endif + /// Name of the category. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Custom extension field values set on the entity. Supports $select. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection? Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CategoryDefinition CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CategoryDefinition(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "capabilities", n => { Capabilities = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CategoryDefinitionCapability.CreateFromDiscriminatorValue); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "extensions", n => { Extensions = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteObjectValue("extensions", Extensions); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CategoryDefinitionCapability.cs b/src/Microsoft.Graph/Generated/Models/CategoryDefinitionCapability.cs new file mode 100644 index 000000000000..d7c64d29c2dc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CategoryDefinitionCapability.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CategoryDefinitionCapability : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates whether custom extension fields are enabled for the category definition. + public bool? Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CategoryDefinitionCapability() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CategoryDefinitionCapability CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CategoryDefinitionCapability(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "extensions", n => { Extensions = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("extensions", Extensions); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ChatMention.cs b/src/Microsoft.Graph/Generated/Models/ChatMention.cs new file mode 100644 index 000000000000..2567bf443c33 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ChatMention.cs @@ -0,0 +1,115 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ChatMention : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Character position of the mention within the message content. + public int? Index + { + get { return BackingStore?.Get("index"); } + set { BackingStore?.Set("index", value); } + } + /// Identifier of the mentioned user or application. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Mentioned + { + get { return BackingStore?.Get("mentioned"); } + set { BackingStore?.Set("mentioned", value); } + } +#nullable restore +#else + public string Mentioned + { + get { return BackingStore?.Get("mentioned"); } + set { BackingStore?.Set("mentioned", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Type of the mentioned entity. The possible values are: user, application, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.ChatMentionType? Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ChatMention() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.ChatMention CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ChatMention(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "index", n => { Index = n.GetIntValue(); } }, + { "mentioned", n => { Mentioned = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteIntValue("index", Index); + writer.WriteStringValue("mentioned", Mentioned); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("type", Type); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ChatMentionType.cs b/src/Microsoft.Graph/Generated/Models/ChatMentionType.cs new file mode 100644 index 000000000000..4cb4f6d81fa8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ChatMentionType.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ChatMentionType + #pragma warning restore CS1591 + { + [EnumMember(Value = "user")] + #pragma warning disable CS1591 + User, + #pragma warning restore CS1591 + [EnumMember(Value = "application")] + #pragma warning disable CS1591 + Application, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ChatMessageProperties.cs b/src/Microsoft.Graph/Generated/Models/ChatMessageProperties.cs new file mode 100644 index 000000000000..ec4e38946bfc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ChatMessageProperties.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ChatMessageProperties : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Collection of @mentions in the message. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Mentions + { + get { return BackingStore?.Get?>("mentions"); } + set { BackingStore?.Set("mentions", value); } + } +#nullable restore +#else + public List Mentions + { + get { return BackingStore?.Get>("mentions"); } + set { BackingStore?.Set("mentions", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Collection of reactions applied to the message. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Reactions + { + get { return BackingStore?.Get?>("reactions"); } + set { BackingStore?.Set("reactions", value); } + } +#nullable restore +#else + public List Reactions + { + get { return BackingStore?.Get>("reactions"); } + set { BackingStore?.Set("reactions", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ChatMessageProperties() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.ChatMessageProperties CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ChatMessageProperties(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "mentions", n => { Mentions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ChatMention.CreateFromDiscriminatorValue)?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "reactions", n => { Reactions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ChatReaction.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("mentions", Mentions); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfObjectValues("reactions", Reactions); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ChatMessageReaction.cs b/src/Microsoft.Graph/Generated/Models/ChatMessageReaction.cs index 4dd92f145e81..65aa79965509 100644 --- a/src/Microsoft.Graph/Generated/Models/ChatMessageReaction.cs +++ b/src/Microsoft.Graph/Generated/Models/ChatMessageReaction.cs @@ -74,6 +74,22 @@ public string ReactionContentUrl get { return BackingStore?.Get("reactionContentUrl"); } set { BackingStore?.Set("reactionContentUrl", value); } } +#endif + /// The service-issued identifier for a custom emoji reaction. The identifier is scoped to the tenant. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } #endif /// The reaction type. Supported values include Unicode characters, custom, and some backward-compatible reaction types, such as like, angry, sad, laugh, heart, and surprised. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -137,6 +153,7 @@ public virtual IDictionary> GetFieldDeserializers() { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "reactionContentUrl", n => { ReactionContentUrl = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, { "user", n => { User = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ChatMessageReactionIdentitySet.CreateFromDiscriminatorValue); } }, }; @@ -152,6 +169,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("@odata.type", OdataType); writer.WriteStringValue("reactionContentUrl", ReactionContentUrl); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteObjectValue("user", User); writer.WriteAdditionalData(AdditionalData); diff --git a/src/Microsoft.Graph/Generated/Models/ChatReaction.cs b/src/Microsoft.Graph/Generated/Models/ChatReaction.cs new file mode 100644 index 000000000000..a0940978ce9e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ChatReaction.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ChatReaction : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Identifier of the reaction (for example, an emoji key). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Key + { + get { return BackingStore?.Get("key"); } + set { BackingStore?.Set("key", value); } + } +#nullable restore +#else + public string Key + { + get { return BackingStore?.Get("key"); } + set { BackingStore?.Set("key", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Users who applied the reaction, and when. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Users + { + get { return BackingStore?.Get?>("users"); } + set { BackingStore?.Set("users", value); } + } +#nullable restore +#else + public List Users + { + get { return BackingStore?.Get>("users"); } + set { BackingStore?.Set("users", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ChatReaction() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.ChatReaction CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ChatReaction(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "key", n => { Key = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "users", n => { Users = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CreationTimestamp.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("key", Key); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfObjectValues("users", Users); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ChecklistCapability.cs b/src/Microsoft.Graph/Generated/Models/ChecklistCapability.cs new file mode 100644 index 000000000000..4a6b1d433790 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ChecklistCapability.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ChecklistCapability : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates whether custom extension fields are enabled for the checklist item. + public bool? Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ChecklistCapability() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.ChecklistCapability CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ChecklistCapability(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "extensions", n => { Extensions = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("extensions", Extensions); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ChecklistItemV4.cs b/src/Microsoft.Graph/Generated/Models/ChecklistItemV4.cs new file mode 100644 index 000000000000..8cc0a5047332 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ChecklistItemV4.cs @@ -0,0 +1,176 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ChecklistItemV4 : global::Microsoft.Graph.Beta.Models.PlannerDelta, IParsable + #pragma warning restore CS1591 + { + /// Server-computed, read-only capability flags indicating which optional features are enabled for the entity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ChecklistCapability? Capabilities + { + get { return BackingStore?.Get("capabilities"); } + set { BackingStore?.Set("capabilities", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ChecklistCapability Capabilities + { + get { return BackingStore?.Get("capabilities"); } + set { BackingStore?.Set("capabilities", value); } + } +#endif + /// Identity of the user who checked the checklist item. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? CompletedBy + { + get { return BackingStore?.Get("completedBy"); } + set { BackingStore?.Set("completedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet CompletedBy + { + get { return BackingStore?.Get("completedBy"); } + set { BackingStore?.Set("completedBy", value); } + } +#endif + /// Date and time the checklist item was checked. + public DateTimeOffset? CompletedDateTime + { + get { return BackingStore?.Get("completedDateTime"); } + set { BackingStore?.Set("completedDateTime", value); } + } + /// Identity of the user (or application) who created the entity. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// Title of the checklist item. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Custom extension field values set on the entity. Supports $select. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection? Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#endif + /// Indicates whether the checklist item is checked (completed). + public bool? IsChecked + { + get { return BackingStore?.Get("isChecked"); } + set { BackingStore?.Set("isChecked", value); } + } + /// Identity of the user (or application) who last modified the entity. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#endif + /// Date and time the entity was last modified. The value is represented in ISO 8601 format and is always in UTC time. Read-only. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ChecklistItemV4 CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ChecklistItemV4(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "capabilities", n => { Capabilities = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ChecklistCapability.CreateFromDiscriminatorValue); } }, + { "completedBy", n => { CompletedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "completedDateTime", n => { CompletedDateTime = n.GetDateTimeOffsetValue(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "extensions", n => { Extensions = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection.CreateFromDiscriminatorValue); } }, + { "isChecked", n => { IsChecked = n.GetBoolValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("completedBy", CompletedBy); + writer.WriteDateTimeOffsetValue("completedDateTime", CompletedDateTime); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteObjectValue("extensions", Extensions); + writer.WriteBoolValue("isChecked", IsChecked); + writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ChecklistItemV4CollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ChecklistItemV4CollectionResponse.cs new file mode 100644 index 000000000000..f04123d485e9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ChecklistItemV4CollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ChecklistItemV4CollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ChecklistItemV4CollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ChecklistItemV4CollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ChecklistItemV4.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPCUserSettingsPersistenceAutoCleanupDetail.cs b/src/Microsoft.Graph/Generated/Models/CloudPCUserSettingsPersistenceAutoCleanupDetail.cs new file mode 100644 index 000000000000..f2e98d239f47 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPCUserSettingsPersistenceAutoCleanupDetail.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPCUserSettingsPersistenceAutoCleanupDetail : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The autoCleanupMode property + public global::Microsoft.Graph.Beta.Models.CloudPcAutoCleanupMode? AutoCleanupMode + { + get { return BackingStore?.Get("autoCleanupMode"); } + set { BackingStore?.Set("autoCleanupMode", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The inactiveProfileRetentionDays property + public int? InactiveProfileRetentionDays + { + get { return BackingStore?.Get("inactiveProfileRetentionDays"); } + set { BackingStore?.Set("inactiveProfileRetentionDays", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudPCUserSettingsPersistenceAutoCleanupDetail() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceAutoCleanupDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceAutoCleanupDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autoCleanupMode", n => { AutoCleanupMode = n.GetEnumValue(); } }, + { "inactiveProfileRetentionDays", n => { InactiveProfileRetentionDays = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("autoCleanupMode", AutoCleanupMode); + writer.WriteIntValue("inactiveProfileRetentionDays", InactiveProfileRetentionDays); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPCUserSettingsPersistenceDetail.cs b/src/Microsoft.Graph/Generated/Models/CloudPCUserSettingsPersistenceDetail.cs index 74559630fa20..4e596bd2c2fb 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPCUserSettingsPersistenceDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPCUserSettingsPersistenceDetail.cs @@ -12,12 +12,76 @@ namespace Microsoft.Graph.Beta.Models public partial class CloudPCUserSettingsPersistenceDetail : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The autoCleanupDetail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceAutoCleanupDetail? AutoCleanupDetail + { + get { return BackingStore?.Get("autoCleanupDetail"); } + set { BackingStore?.Set("autoCleanupDetail", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceAutoCleanupDetail AutoCleanupDetail + { + get { return BackingStore?.Get("autoCleanupDetail"); } + set { BackingStore?.Set("autoCleanupDetail", value); } + } +#endif /// Indicates the grace period end time when user settings persistence exceeds the available quota. If usage exceeds the available quota when the grace period expires, the system automatically deletes the profile with the oldest last attached timestamp. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. public DateTimeOffset? GracePeriodEndDateTime { get { return BackingStore?.Get("gracePeriodEndDateTime"); } set { BackingStore?.Set("gracePeriodEndDateTime", value); } } + /// The snapshotConfiguration property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CloudPcUserSettingsPersistenceSnapshotConfiguration? SnapshotConfiguration + { + get { return BackingStore?.Get("snapshotConfiguration"); } + set { BackingStore?.Set("snapshotConfiguration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CloudPcUserSettingsPersistenceSnapshotConfiguration SnapshotConfiguration + { + get { return BackingStore?.Get("snapshotConfiguration"); } + set { BackingStore?.Set("snapshotConfiguration", value); } + } +#endif + /// The storageConfiguration property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CloudPcStorageConfiguration? StorageConfiguration + { + get { return BackingStore?.Get("storageConfiguration"); } + set { BackingStore?.Set("storageConfiguration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CloudPcStorageConfiguration StorageConfiguration + { + get { return BackingStore?.Get("storageConfiguration"); } + set { BackingStore?.Set("storageConfiguration", value); } + } +#endif + /// The userProfileSnapshots property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? UserProfileSnapshots + { + get { return BackingStore?.Get?>("userProfileSnapshots"); } + set { BackingStore?.Set("userProfileSnapshots", value); } + } +#nullable restore +#else + public List UserProfileSnapshots + { + get { return BackingStore?.Get>("userProfileSnapshots"); } + set { BackingStore?.Set("userProfileSnapshots", value); } + } +#endif /// /// Creates a new instance of the appropriate class based on discriminator value /// @@ -36,7 +100,11 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "autoCleanupDetail", n => { AutoCleanupDetail = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceAutoCleanupDetail.CreateFromDiscriminatorValue); } }, { "gracePeriodEndDateTime", n => { GracePeriodEndDateTime = n.GetDateTimeOffsetValue(); } }, + { "snapshotConfiguration", n => { SnapshotConfiguration = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudPcUserSettingsPersistenceSnapshotConfiguration.CreateFromDiscriminatorValue); } }, + { "storageConfiguration", n => { StorageConfiguration = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudPcStorageConfiguration.CreateFromDiscriminatorValue); } }, + { "userProfileSnapshots", n => { UserProfileSnapshots = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -47,7 +115,11 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteObjectValue("autoCleanupDetail", AutoCleanupDetail); writer.WriteDateTimeOffsetValue("gracePeriodEndDateTime", GracePeriodEndDateTime); + writer.WriteObjectValue("snapshotConfiguration", SnapshotConfiguration); + writer.WriteObjectValue("storageConfiguration", StorageConfiguration); + writer.WriteCollectionOfObjectValues("userProfileSnapshots", UserProfileSnapshots); } } } diff --git a/src/Microsoft.Graph/Generated/Models/CloudPCUserSettingsPersistenceProfile.cs b/src/Microsoft.Graph/Generated/Models/CloudPCUserSettingsPersistenceProfile.cs index a3837a729961..b695b7f5b72a 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPCUserSettingsPersistenceProfile.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPCUserSettingsPersistenceProfile.cs @@ -43,6 +43,12 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif + /// The profileDiskEncryptionType property + public global::Microsoft.Graph.Beta.Models.CloudPcDiskEncryptionType? ProfileDiskEncryptionType + { + get { return BackingStore?.Get("profileDiskEncryptionType"); } + set { BackingStore?.Set("profileDiskEncryptionType", value); } + } /// Indicates the unique identifier of the Cloud PC user settings persistence profile for the selected Cloud PC user settings persistence. Required. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -71,6 +77,22 @@ public int? ProfileSizeInGB get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } } + /// The usageDetail property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceProfileUsageDetail? UsageDetail + { + get { return BackingStore?.Get("usageDetail"); } + set { BackingStore?.Set("usageDetail", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceProfileUsageDetail UsageDetail + { + get { return BackingStore?.Get("usageDetail"); } + set { BackingStore?.Set("usageDetail", value); } + } +#endif /// The user principal name of the owner of the cloud profile. For example, connie@contoso.com. Required. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -115,9 +137,11 @@ public virtual IDictionary> GetFieldDeserializers() { { "lastProfileAttachedDateTime", n => { LastProfileAttachedDateTime = n.GetDateTimeOffsetValue(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "profileDiskEncryptionType", n => { ProfileDiskEncryptionType = n.GetEnumValue(); } }, { "profileId", n => { ProfileId = n.GetStringValue(); } }, { "profileSizeInGB", n => { ProfileSizeInGB = n.GetIntValue(); } }, { "status", n => { Status = n.GetEnumValue(); } }, + { "usageDetail", n => { UsageDetail = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceProfileUsageDetail.CreateFromDiscriminatorValue); } }, { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; } @@ -130,9 +154,11 @@ public virtual void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); writer.WriteDateTimeOffsetValue("lastProfileAttachedDateTime", LastProfileAttachedDateTime); writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("profileDiskEncryptionType", ProfileDiskEncryptionType); writer.WriteStringValue("profileId", ProfileId); writer.WriteIntValue("profileSizeInGB", ProfileSizeInGB); writer.WriteEnumValue("status", Status); + writer.WriteObjectValue("usageDetail", UsageDetail); writer.WriteStringValue("userPrincipalName", UserPrincipalName); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Models/CloudPCUserSettingsPersistenceProfileUsageDetail.cs b/src/Microsoft.Graph/Generated/Models/CloudPCUserSettingsPersistenceProfileUsageDetail.cs new file mode 100644 index 000000000000..56d9eb6dbd92 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPCUserSettingsPersistenceProfileUsageDetail.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPCUserSettingsPersistenceProfileUsageDetail : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The lastUsedSizeSyncDateTime property + public DateTimeOffset? LastUsedSizeSyncDateTime + { + get { return BackingStore?.Get("lastUsedSizeSyncDateTime"); } + set { BackingStore?.Set("lastUsedSizeSyncDateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The profileUsedSizeInGB property + public double? ProfileUsedSizeInGB + { + get { return BackingStore?.Get("profileUsedSizeInGB"); } + set { BackingStore?.Set("profileUsedSizeInGB", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CloudPCUserSettingsPersistenceProfileUsageDetail() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceProfileUsageDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceProfileUsageDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "lastUsedSizeSyncDateTime", n => { LastUsedSizeSyncDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "profileUsedSizeInGB", n => { ProfileUsedSizeInGB = n.GetDoubleValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("lastUsedSizeSyncDateTime", LastUsedSizeSyncDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteDoubleValue("profileUsedSizeInGB", ProfileUsedSizeInGB); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcAutoCleanupMode.cs b/src/Microsoft.Graph/Generated/Models/CloudPcAutoCleanupMode.cs new file mode 100644 index 000000000000..88ecb0039085 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcAutoCleanupMode.cs @@ -0,0 +1,29 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum CloudPcAutoCleanupMode + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "scheduled")] + #pragma warning disable CS1591 + Scheduled = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "onQuotaExceeded")] + #pragma warning disable CS1591 + OnQuotaExceeded = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 8, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcDeviceImage.cs b/src/Microsoft.Graph/Generated/Models/CloudPcDeviceImage.cs index f39ea52e2e83..8d0e37c5a4e9 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcDeviceImage.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcDeviceImage.cs @@ -145,7 +145,7 @@ public string SourceImageResourceId get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } } - /// The details of the status of the image that indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only. The statusDetails property is deprecated and will stop returning data on January 31, 2024. Going forward, use the errorCode property. + /// The details of the status of the image that indicates why the upload failed, if applicable. Possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only. The statusDetails property is deprecated and will stop returning data on December 7, 2026. Going forward, use the errorCode property. public global::Microsoft.Graph.Beta.Models.CloudPcDeviceImageStatusDetails? StatusDetails { get { return BackingStore?.Get("statusDetails"); } diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcGalleryImage.cs b/src/Microsoft.Graph/Generated/Models/CloudPcGalleryImage.cs index d32eddfb0dc7..a1eda344ed8c 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcGalleryImage.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcGalleryImage.cs @@ -41,7 +41,7 @@ public Date? ExpirationDate get { return BackingStore?.Get("expirationDate"); } set { BackingStore?.Set("expirationDate", value); } } - /// The offer name of this gallery image that is passed to ARM to retrieve the image resource. Read-only. The offer property is deprecated and will stop returning data on January 31, 2024. Going forward, use the offerName property. + /// The offer name of this gallery image that is passed to ARM to retrieve the image resource. Read-only. The offer property is deprecated and will stop returning data on December 7, 2026. Going forward, use the offerName property. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Offer @@ -57,7 +57,7 @@ public string Offer set { BackingStore?.Set("offer", value); } } #endif - /// The official display offer name of this gallery image. For example, Windows 11 Enterprise. The offerDisplayName property is deprecated and will stop returning data on January 31, 2024. + /// The official display offer name of this gallery image. For example, Windows 11 Enterprise + Microsoft 365 Apps. The offerDisplayName property is deprecated and will stop returning data on December 7, 2026. Going forward, use the displayName property. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? OfferDisplayName @@ -105,7 +105,7 @@ public string OsVersionNumber set { BackingStore?.Set("osVersionNumber", value); } } #endif - /// The publisher name of this gallery image that is passed to ARM to retrieve the image resource. Read-only. The publisher property is deprecated and will stop returning data on January 31, 2024. Going forward, use the publisherName property. + /// The publisher name of this gallery image that is passed to ARM to retrieve the image resource. Read-only. The publisher property is deprecated and will stop returning data on December 7, 2026. Going forward, use the publisherName property. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Publisher @@ -137,7 +137,7 @@ public string PublisherName set { BackingStore?.Set("publisherName", value); } } #endif - /// The recommended Cloud PC SKU for this gallery image. Read-only. The recommendedSku property is deprecated and will stop returning data on January 31, 2024. + /// The recommended Cloud PC SKU for this gallery image. Read-only. The recommendedSku property is deprecated and will stop returning data on December 7, 2026. No replacement is planned. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RecommendedSku @@ -159,7 +159,7 @@ public int? SizeInGB get { return BackingStore?.Get("sizeInGB"); } set { BackingStore?.Set("sizeInGB", value); } } - /// The SKU name of this image that is passed to ARM to retrieve the image resource. Read-only. The sku property is deprecated and will stop returning data on January 31, 2024. Going forward, use the skuName property. + /// The SKU name of this image that is passed to ARM to retrieve the image resource. Read-only. The sku property is deprecated and will stop returning data on December 7, 2026. Going forward, use the skuName property. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Sku @@ -175,7 +175,7 @@ public string Sku set { BackingStore?.Set("sku", value); } } #endif - /// The official display SKU name of this gallery image. For example, 2004. Read-only. The skuDisplayName property is deprecated and will stop returning data on January 31, 2024. + /// The official display SKU name of this gallery image. For example, 22H2. Read-only. The skuDisplayName property is deprecated and will stop returning data on December 7, 2026. Going forward, use the displayName property. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SkuDisplayName diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcSourceDeviceImage.cs b/src/Microsoft.Graph/Generated/Models/CloudPcSourceDeviceImage.cs index 28ddc7b8287a..7cc5bb6e49c1 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcSourceDeviceImage.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcSourceDeviceImage.cs @@ -43,7 +43,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The unique identifier (ID) of the source image. Read-only. The id property is deprecated and will stop returning data on January 31, 2024. Going forward, use the resourceId property. + /// The unique identifier (ID) of the source image. Read-only. The id property is deprecated and will stop returning data on December 7, 2026. Going forward, use the resourceId property. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Id diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcStorageConfiguration.cs b/src/Microsoft.Graph/Generated/Models/CloudPcStorageConfiguration.cs new file mode 100644 index 000000000000..ad9ffbe41fd2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcStorageConfiguration.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPcStorageConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The allocatedStorageSizeCategory property + public global::Microsoft.Graph.Beta.Models.CloudPcUserSettingsPersistenceStorageSizeCategory? AllocatedStorageSizeCategory + { + get { return BackingStore?.Get("allocatedStorageSizeCategory"); } + set { BackingStore?.Set("allocatedStorageSizeCategory", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The storageSizingType property + public global::Microsoft.Graph.Beta.Models.CloudPcStorageSizingType? StorageSizingType + { + get { return BackingStore?.Get("storageSizingType"); } + set { BackingStore?.Set("storageSizingType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcStorageConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CloudPcStorageConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPcStorageConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "allocatedStorageSizeCategory", n => { AllocatedStorageSizeCategory = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "storageSizingType", n => { StorageSizingType = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("allocatedStorageSizeCategory", AllocatedStorageSizeCategory); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("storageSizingType", StorageSizingType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcStorageSizingType.cs b/src/Microsoft.Graph/Generated/Models/CloudPcStorageSizingType.cs new file mode 100644 index 000000000000..4bb7131b2a9d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcStorageSizingType.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CloudPcStorageSizingType + #pragma warning restore CS1591 + { + [EnumMember(Value = "dynamic")] + #pragma warning disable CS1591 + Dynamic, + #pragma warning restore CS1591 + [EnumMember(Value = "fixed")] + #pragma warning disable CS1591 + Fixed, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcUserProfileBulkActionResult.cs b/src/Microsoft.Graph/Generated/Models/CloudPcUserProfileBulkActionResult.cs new file mode 100644 index 000000000000..db570309b5c4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcUserProfileBulkActionResult.cs @@ -0,0 +1,103 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPcUserProfileBulkActionResult : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The failedCount property + public int? FailedCount + { + get { return BackingStore?.Get("failedCount"); } + set { BackingStore?.Set("failedCount", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The totalCount property + public int? TotalCount + { + get { return BackingStore?.Get("totalCount"); } + set { BackingStore?.Set("totalCount", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcUserProfileBulkActionResult() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CloudPcUserProfileBulkActionResult CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.cloudPcUserProfileSnapshotCreateBulkActionResult" => new global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotCreateBulkActionResult(), + "#microsoft.graph.cloudPcUserProfileSnapshotExportBulkActionResult" => new global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotExportBulkActionResult(), + _ => new global::Microsoft.Graph.Beta.Models.CloudPcUserProfileBulkActionResult(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "failedCount", n => { FailedCount = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "totalCount", n => { TotalCount = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteIntValue("failedCount", FailedCount); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("totalCount", TotalCount); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshot.cs b/src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshot.cs new file mode 100644 index 000000000000..f42c5f922c48 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshot.cs @@ -0,0 +1,122 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPcUserProfileSnapshot : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The cloudProfileId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CloudProfileId + { + get { return BackingStore?.Get("cloudProfileId"); } + set { BackingStore?.Set("cloudProfileId", value); } + } +#nullable restore +#else + public string CloudProfileId + { + get { return BackingStore?.Get("cloudProfileId"); } + set { BackingStore?.Set("cloudProfileId", value); } + } +#endif + /// The createdDateTime property + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The expirationDateTime property + public DateTimeOffset? ExpirationDateTime + { + get { return BackingStore?.Get("expirationDateTime"); } + set { BackingStore?.Set("expirationDateTime", value); } + } + /// The lastRestoredDateTime property + public DateTimeOffset? LastRestoredDateTime + { + get { return BackingStore?.Get("lastRestoredDateTime"); } + set { BackingStore?.Set("lastRestoredDateTime", value); } + } + /// The snapshotSizeInGB property + public int? SnapshotSizeInGB + { + get { return BackingStore?.Get("snapshotSizeInGB"); } + set { BackingStore?.Set("snapshotSizeInGB", value); } + } + /// The snapshotType property + public global::Microsoft.Graph.Beta.Models.CloudPcUserSettingsPersistenceSnapshotType? SnapshotType + { + get { return BackingStore?.Get("snapshotType"); } + set { BackingStore?.Set("snapshotType", value); } + } + /// The userPrincipalName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserPrincipalName + { + get { return BackingStore?.Get("userPrincipalName"); } + set { BackingStore?.Set("userPrincipalName", value); } + } +#nullable restore +#else + public string UserPrincipalName + { + get { return BackingStore?.Get("userPrincipalName"); } + set { BackingStore?.Set("userPrincipalName", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "cloudProfileId", n => { CloudProfileId = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "lastRestoredDateTime", n => { LastRestoredDateTime = n.GetDateTimeOffsetValue(); } }, + { "snapshotSizeInGB", n => { SnapshotSizeInGB = n.GetIntValue(); } }, + { "snapshotType", n => { SnapshotType = n.GetEnumValue(); } }, + { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("cloudProfileId", CloudProfileId); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteDateTimeOffsetValue("expirationDateTime", ExpirationDateTime); + writer.WriteDateTimeOffsetValue("lastRestoredDateTime", LastRestoredDateTime); + writer.WriteIntValue("snapshotSizeInGB", SnapshotSizeInGB); + writer.WriteEnumValue("snapshotType", SnapshotType); + writer.WriteStringValue("userPrincipalName", UserPrincipalName); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshotCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshotCollectionResponse.cs new file mode 100644 index 000000000000..6d66a08995e8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshotCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPcUserProfileSnapshotCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshotCreateBulkActionResult.cs b/src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshotCreateBulkActionResult.cs new file mode 100644 index 000000000000..c4c590351354 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshotCreateBulkActionResult.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPcUserProfileSnapshotCreateBulkActionResult : global::Microsoft.Graph.Beta.Models.CloudPcUserProfileBulkActionResult, IParsable + #pragma warning restore CS1591 + { + /// The failedCloudProfileIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? FailedCloudProfileIds + { + get { return BackingStore?.Get?>("failedCloudProfileIds"); } + set { BackingStore?.Set("failedCloudProfileIds", value); } + } +#nullable restore +#else + public List FailedCloudProfileIds + { + get { return BackingStore?.Get>("failedCloudProfileIds"); } + set { BackingStore?.Set("failedCloudProfileIds", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcUserProfileSnapshotCreateBulkActionResult() : base() + { + OdataType = "#microsoft.graph.cloudPcUserProfileSnapshotCreateBulkActionResult"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotCreateBulkActionResult CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotCreateBulkActionResult(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "failedCloudProfileIds", n => { FailedCloudProfileIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfPrimitiveValues("failedCloudProfileIds", FailedCloudProfileIds); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshotExportBulkActionResult.cs b/src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshotExportBulkActionResult.cs new file mode 100644 index 000000000000..8c27f461d745 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshotExportBulkActionResult.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPcUserProfileSnapshotExportBulkActionResult : global::Microsoft.Graph.Beta.Models.CloudPcUserProfileBulkActionResult, IParsable + #pragma warning restore CS1591 + { + /// The failedSnapshotIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? FailedSnapshotIds + { + get { return BackingStore?.Get?>("failedSnapshotIds"); } + set { BackingStore?.Set("failedSnapshotIds", value); } + } +#nullable restore +#else + public List FailedSnapshotIds + { + get { return BackingStore?.Get>("failedSnapshotIds"); } + set { BackingStore?.Set("failedSnapshotIds", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcUserProfileSnapshotExportBulkActionResult() : base() + { + OdataType = "#microsoft.graph.cloudPcUserProfileSnapshotExportBulkActionResult"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotExportBulkActionResult CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotExportBulkActionResult(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "failedSnapshotIds", n => { FailedSnapshotIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfPrimitiveValues("failedSnapshotIds", FailedSnapshotIds); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshotStorageDetail.cs b/src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshotStorageDetail.cs new file mode 100644 index 000000000000..749469f28506 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcUserProfileSnapshotStorageDetail.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPcUserProfileSnapshotStorageDetail : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The accessTier property + public global::Microsoft.Graph.Beta.Models.CloudPcStorageAccountAccessTier? AccessTier + { + get { return BackingStore?.Get("accessTier"); } + set { BackingStore?.Set("accessTier", value); } + } + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The containerName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ContainerName + { + get { return BackingStore?.Get("containerName"); } + set { BackingStore?.Set("containerName", value); } + } +#nullable restore +#else + public string ContainerName + { + get { return BackingStore?.Get("containerName"); } + set { BackingStore?.Set("containerName", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The storageAccountId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? StorageAccountId + { + get { return BackingStore?.Get("storageAccountId"); } + set { BackingStore?.Set("storageAccountId", value); } + } +#nullable restore +#else + public string StorageAccountId + { + get { return BackingStore?.Get("storageAccountId"); } + set { BackingStore?.Set("storageAccountId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcUserProfileSnapshotStorageDetail() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotStorageDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotStorageDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "accessTier", n => { AccessTier = n.GetEnumValue(); } }, + { "containerName", n => { ContainerName = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "storageAccountId", n => { StorageAccountId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("accessTier", AccessTier); + writer.WriteStringValue("containerName", ContainerName); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("storageAccountId", StorageAccountId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcUserSettingsPersistenceSnapshotConfiguration.cs b/src/Microsoft.Graph/Generated/Models/CloudPcUserSettingsPersistenceSnapshotConfiguration.cs new file mode 100644 index 000000000000..26a9866f9c09 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcUserSettingsPersistenceSnapshotConfiguration.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CloudPcUserSettingsPersistenceSnapshotConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The autoSnapshotFrequencyInDays property + public int? AutoSnapshotFrequencyInDays + { + get { return BackingStore?.Get("autoSnapshotFrequencyInDays"); } + set { BackingStore?.Set("autoSnapshotFrequencyInDays", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CloudPcUserSettingsPersistenceSnapshotConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CloudPcUserSettingsPersistenceSnapshotConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CloudPcUserSettingsPersistenceSnapshotConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "autoSnapshotFrequencyInDays", n => { AutoSnapshotFrequencyInDays = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteIntValue("autoSnapshotFrequencyInDays", AutoSnapshotFrequencyInDays); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcUserSettingsPersistenceSnapshotType.cs b/src/Microsoft.Graph/Generated/Models/CloudPcUserSettingsPersistenceSnapshotType.cs new file mode 100644 index 000000000000..39adb824c377 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CloudPcUserSettingsPersistenceSnapshotType.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CloudPcUserSettingsPersistenceSnapshotType + #pragma warning restore CS1591 + { + [EnumMember(Value = "automatic")] + #pragma warning disable CS1591 + Automatic, + #pragma warning restore CS1591 + [EnumMember(Value = "manual")] + #pragma warning disable CS1591 + Manual, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ContentLink.cs b/src/Microsoft.Graph/Generated/Models/ContentLink.cs new file mode 100644 index 000000000000..f01aa970fa24 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ContentLink.cs @@ -0,0 +1,168 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ContentLink : global::Microsoft.Graph.Beta.Models.PlannerDelta, IParsable + #pragma warning restore CS1591 + { + /// Server-computed, read-only capability flags indicating which optional features are enabled for the entity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ContentLinkCapability? Capabilities + { + get { return BackingStore?.Get("capabilities"); } + set { BackingStore?.Set("capabilities", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ContentLinkCapability Capabilities + { + get { return BackingStore?.Get("capabilities"); } + set { BackingStore?.Set("capabilities", value); } + } +#endif + /// Identity of the user (or application) who created the entity. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// Display label for the link. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Custom extension field values set on the entity. Supports $select. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection? Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#endif + /// Identity of the user (or application) who last modified the entity. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#endif + /// Date and time the entity was last modified. The value is represented in ISO 8601 format and is always in UTC time. Read-only. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// Type of content the link points to. The possible values are: documentReference, webReference, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.ContentLinkType? LinkType + { + get { return BackingStore?.Get("linkType"); } + set { BackingStore?.Set("linkType", value); } + } + /// URL the link points to. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? WebUrl + { + get { return BackingStore?.Get("webUrl"); } + set { BackingStore?.Set("webUrl", value); } + } +#nullable restore +#else + public string WebUrl + { + get { return BackingStore?.Get("webUrl"); } + set { BackingStore?.Set("webUrl", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ContentLink CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ContentLink(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "capabilities", n => { Capabilities = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ContentLinkCapability.CreateFromDiscriminatorValue); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "extensions", n => { Extensions = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection.CreateFromDiscriminatorValue); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "linkType", n => { LinkType = n.GetEnumValue(); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteObjectValue("extensions", Extensions); + writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteEnumValue("linkType", LinkType); + writer.WriteStringValue("webUrl", WebUrl); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ContentLinkCapability.cs b/src/Microsoft.Graph/Generated/Models/ContentLinkCapability.cs new file mode 100644 index 000000000000..32f4bcc54a2d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ContentLinkCapability.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ContentLinkCapability : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates whether custom extension fields are enabled for the content link. + public bool? Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ContentLinkCapability() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.ContentLinkCapability CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ContentLinkCapability(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "extensions", n => { Extensions = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("extensions", Extensions); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ContentLinkCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ContentLinkCollectionResponse.cs new file mode 100644 index 000000000000..90621e5e76dc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ContentLinkCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ContentLinkCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.ContentLinkCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ContentLinkCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ContentLink.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ContentLinkType.cs b/src/Microsoft.Graph/Generated/Models/ContentLinkType.cs new file mode 100644 index 000000000000..cc0564489235 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ContentLinkType.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ContentLinkType + #pragma warning restore CS1591 + { + [EnumMember(Value = "documentReference")] + #pragma warning disable CS1591 + DocumentReference, + #pragma warning restore CS1591 + [EnumMember(Value = "webReference")] + #pragma warning disable CS1591 + WebReference, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CostManagementAlertSetting.cs b/src/Microsoft.Graph/Generated/Models/CostManagementAlertSetting.cs new file mode 100644 index 000000000000..8f5ec94a43ac --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CostManagementAlertSetting.cs @@ -0,0 +1,91 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// Notify-only alert configuration for a spending policy. Each policy has at most one,retrieved from its own URL beneath the policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CostManagementAlertSetting : global::Microsoft.Graph.Beta.Models.Entity, IParsable + { + /// Whether alerting is enabled. + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// The directory users notified when a threshold is crossed. The address is resolved at sendtime, so a recipient survives a mailbox change. Managed with $ref add and remove. Areference that does not resolve to a user in the tenant is rejected withalertRecipientNotFound. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Recipients + { + get { return BackingStore?.Get?>("recipients"); } + set { BackingStore?.Set("recipients", value); } + } +#nullable restore +#else + public List Recipients + { + get { return BackingStore?.Get>("recipients"); } + set { BackingStore?.Set("recipients", value); } + } +#endif + /// The configured thresholds. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Thresholds + { + get { return BackingStore?.Get?>("thresholds"); } + set { BackingStore?.Set("thresholds", value); } + } +#nullable restore +#else + public List Thresholds + { + get { return BackingStore?.Get>("thresholds"); } + set { BackingStore?.Set("thresholds", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CostManagementAlertSetting CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CostManagementAlertSetting(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "recipients", n => { Recipients = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.User.CreateFromDiscriminatorValue)?.AsList(); } }, + { "thresholds", n => { Thresholds = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CostManagementAlertThreshold.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteCollectionOfObjectValues("recipients", Recipients); + writer.WriteCollectionOfObjectValues("thresholds", Thresholds); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CostManagementAlertThreshold.cs b/src/Microsoft.Graph/Generated/Models/CostManagementAlertThreshold.cs new file mode 100644 index 000000000000..24f88e871dee --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CostManagementAlertThreshold.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// A single notify-only alert threshold. Every threshold is one of its derived types,identified by @odata.type on create. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CostManagementAlertThreshold : IAdditionalDataHolder, IBackedModel, IParsable + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The threshold value. Its permitted range is set by the derived type. + public double? Value + { + get { return BackingStore?.Get("value"); } + set { BackingStore?.Set("value", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CostManagementAlertThreshold() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CostManagementAlertThreshold CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.absoluteCostManagementAlertThreshold" => new global::Microsoft.Graph.Beta.Models.AbsoluteCostManagementAlertThreshold(), + "#microsoft.graph.percentageCostManagementAlertThreshold" => new global::Microsoft.Graph.Beta.Models.PercentageCostManagementAlertThreshold(), + _ => new global::Microsoft.Graph.Beta.Models.CostManagementAlertThreshold(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "value", n => { Value = n.GetDoubleValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteDoubleValue("value", Value); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CostManagementBillingMethods.cs b/src/Microsoft.Graph/Generated/Models/CostManagementBillingMethods.cs new file mode 100644 index 000000000000..ce6803c65f58 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CostManagementBillingMethods.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// How Copilot consumption is billed when more than one method may apply. This is a flags enum,so combined values such as prepaidCredits,payAsYouGo are valid. + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + public enum CostManagementBillingMethods + { + /// No billing method is known or was specified. + [EnumMember(Value = "notSpecified")] + NotSpecified = 1, + /// Prepaid Copilot Credits, purchased through the P3 pre-purchase plan. + [EnumMember(Value = "prepaidCredits")] + PrepaidCredits = 2, + /// Consumption billed on demand, with no prepaid pool. + [EnumMember(Value = "payAsYouGo")] + PayAsYouGo = 4, + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue = 8, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CostManagementDataStatus.cs b/src/Microsoft.Graph/Generated/Models/CostManagementDataStatus.cs new file mode 100644 index 000000000000..015450225ff9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CostManagementDataStatus.cs @@ -0,0 +1,90 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// Last modification time for the source data represented by a result. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CostManagementDataStatus : IAdditionalDataHolder, IBackedModel, IParsable + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// When the underlying data was last modified, not when the request was received. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CostManagementDataStatus() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CostManagementDataStatus CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CostManagementDataStatus(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CostManagementQuantity.cs b/src/Microsoft.Graph/Generated/Models/CostManagementQuantity.cs new file mode 100644 index 000000000000..8a02549d849e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CostManagementQuantity.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// A unit-bearing quantity that is either limited to a value or unlimited. Every quantity isone of its derived types, identified by @odata.type on create. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CostManagementQuantity : IAdditionalDataHolder, IBackedModel, IParsable + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Unit in which consumption quantities are expressed. Values are consumption units, not currency. + public global::Microsoft.Graph.Beta.Models.CostManagementUnit? Unit + { + get { return BackingStore?.Get("unit"); } + set { BackingStore?.Set("unit", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CostManagementQuantity() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CostManagementQuantity CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.limitedCostManagementQuantity" => new global::Microsoft.Graph.Beta.Models.LimitedCostManagementQuantity(), + "#microsoft.graph.unlimitedCostManagementQuantity" => new global::Microsoft.Graph.Beta.Models.UnlimitedCostManagementQuantity(), + _ => new global::Microsoft.Graph.Beta.Models.CostManagementQuantity(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "unit", n => { Unit = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("unit", Unit); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CostManagementRoot.cs b/src/Microsoft.Graph/Generated/Models/CostManagementRoot.cs new file mode 100644 index 000000000000..10feea95f745 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CostManagementRoot.cs @@ -0,0 +1,83 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// The Copilot Cost Management administration root. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CostManagementRoot : global::Microsoft.Graph.Beta.Models.Entity, IParsable + { + /// The spending policies that govern Copilot Credits consumption. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SpendingPolicies + { + get { return BackingStore?.Get?>("spendingPolicies"); } + set { BackingStore?.Set("spendingPolicies", value); } + } +#nullable restore +#else + public List SpendingPolicies + { + get { return BackingStore?.Get>("spendingPolicies"); } + set { BackingStore?.Set("spendingPolicies", value); } + } +#endif + /// Per-user consumption balances, addressed by the user's identifier. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? UserBalances + { + get { return BackingStore?.Get?>("userBalances"); } + set { BackingStore?.Set("userBalances", value); } + } +#nullable restore +#else + public List UserBalances + { + get { return BackingStore?.Get>("userBalances"); } + set { BackingStore?.Set("userBalances", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CostManagementRoot CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CostManagementRoot(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "spendingPolicies", n => { SpendingPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.SpendingPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, + { "userBalances", n => { UserBalances = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CostManagementUserBalance.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("spendingPolicies", SpendingPolicies); + writer.WriteCollectionOfObjectValues("userBalances", UserBalances); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CostManagementUnevaluatedService.cs b/src/Microsoft.Graph/Generated/Models/CostManagementUnevaluatedService.cs new file mode 100644 index 000000000000..04fff363cb10 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CostManagementUnevaluatedService.cs @@ -0,0 +1,108 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// A service whose balance could not be evaluated for the user, reported instead of anunreliable costManagementUserServiceBalance row. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CostManagementUnevaluatedService : IAdditionalDataHolder, IBackedModel, IParsable + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The reason a service's balance could not be evaluated for the user. + public global::Microsoft.Graph.Beta.Models.BalanceEvaluationFailureReason? Reason + { + get { return BackingStore?.Get("reason"); } + set { BackingStore?.Set("reason", value); } + } + /// The service identifier whose balance could not be evaluated. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ServiceId + { + get { return BackingStore?.Get("serviceId"); } + set { BackingStore?.Set("serviceId", value); } + } +#nullable restore +#else + public string ServiceId + { + get { return BackingStore?.Get("serviceId"); } + set { BackingStore?.Set("serviceId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CostManagementUnevaluatedService() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CostManagementUnevaluatedService CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CostManagementUnevaluatedService(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "reason", n => { Reason = n.GetEnumValue(); } }, + { "serviceId", n => { ServiceId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("reason", Reason); + writer.WriteStringValue("serviceId", ServiceId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CostManagementUnit.cs b/src/Microsoft.Graph/Generated/Models/CostManagementUnit.cs new file mode 100644 index 000000000000..b096021b883f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CostManagementUnit.cs @@ -0,0 +1,17 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// Unit in which consumption quantities are expressed. Values are consumption units, not currency. + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public enum CostManagementUnit + { + /// The current Copilot Credits consumption unit. + [EnumMember(Value = "copilotCredit")] + CopilotCredit, + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CostManagementUserBalance.cs b/src/Microsoft.Graph/Generated/Models/CostManagementUserBalance.cs new file mode 100644 index 000000000000..2484c818d2d0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CostManagementUserBalance.cs @@ -0,0 +1,100 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// A user's computed per-service consumption balance. Addressed by the user's identifier; onebalance resource exists per user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CostManagementUserBalance : global::Microsoft.Graph.Beta.Models.Entity, IParsable + { + /// Freshness of each source that contributed to a computed balance or selection. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.SelectionDataStatus? SelectionDataStatus + { + get { return BackingStore?.Get("selectionDataStatus"); } + set { BackingStore?.Set("selectionDataStatus", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.SelectionDataStatus SelectionDataStatus + { + get { return BackingStore?.Get("selectionDataStatus"); } + set { BackingStore?.Set("selectionDataStatus", value); } + } +#endif + /// Per-service balance rows for the user. Services listed in unevaluatedServices areomitted. Expand to inline them. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ServiceBalances + { + get { return BackingStore?.Get?>("serviceBalances"); } + set { BackingStore?.Set("serviceBalances", value); } + } +#nullable restore +#else + public List ServiceBalances + { + get { return BackingStore?.Get>("serviceBalances"); } + set { BackingStore?.Set("serviceBalances", value); } + } +#endif + /// Services whose balance could not be evaluated. Empty on a fully successful read; anon-empty collection means the result is partial. When no service could be evaluated, therequest fails with 503 sourceUnavailable. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? UnevaluatedServices + { + get { return BackingStore?.Get?>("unevaluatedServices"); } + set { BackingStore?.Set("unevaluatedServices", value); } + } +#nullable restore +#else + public List UnevaluatedServices + { + get { return BackingStore?.Get>("unevaluatedServices"); } + set { BackingStore?.Set("unevaluatedServices", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CostManagementUserBalance CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CostManagementUserBalance(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "selectionDataStatus", n => { SelectionDataStatus = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SelectionDataStatus.CreateFromDiscriminatorValue); } }, + { "serviceBalances", n => { ServiceBalances = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CostManagementUserServiceBalance.CreateFromDiscriminatorValue)?.AsList(); } }, + { "unevaluatedServices", n => { UnevaluatedServices = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CostManagementUnevaluatedService.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("selectionDataStatus", SelectionDataStatus); + writer.WriteCollectionOfObjectValues("serviceBalances", ServiceBalances); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CostManagementUserServiceBalance.cs b/src/Microsoft.Graph/Generated/Models/CostManagementUserServiceBalance.cs new file mode 100644 index 000000000000..fd2a16915e3a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CostManagementUserServiceBalance.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// Per-service balance and enforcement-selection diagnosis for a user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CostManagementUserServiceBalance : IAdditionalDataHolder, IBackedModel, IParsable + { + /// The reason for a user's access decision for a service. + public global::Microsoft.Graph.Beta.Models.AccessDecisionReason? AccessDecisionReason + { + get { return BackingStore?.Get("accessDecisionReason"); } + set { BackingStore?.Set("accessDecisionReason", value); } + } + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// A unit-bearing quantity that is either limited to a value or unlimited. Every quantity isone of its derived types, identified by @odata.type on create. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CostManagementQuantity? ConfiguredPeriodLimit + { + get { return BackingStore?.Get("configuredPeriodLimit"); } + set { BackingStore?.Set("configuredPeriodLimit", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CostManagementQuantity ConfiguredPeriodLimit + { + get { return BackingStore?.Get("configuredPeriodLimit"); } + set { BackingStore?.Set("configuredPeriodLimit", value); } + } +#endif + /// A unit-bearing quantity that is either limited to a value or unlimited. Every quantity isone of its derived types, identified by @odata.type on create. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CostManagementQuantity? ConfiguredPerUserLimit + { + get { return BackingStore?.Get("configuredPerUserLimit"); } + set { BackingStore?.Set("configuredPerUserLimit", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CostManagementQuantity ConfiguredPerUserLimit + { + get { return BackingStore?.Get("configuredPerUserLimit"); } + set { BackingStore?.Set("configuredPerUserLimit", value); } + } +#endif + /// Measured consumption for the selected service context, counted from the start of thecurrent period: month-to-date in UTC. + public double? ConsumedQuantity + { + get { return BackingStore?.Get("consumedQuantity"); } + set { BackingStore?.Set("consumedQuantity", value); } + } + /// Last modification time for the source data represented by a result. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CostManagementDataStatus? DataStatus + { + get { return BackingStore?.Get("dataStatus"); } + set { BackingStore?.Set("dataStatus", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CostManagementDataStatus DataStatus + { + get { return BackingStore?.Get("dataStatus"); } + set { BackingStore?.Set("dataStatus", value); } + } +#endif + /// A unit-bearing quantity that is either limited to a value or unlimited. Every quantity isone of its derived types, identified by @odata.type on create. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CostManagementQuantity? EffectiveCapacityQuantity + { + get { return BackingStore?.Get("effectiveCapacityQuantity"); } + set { BackingStore?.Set("effectiveCapacityQuantity", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CostManagementQuantity EffectiveCapacityQuantity + { + get { return BackingStore?.Get("effectiveCapacityQuantity"); } + set { BackingStore?.Set("effectiveCapacityQuantity", value); } + } +#endif + /// Whether the user can currently consume the service. False covers both an entitlement gateand an exhausted limit; accessDecisionReason states which one applies. + public bool? IsConsumptionAllowed + { + get { return BackingStore?.Get("isConsumptionAllowed"); } + set { BackingStore?.Set("isConsumptionAllowed", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// A unit-bearing quantity that is either limited to a value or unlimited. Every quantity isone of its derived types, identified by @odata.type on create. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CostManagementQuantity? RemainingQuantity + { + get { return BackingStore?.Get("remainingQuantity"); } + set { BackingStore?.Set("remainingQuantity", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CostManagementQuantity RemainingQuantity + { + get { return BackingStore?.Get("remainingQuantity"); } + set { BackingStore?.Set("remainingQuantity", value); } + } +#endif + /// The service identifier. A user holds at most one balance per service. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ServiceId + { + get { return BackingStore?.Get("serviceId"); } + set { BackingStore?.Set("serviceId", value); } + } +#nullable restore +#else + public string ServiceId + { + get { return BackingStore?.Get("serviceId"); } + set { BackingStore?.Set("serviceId", value); } + } +#endif + /// The identifier of the spending policy selected for this service. Always present: aservice with no selected policy is reported incostManagementUserBalance.unevaluatedServices instead of as a balance row. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SpendingPolicyId + { + get { return BackingStore?.Get("spendingPolicyId"); } + set { BackingStore?.Set("spendingPolicyId", value); } + } +#nullable restore +#else + public string SpendingPolicyId + { + get { return BackingStore?.Get("spendingPolicyId"); } + set { BackingStore?.Set("spendingPolicyId", value); } + } +#endif + /// Unit in which consumption quantities are expressed. Values are consumption units, not currency. + public global::Microsoft.Graph.Beta.Models.CostManagementUnit? Unit + { + get { return BackingStore?.Get("unit"); } + set { BackingStore?.Set("unit", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CostManagementUserServiceBalance() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CostManagementUserServiceBalance CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CostManagementUserServiceBalance(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "accessDecisionReason", n => { AccessDecisionReason = n.GetEnumValue(); } }, + { "configuredPerUserLimit", n => { ConfiguredPerUserLimit = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CostManagementQuantity.CreateFromDiscriminatorValue); } }, + { "configuredPeriodLimit", n => { ConfiguredPeriodLimit = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CostManagementQuantity.CreateFromDiscriminatorValue); } }, + { "consumedQuantity", n => { ConsumedQuantity = n.GetDoubleValue(); } }, + { "dataStatus", n => { DataStatus = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CostManagementDataStatus.CreateFromDiscriminatorValue); } }, + { "effectiveCapacityQuantity", n => { EffectiveCapacityQuantity = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CostManagementQuantity.CreateFromDiscriminatorValue); } }, + { "isConsumptionAllowed", n => { IsConsumptionAllowed = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "remainingQuantity", n => { RemainingQuantity = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CostManagementQuantity.CreateFromDiscriminatorValue); } }, + { "serviceId", n => { ServiceId = n.GetStringValue(); } }, + { "spendingPolicyId", n => { SpendingPolicyId = n.GetStringValue(); } }, + { "unit", n => { Unit = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("accessDecisionReason", AccessDecisionReason); + writer.WriteObjectValue("configuredPeriodLimit", ConfiguredPeriodLimit); + writer.WriteObjectValue("configuredPerUserLimit", ConfiguredPerUserLimit); + writer.WriteDoubleValue("consumedQuantity", ConsumedQuantity); + writer.WriteObjectValue("dataStatus", DataStatus); + writer.WriteObjectValue("effectiveCapacityQuantity", EffectiveCapacityQuantity); + writer.WriteBoolValue("isConsumptionAllowed", IsConsumptionAllowed); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("remainingQuantity", RemainingQuantity); + writer.WriteEnumValue("unit", Unit); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CreationInfo.cs b/src/Microsoft.Graph/Generated/Models/CreationInfo.cs new file mode 100644 index 000000000000..9d035ac53df1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CreationInfo.cs @@ -0,0 +1,197 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CreationInfo : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Identity of the user (or application) that created the entity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// Date and time the entity was created. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// Identifier of the entity in an external system, if it originated outside Planner. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExternalId + { + get { return BackingStore?.Get("externalId"); } + set { BackingStore?.Set("externalId", value); } + } +#nullable restore +#else + public string ExternalId + { + get { return BackingStore?.Get("externalId"); } + set { BackingStore?.Set("externalId", value); } + } +#endif + /// URL of the entity in the external system, if applicable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExternalUrl + { + get { return BackingStore?.Get("externalUrl"); } + set { BackingStore?.Set("externalUrl", value); } + } +#nullable restore +#else + public string ExternalUrl + { + get { return BackingStore?.Get("externalUrl"); } + set { BackingStore?.Set("externalUrl", value); } + } +#endif + /// Version of the entity in the external system, if applicable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ExternalVersion + { + get { return BackingStore?.Get("externalVersion"); } + set { BackingStore?.Set("externalVersion", value); } + } +#nullable restore +#else + public string ExternalVersion + { + get { return BackingStore?.Get("externalVersion"); } + set { BackingStore?.Set("externalVersion", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Identifier of the scenario or workflow that created the entity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ScenarioId + { + get { return BackingStore?.Get("scenarioId"); } + set { BackingStore?.Set("scenarioId", value); } + } +#nullable restore +#else + public string ScenarioId + { + get { return BackingStore?.Get("scenarioId"); } + set { BackingStore?.Set("scenarioId", value); } + } +#endif + /// Scope the entity was created in. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Scope + { + get { return BackingStore?.Get("scope"); } + set { BackingStore?.Set("scope", value); } + } +#nullable restore +#else + public string Scope + { + get { return BackingStore?.Get("scope"); } + set { BackingStore?.Set("scope", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CreationInfo() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CreationInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CreationInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "externalId", n => { ExternalId = n.GetStringValue(); } }, + { "externalUrl", n => { ExternalUrl = n.GetStringValue(); } }, + { "externalVersion", n => { ExternalVersion = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "scenarioId", n => { ScenarioId = n.GetStringValue(); } }, + { "scope", n => { Scope = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("createdBy", CreatedBy); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteStringValue("externalId", ExternalId); + writer.WriteStringValue("externalUrl", ExternalUrl); + writer.WriteStringValue("externalVersion", ExternalVersion); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("scenarioId", ScenarioId); + writer.WriteStringValue("scope", Scope); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CreationTimestamp.cs b/src/Microsoft.Graph/Generated/Models/CreationTimestamp.cs new file mode 100644 index 000000000000..5a09f5100b32 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CreationTimestamp.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CreationTimestamp : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Identity of the user (or application) associated with the action. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// Date and time the action occurred. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public CreationTimestamp() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.CreationTimestamp CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CreationTimestamp(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("createdBy", CreatedBy); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CustomChoiceOption.cs b/src/Microsoft.Graph/Generated/Models/CustomChoiceOption.cs new file mode 100644 index 000000000000..1f1afed4c6b1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CustomChoiceOption.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CustomChoiceOption : global::Microsoft.Graph.Beta.Models.PlannerDelta, IParsable + #pragma warning restore CS1591 + { + /// Display text of the choice option. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Custom extension field values set on the entity. Supports $select. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection? Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CustomChoiceOption CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CustomChoiceOption(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "extensions", n => { Extensions = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteObjectValue("extensions", Extensions); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CustomFieldDefinition.cs b/src/Microsoft.Graph/Generated/Models/CustomFieldDefinition.cs new file mode 100644 index 000000000000..52533cdfe9b1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CustomFieldDefinition.cs @@ -0,0 +1,208 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CustomFieldDefinition : global::Microsoft.Graph.Beta.Models.PlannerDelta, IParsable + #pragma warning restore CS1591 + { + /// Information about whether the entity is archived, and when it was archived. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.PlannerArchivalInfo? ArchivalInfo + { + get { return BackingStore?.Get("archivalInfo"); } + set { BackingStore?.Set("archivalInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.PlannerArchivalInfo ArchivalInfo + { + get { return BackingStore?.Get("archivalInfo"); } + set { BackingStore?.Set("archivalInfo", value); } + } +#endif + /// The collection of selectable choice options for a single-choice or multiple-choice custom field. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ChoiceOptions + { + get { return BackingStore?.Get?>("choiceOptions"); } + set { BackingStore?.Set("choiceOptions", value); } + } +#nullable restore +#else + public List ChoiceOptions + { + get { return BackingStore?.Get>("choiceOptions"); } + set { BackingStore?.Set("choiceOptions", value); } + } +#endif + /// Identity of the user (or application) who created the entity. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// Date and time the entity was created. The value is represented in ISO 8601 format and is always in UTC time. Read-only. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// Identity of the user who deleted the custom field definition, if it was deleted. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? DeletedBy + { + get { return BackingStore?.Get("deletedBy"); } + set { BackingStore?.Set("deletedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet DeletedBy + { + get { return BackingStore?.Get("deletedBy"); } + set { BackingStore?.Set("deletedBy", value); } + } +#endif + /// Date and time the custom field definition was deleted, if applicable. + public DateTimeOffset? DeletedDateTime + { + get { return BackingStore?.Get("deletedDateTime"); } + set { BackingStore?.Set("deletedDateTime", value); } + } + /// Name of the custom field. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Identity of the user (or application) who last modified the entity. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#endif + /// Date and time the entity was last modified. The value is represented in ISO 8601 format and is always in UTC time. Read-only. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// ID of the plan the custom field is defined on. Required, and immutable after creation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlanId + { + get { return BackingStore?.Get("planId"); } + set { BackingStore?.Set("planId", value); } + } +#nullable restore +#else + public string PlanId + { + get { return BackingStore?.Get("planId"); } + set { BackingStore?.Set("planId", value); } + } +#endif + /// How values of this custom field are rolled up across tasks. The possible values are: noRollup, max, min, sum, average, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.CustomFieldRollupType? RollupType + { + get { return BackingStore?.Get("rollupType"); } + set { BackingStore?.Set("rollupType", value); } + } + /// Data type of the custom field's values.. The possible values are: text, date, utcDateTime, number, decimal, flag, singleChoiceText, multipleChoiceText, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.CustomFieldValueType? ValueType + { + get { return BackingStore?.Get("valueType"); } + set { BackingStore?.Set("valueType", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CustomFieldDefinition CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CustomFieldDefinition(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "archivalInfo", n => { ArchivalInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PlannerArchivalInfo.CreateFromDiscriminatorValue); } }, + { "choiceOptions", n => { ChoiceOptions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CustomChoiceOption.CreateFromDiscriminatorValue)?.AsList(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "deletedBy", n => { DeletedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "deletedDateTime", n => { DeletedDateTime = n.GetDateTimeOffsetValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "planId", n => { PlanId = n.GetStringValue(); } }, + { "rollupType", n => { RollupType = n.GetEnumValue(); } }, + { "valueType", n => { ValueType = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("archivalInfo", ArchivalInfo); + writer.WriteCollectionOfObjectValues("choiceOptions", ChoiceOptions); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteStringValue("planId", PlanId); + writer.WriteEnumValue("rollupType", RollupType); + writer.WriteEnumValue("valueType", ValueType); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CustomFieldDefinitionCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/CustomFieldDefinitionCollectionResponse.cs new file mode 100644 index 000000000000..ceeac09a131b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CustomFieldDefinitionCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CustomFieldDefinitionCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CustomFieldDefinitionCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CustomFieldDefinitionCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CustomFieldDefinition.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CustomFieldRollupType.cs b/src/Microsoft.Graph/Generated/Models/CustomFieldRollupType.cs new file mode 100644 index 000000000000..cfbbe4428a82 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CustomFieldRollupType.cs @@ -0,0 +1,36 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CustomFieldRollupType + #pragma warning restore CS1591 + { + [EnumMember(Value = "noRollup")] + #pragma warning disable CS1591 + NoRollup, + #pragma warning restore CS1591 + [EnumMember(Value = "max")] + #pragma warning disable CS1591 + Max, + #pragma warning restore CS1591 + [EnumMember(Value = "min")] + #pragma warning disable CS1591 + Min, + #pragma warning restore CS1591 + [EnumMember(Value = "sum")] + #pragma warning disable CS1591 + Sum, + #pragma warning restore CS1591 + [EnumMember(Value = "average")] + #pragma warning disable CS1591 + Average, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/CustomFieldValue.cs b/src/Microsoft.Graph/Generated/Models/CustomFieldValue.cs new file mode 100644 index 000000000000..6689ffe90519 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CustomFieldValue.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CustomFieldValue : global::Microsoft.Graph.Beta.Models.PlannerDelta, IParsable + #pragma warning restore CS1591 + { + /// ID of the customFieldDefinition this value is for. Immutable after creation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomFieldDefinitionId + { + get { return BackingStore?.Get("customFieldDefinitionId"); } + set { BackingStore?.Set("customFieldDefinitionId", value); } + } +#nullable restore +#else + public string CustomFieldDefinitionId + { + get { return BackingStore?.Get("customFieldDefinitionId"); } + set { BackingStore?.Set("customFieldDefinitionId", value); } + } +#endif + /// The value of the custom field, formatted according to the field's valueType. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Value + { + get { return BackingStore?.Get("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public string Value + { + get { return BackingStore?.Get("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CustomFieldValue CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CustomFieldValue(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "customFieldDefinitionId", n => { CustomFieldDefinitionId = n.GetStringValue(); } }, + { "value", n => { Value = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("customFieldDefinitionId", CustomFieldDefinitionId); + writer.WriteStringValue("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CustomFieldValueCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/CustomFieldValueCollectionResponse.cs new file mode 100644 index 000000000000..9ba0f33fb89b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CustomFieldValueCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CustomFieldValueCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.CustomFieldValueCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.CustomFieldValueCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CustomFieldValue.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CustomFieldValueType.cs b/src/Microsoft.Graph/Generated/Models/CustomFieldValueType.cs new file mode 100644 index 000000000000..638aa3daa05d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CustomFieldValueType.cs @@ -0,0 +1,48 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum CustomFieldValueType + #pragma warning restore CS1591 + { + [EnumMember(Value = "text")] + #pragma warning disable CS1591 + Text, + #pragma warning restore CS1591 + [EnumMember(Value = "date")] + #pragma warning disable CS1591 + Date, + #pragma warning restore CS1591 + [EnumMember(Value = "utcDateTime")] + #pragma warning disable CS1591 + UtcDateTime, + #pragma warning restore CS1591 + [EnumMember(Value = "number")] + #pragma warning disable CS1591 + Number, + #pragma warning restore CS1591 + [EnumMember(Value = "decimal")] + #pragma warning disable CS1591 + Decimal, + #pragma warning restore CS1591 + [EnumMember(Value = "flag")] + #pragma warning disable CS1591 + Flag, + #pragma warning restore CS1591 + [EnumMember(Value = "singleChoiceText")] + #pragma warning disable CS1591 + SingleChoiceText, + #pragma warning restore CS1591 + [EnumMember(Value = "multipleChoiceText")] + #pragma warning disable CS1591 + MultipleChoiceText, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/DateWithOptionalTime.cs b/src/Microsoft.Graph/Generated/Models/DateWithOptionalTime.cs new file mode 100644 index 000000000000..4c3945e2ddf1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DateWithOptionalTime.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DateWithOptionalTime : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The date component of the value. + public Date? Date + { + get { return BackingStore?.Get("date"); } + set { BackingStore?.Set("date", value); } + } + /// Indicates whether a specific time (not just a date) was provided. + public bool? IsTimeSpecified + { + get { return BackingStore?.Get("isTimeSpecified"); } + set { BackingStore?.Set("isTimeSpecified", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The optional time-of-day component of the value. + public Time? Time + { + get { return BackingStore?.Get("time"); } + set { BackingStore?.Set("time", value); } + } + /// Time zone the time value is expressed in, if time is set. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TimeZone + { + get { return BackingStore?.Get("timeZone"); } + set { BackingStore?.Set("timeZone", value); } + } +#nullable restore +#else + public string TimeZone + { + get { return BackingStore?.Get("timeZone"); } + set { BackingStore?.Set("timeZone", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DateWithOptionalTime() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.DateWithOptionalTime CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.DateWithOptionalTime(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "date", n => { Date = n.GetDateValue(); } }, + { "isTimeSpecified", n => { IsTimeSpecified = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "time", n => { Time = n.GetTimeValue(); } }, + { "timeZone", n => { TimeZone = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateValue("date", Date); + writer.WriteBoolValue("isTimeSpecified", IsTimeSpecified); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteTimeValue("time", Time); + writer.WriteStringValue("timeZone", TimeZone); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DeletedItemContainer.cs b/src/Microsoft.Graph/Generated/Models/DeletedItemContainer.cs index a04777f7c08f..815c6841b01d 100644 --- a/src/Microsoft.Graph/Generated/Models/DeletedItemContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/DeletedItemContainer.cs @@ -13,6 +13,22 @@ namespace Microsoft.Graph.Beta.Models public partial class DeletedItemContainer : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { + /// Deleted lifecycle policies that can be restored. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? LifecyclePolicies + { + get { return BackingStore?.Get?>("lifecyclePolicies"); } + set { BackingStore?.Set("lifecyclePolicies", value); } + } +#nullable restore +#else + public List LifecyclePolicies + { + get { return BackingStore?.Get>("lifecyclePolicies"); } + set { BackingStore?.Set("lifecyclePolicies", value); } + } +#endif /// Deleted workflows that end up in the deletedItemsContainer. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -47,6 +63,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "lifecyclePolicies", n => { LifecyclePolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "workflows", n => { Workflows = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.Workflow.CreateFromDiscriminatorValue)?.AsList(); } }, }; } @@ -58,6 +75,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteCollectionOfObjectValues("lifecyclePolicies", LifecyclePolicies); writer.WriteCollectionOfObjectValues("workflows", Workflows); } } diff --git a/src/Microsoft.Graph/Generated/Models/Dependency.cs b/src/Microsoft.Graph/Generated/Models/Dependency.cs new file mode 100644 index 000000000000..792c05745c62 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Dependency.cs @@ -0,0 +1,169 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Dependency : global::Microsoft.Graph.Beta.Models.PlannerDelta, IParsable + #pragma warning restore CS1591 + { + /// Information about whether the entity is archived, and when it was archived. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.PlannerArchivalInfo? ArchivalInfo + { + get { return BackingStore?.Get("archivalInfo"); } + set { BackingStore?.Set("archivalInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.PlannerArchivalInfo ArchivalInfo + { + get { return BackingStore?.Get("archivalInfo"); } + set { BackingStore?.Set("archivalInfo", value); } + } +#endif + /// The constraint property + public global::Microsoft.Graph.Beta.Models.DependencyType? Constraint + { + get { return BackingStore?.Get("constraint"); } + set { BackingStore?.Set("constraint", value); } + } + /// Read-only creation metadata for the entity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CreationInfo? CreationInfo + { + get { return BackingStore?.Get("creationInfo"); } + set { BackingStore?.Set("creationInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CreationInfo CreationInfo + { + get { return BackingStore?.Get("creationInfo"); } + set { BackingStore?.Set("creationInfo", value); } + } +#endif + /// Custom extension field values set on the entity. Supports $select. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection? Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#endif + /// Identity of the user (or application) who last modified the entity. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#endif + /// Date and time the entity was last modified. The value is represented in ISO 8601 format and is always in UTC time. Read-only. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// ID of the source item in the dependency. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SourceItemId + { + get { return BackingStore?.Get("sourceItemId"); } + set { BackingStore?.Set("sourceItemId", value); } + } +#nullable restore +#else + public string SourceItemId + { + get { return BackingStore?.Get("sourceItemId"); } + set { BackingStore?.Set("sourceItemId", value); } + } +#endif + /// ID of the target item in the dependency. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TargetItemId + { + get { return BackingStore?.Get("targetItemId"); } + set { BackingStore?.Set("targetItemId", value); } + } +#nullable restore +#else + public string TargetItemId + { + get { return BackingStore?.Get("targetItemId"); } + set { BackingStore?.Set("targetItemId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Dependency CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Dependency(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "archivalInfo", n => { ArchivalInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PlannerArchivalInfo.CreateFromDiscriminatorValue); } }, + { "constraint", n => { Constraint = n.GetEnumValue(); } }, + { "creationInfo", n => { CreationInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CreationInfo.CreateFromDiscriminatorValue); } }, + { "extensions", n => { Extensions = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection.CreateFromDiscriminatorValue); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "sourceItemId", n => { SourceItemId = n.GetStringValue(); } }, + { "targetItemId", n => { TargetItemId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("archivalInfo", ArchivalInfo); + writer.WriteEnumValue("constraint", Constraint); + writer.WriteObjectValue("extensions", Extensions); + writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteStringValue("sourceItemId", SourceItemId); + writer.WriteStringValue("targetItemId", TargetItemId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DependencyCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/DependencyCollectionResponse.cs new file mode 100644 index 000000000000..f24b72bd9b0b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DependencyCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DependencyCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.DependencyCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.DependencyCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Dependency.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DependencyType.cs b/src/Microsoft.Graph/Generated/Models/DependencyType.cs new file mode 100644 index 000000000000..ef0dbdb040ff --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DependencyType.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum DependencyType + #pragma warning restore CS1591 + { + [EnumMember(Value = "sourceFinishDrivesTargetStart")] + #pragma warning disable CS1591 + SourceFinishDrivesTargetStart, + #pragma warning restore CS1591 + [EnumMember(Value = "sourceStartDrivesTargetStart")] + #pragma warning disable CS1591 + SourceStartDrivesTargetStart, + #pragma warning restore CS1591 + [EnumMember(Value = "sourceFinishDrivesTargetFinish")] + #pragma warning disable CS1591 + SourceFinishDrivesTargetFinish, + #pragma warning restore CS1591 + [EnumMember(Value = "targetStartDrivesSourceFinish")] + #pragma warning disable CS1591 + TargetStartDrivesSourceFinish, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/DeviceAndAppManagementAssignmentFilter.cs b/src/Microsoft.Graph/Generated/Models/DeviceAndAppManagementAssignmentFilter.cs index 76dd3b500cbb..b2541d01bfef 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceAndAppManagementAssignmentFilter.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceAndAppManagementAssignmentFilter.cs @@ -57,6 +57,12 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif + /// Represents the mode used by the service to evaluate an assignment filter. + public global::Microsoft.Graph.Beta.Models.AssignmentFilterEvaluationMode? EvaluationMode + { + get { return BackingStore?.Get("evaluationMode"); } + set { BackingStore?.Set("evaluationMode", value); } + } /// Last modified time of the Assignment Filter. The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z' public DateTimeOffset? LastModifiedDateTime { @@ -144,6 +150,7 @@ public override IDictionary> GetFieldDeserializers() { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, { "description", n => { Description = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "evaluationMode", n => { EvaluationMode = n.GetEnumValue(); } }, { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, { "payloads", n => { Payloads = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PayloadByFilter.CreateFromDiscriminatorValue)?.AsList(); } }, { "platform", n => { Platform = n.GetEnumValue(); } }, @@ -163,6 +170,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); writer.WriteStringValue("description", Description); writer.WriteStringValue("displayName", DisplayName); + writer.WriteEnumValue("evaluationMode", EvaluationMode); writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); writer.WriteCollectionOfObjectValues("payloads", Payloads); writer.WriteEnumValue("platform", Platform); diff --git a/src/Microsoft.Graph/Generated/Models/Dictionary.cs b/src/Microsoft.Graph/Generated/Models/Dictionary.cs index bb195e9ecf17..250072dfc0c9 100644 --- a/src/Microsoft.Graph/Generated/Models/Dictionary.cs +++ b/src/Microsoft.Graph/Generated/Models/Dictionary.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.Networkaccess; using Microsoft.Graph.Beta.Models.Partner.Security; +using Microsoft.Graph.Beta.Models.Security; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions.Store; @@ -66,6 +67,7 @@ public Dictionary() "#microsoft.graph.partner.security.additionalDataDictionary" => new global::Microsoft.Graph.Beta.Models.Partner.Security.AdditionalDataDictionary(), "#microsoft.graph.plannerFormsDictionary" => new global::Microsoft.Graph.Beta.Models.PlannerFormsDictionary(), "#microsoft.graph.resultTemplateDictionary" => new global::Microsoft.Graph.Beta.Models.ResultTemplateDictionary(), + "#microsoft.graph.security.workbookContent" => new global::Microsoft.Graph.Beta.Models.Security.WorkbookContent(), "#microsoft.graph.stringDictionary" => new global::Microsoft.Graph.Beta.Models.StringDictionary(), "#microsoft.graph.wafAllowedHeadersDictionary" => new global::Microsoft.Graph.Beta.Models.WafAllowedHeadersDictionary(), _ => new global::Microsoft.Graph.Beta.Models.Dictionary(), diff --git a/src/Microsoft.Graph/Generated/Models/DirectoryAudit.cs b/src/Microsoft.Graph/Generated/Models/DirectoryAudit.cs index e31755ee548b..b2d1bcb9a6bc 100644 --- a/src/Microsoft.Graph/Generated/Models/DirectoryAudit.cs +++ b/src/Microsoft.Graph/Generated/Models/DirectoryAudit.cs @@ -208,7 +208,12 @@ public string UserAgent public static new global::Microsoft.Graph.Beta.Models.DirectoryAudit CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.Models.DirectoryAudit(); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.appManagementAudit" => new global::Microsoft.Graph.Beta.Models.AppManagementAudit(), + _ => new global::Microsoft.Graph.Beta.Models.DirectoryAudit(), + }; } /// /// The deserialization information for the current model diff --git a/src/Microsoft.Graph/Generated/Models/DirectoryRoleManagementDeletedItemContainer.cs b/src/Microsoft.Graph/Generated/Models/DirectoryRoleManagementDeletedItemContainer.cs new file mode 100644 index 000000000000..39052c60aa29 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/DirectoryRoleManagementDeletedItemContainer.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DirectoryRoleManagementDeletedItemContainer : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The soft-deleted custom role definitions in the directory. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? RoleDefinitions + { + get { return BackingStore?.Get?>("roleDefinitions"); } + set { BackingStore?.Set("roleDefinitions", value); } + } +#nullable restore +#else + public List RoleDefinitions + { + get { return BackingStore?.Get>("roleDefinitions"); } + set { BackingStore?.Set("roleDefinitions", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "roleDefinitions", n => { RoleDefinitions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("roleDefinitions", RoleDefinitions); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/DriftAccessPackageInfo.cs b/src/Microsoft.Graph/Generated/Models/DriftAccessPackageInfo.cs index 6719a28a05f1..ee654fcae253 100644 --- a/src/Microsoft.Graph/Generated/Models/DriftAccessPackageInfo.cs +++ b/src/Microsoft.Graph/Generated/Models/DriftAccessPackageInfo.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The displayName property + /// The display name of the access package. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -37,7 +37,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The identifier property + /// The unique identifier of the access package. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Identifier diff --git a/src/Microsoft.Graph/Generated/Models/DriftCounts.cs b/src/Microsoft.Graph/Generated/Models/DriftCounts.cs index 769eaada529c..0829220e752a 100644 --- a/src/Microsoft.Graph/Generated/Models/DriftCounts.cs +++ b/src/Microsoft.Graph/Generated/Models/DriftCounts.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The missing property + /// The number of assignments that are expected but not present on the resource. public int? Missing { get { return BackingStore?.Get("missing"); } @@ -43,13 +43,13 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The total property + /// The total number of unauthorized and missing access assignments. public int? Total { get { return BackingStore?.Get("total"); } set { BackingStore?.Set("total", value); } } - /// The unauthorized property + /// The number of assignments that exist on the resource but are not expected. public int? Unauthorized { get { return BackingStore?.Get("unauthorized"); } diff --git a/src/Microsoft.Graph/Generated/Models/DriftIdentityInfo.cs b/src/Microsoft.Graph/Generated/Models/DriftIdentityInfo.cs index 3b64f944c206..c4d919e765be 100644 --- a/src/Microsoft.Graph/Generated/Models/DriftIdentityInfo.cs +++ b/src/Microsoft.Graph/Generated/Models/DriftIdentityInfo.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The displayName property + /// The display name of the identity. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -37,7 +37,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The identifier property + /// The unique identifier for the identity within the drift record. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Identifier @@ -69,7 +69,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The principalName property + /// The principal name of the identity. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PrincipalName diff --git a/src/Microsoft.Graph/Generated/Models/DriftResourceInfo.cs b/src/Microsoft.Graph/Generated/Models/DriftResourceInfo.cs index 666f8dc4e10e..aeea5192cc1c 100644 --- a/src/Microsoft.Graph/Generated/Models/DriftResourceInfo.cs +++ b/src/Microsoft.Graph/Generated/Models/DriftResourceInfo.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The catalogIdentifier property + /// The identifier of the entitlement management catalog that contains the resource. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? CatalogIdentifier @@ -37,7 +37,7 @@ public string CatalogIdentifier set { BackingStore?.Set("catalogIdentifier", value); } } #endif - /// The catalogName property + /// The display name of the entitlement management catalog. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? CatalogName @@ -53,7 +53,7 @@ public string CatalogName set { BackingStore?.Set("catalogName", value); } } #endif - /// The displayName property + /// The display name of the governed resource. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -69,7 +69,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The identifier property + /// The unique identifier of the governed resource. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Identifier diff --git a/src/Microsoft.Graph/Generated/Models/DynamicRuleActivityLog.cs b/src/Microsoft.Graph/Generated/Models/DynamicRuleActivityLog.cs index f48f81a43473..9fd6abcd2090 100644 --- a/src/Microsoft.Graph/Generated/Models/DynamicRuleActivityLog.cs +++ b/src/Microsoft.Graph/Generated/Models/DynamicRuleActivityLog.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class DynamicRuleActivityLog : global::Microsoft.Graph.Beta.Models.ActivityLogBase, IParsable #pragma warning restore CS1591 { - /// The policyId property + /// The unique identifier of the protection policy associated with the activity log. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PolicyId @@ -28,7 +28,7 @@ public string PolicyId set { BackingStore?.Set("policyId", value); } } #endif - /// The policyName property + /// Name of the protection policy. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PolicyName @@ -44,7 +44,7 @@ public string PolicyName set { BackingStore?.Set("policyName", value); } } #endif - /// The protectionUnitDetails property + /// Contains Protection unit counts information. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.ProtectionUnitDetails? ProtectionUnitDetails diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index b2b1de38c6c4..365091291444 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -171,6 +171,7 @@ public Entity() "#microsoft.graph.alert" => new global::Microsoft.Graph.Beta.Models.Alert(), "#microsoft.graph.allowedDataLocation" => new global::Microsoft.Graph.Beta.Models.AllowedDataLocation(), "#microsoft.graph.allowedValue" => new global::Microsoft.Graph.Beta.Models.AllowedValue(), + "#microsoft.graph.allUsersSpendingPolicy" => new global::Microsoft.Graph.Beta.Models.AllUsersSpendingPolicy(), "#microsoft.graph.androidAospReferencedApp" => new global::Microsoft.Graph.Beta.Models.AndroidAospReferencedApp(), "#microsoft.graph.androidAppConfigurationSchema" => new global::Microsoft.Graph.Beta.Models.AndroidAppConfigurationSchema(), "#microsoft.graph.androidCertificateProfileBase" => new global::Microsoft.Graph.Beta.Models.AndroidCertificateProfileBase(), @@ -271,6 +272,7 @@ public Entity() "#microsoft.graph.applicationSignInSummary" => new global::Microsoft.Graph.Beta.Models.ApplicationSignInSummary(), "#microsoft.graph.applicationTemplate" => new global::Microsoft.Graph.Beta.Models.ApplicationTemplate(), "#microsoft.graph.appLogCollectionRequest" => new global::Microsoft.Graph.Beta.Models.AppLogCollectionRequest(), + "#microsoft.graph.appManagementAudit" => new global::Microsoft.Graph.Beta.Models.AppManagementAudit(), "#microsoft.graph.appManagementPolicy" => new global::Microsoft.Graph.Beta.Models.AppManagementPolicy(), "#microsoft.graph.appRoleAssignment" => new global::Microsoft.Graph.Beta.Models.AppRoleAssignment(), "#microsoft.graph.approval" => new global::Microsoft.Graph.Beta.Models.Approval(), @@ -395,6 +397,7 @@ public Entity() "#microsoft.graph.browserSite" => new global::Microsoft.Graph.Beta.Models.BrowserSite(), "#microsoft.graph.browserSiteList" => new global::Microsoft.Graph.Beta.Models.BrowserSiteList(), "#microsoft.graph.browseSessionBase" => new global::Microsoft.Graph.Beta.Models.BrowseSessionBase(), + "#microsoft.graph.bucket" => new global::Microsoft.Graph.Beta.Models.Bucket(), "#microsoft.graph.building" => new global::Microsoft.Graph.Beta.Models.Building(), "#microsoft.graph.buildingMap" => new global::Microsoft.Graph.Beta.Models.BuildingMap(), "#microsoft.graph.builtInIdentityProvider" => new global::Microsoft.Graph.Beta.Models.BuiltInIdentityProvider(), @@ -426,6 +429,7 @@ public Entity() "#microsoft.graph.canvasLayout" => new global::Microsoft.Graph.Beta.Models.CanvasLayout(), "#microsoft.graph.caPoliciesDeletableRoot" => new global::Microsoft.Graph.Beta.Models.CaPoliciesDeletableRoot(), "#microsoft.graph.cartToClassAssociation" => new global::Microsoft.Graph.Beta.Models.CartToClassAssociation(), + "#microsoft.graph.categoryDefinition" => new global::Microsoft.Graph.Beta.Models.CategoryDefinition(), "#microsoft.graph.certificateAuthorityAsEntity" => new global::Microsoft.Graph.Beta.Models.CertificateAuthorityAsEntity(), "#microsoft.graph.certificateAuthorityDetail" => new global::Microsoft.Graph.Beta.Models.CertificateAuthorityDetail(), "#microsoft.graph.certificateAuthorityPath" => new global::Microsoft.Graph.Beta.Models.CertificateAuthorityPath(), @@ -441,6 +445,7 @@ public Entity() "#microsoft.graph.chatMessageHostedContent" => new global::Microsoft.Graph.Beta.Models.ChatMessageHostedContent(), "#microsoft.graph.chatMessageInfo" => new global::Microsoft.Graph.Beta.Models.ChatMessageInfo(), "#microsoft.graph.checklistItem" => new global::Microsoft.Graph.Beta.Models.ChecklistItem(), + "#microsoft.graph.checklistItemV4" => new global::Microsoft.Graph.Beta.Models.ChecklistItemV4(), "#microsoft.graph.chromeOSOnboardingSettings" => new global::Microsoft.Graph.Beta.Models.ChromeOSOnboardingSettings(), "#microsoft.graph.claimsMappingPolicy" => new global::Microsoft.Graph.Beta.Models.ClaimsMappingPolicy(), "#microsoft.graph.classificationJobResponse" => new global::Microsoft.Graph.Beta.Models.ClassificationJobResponse(), @@ -498,6 +503,7 @@ public Entity() "#microsoft.graph.cloudPcServicePlan" => new global::Microsoft.Graph.Beta.Models.CloudPcServicePlan(), "#microsoft.graph.cloudPcSnapshot" => new global::Microsoft.Graph.Beta.Models.CloudPcSnapshot(), "#microsoft.graph.cloudPcSupportedRegion" => new global::Microsoft.Graph.Beta.Models.CloudPcSupportedRegion(), + "#microsoft.graph.cloudPcUserProfileSnapshot" => new global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot(), "#microsoft.graph.cloudPcUserSetting" => new global::Microsoft.Graph.Beta.Models.CloudPcUserSetting(), "#microsoft.graph.cloudPcUserSettingAssignment" => new global::Microsoft.Graph.Beta.Models.CloudPcUserSettingAssignment(), "#microsoft.graph.cloudPCUserSettingsPersistenceDetail" => new global::Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceDetail(), @@ -526,6 +532,7 @@ public Entity() "#microsoft.graph.contactFolder" => new global::Microsoft.Graph.Beta.Models.ContactFolder(), "#microsoft.graph.contactMergeSuggestions" => new global::Microsoft.Graph.Beta.Models.ContactMergeSuggestions(), "#microsoft.graph.contentActivity" => new global::Microsoft.Graph.Beta.Models.ContentActivity(), + "#microsoft.graph.contentLink" => new global::Microsoft.Graph.Beta.Models.ContentLink(), "#microsoft.graph.contentModel" => new global::Microsoft.Graph.Beta.Models.ContentModel(), "#microsoft.graph.contentSharingSession" => new global::Microsoft.Graph.Beta.Models.ContentSharingSession(), "#microsoft.graph.contentType" => new global::Microsoft.Graph.Beta.Models.ContentType(), @@ -552,6 +559,9 @@ public Entity() "#microsoft.graph.copilotSetting" => new global::Microsoft.Graph.Beta.Models.CopilotSetting(), "#microsoft.graph.correlatedIdentity" => new global::Microsoft.Graph.Beta.Models.CorrelatedIdentity(), "#microsoft.graph.corsConfiguration_v2" => new global::Microsoft.Graph.Beta.Models.CorsConfiguration_v2(), + "#microsoft.graph.costManagementAlertSetting" => new global::Microsoft.Graph.Beta.Models.CostManagementAlertSetting(), + "#microsoft.graph.costManagementRoot" => new global::Microsoft.Graph.Beta.Models.CostManagementRoot(), + "#microsoft.graph.costManagementUserBalance" => new global::Microsoft.Graph.Beta.Models.CostManagementUserBalance(), "#microsoft.graph.credentialUsageSummary" => new global::Microsoft.Graph.Beta.Models.CredentialUsageSummary(), "#microsoft.graph.credentialUserRegistrationCount" => new global::Microsoft.Graph.Beta.Models.CredentialUserRegistrationCount(), "#microsoft.graph.credentialUserRegistrationDetails" => new global::Microsoft.Graph.Beta.Models.CredentialUserRegistrationDetails(), @@ -574,6 +584,7 @@ public Entity() "#microsoft.graph.customAppScope" => new global::Microsoft.Graph.Beta.Models.CustomAppScope(), "#microsoft.graph.customAuthenticationExtension" => new global::Microsoft.Graph.Beta.Models.CustomAuthenticationExtension(), "#microsoft.graph.customCalloutExtension" => new global::Microsoft.Graph.Beta.Models.CustomCalloutExtension(), + "#microsoft.graph.customChoiceOption" => new global::Microsoft.Graph.Beta.Models.CustomChoiceOption(), "#microsoft.graph.customClaimsPolicy" => new global::Microsoft.Graph.Beta.Models.CustomClaimsPolicy(), "#microsoft.graph.customDataProvidedResource" => new global::Microsoft.Graph.Beta.Models.CustomDataProvidedResource(), "#microsoft.graph.customDataProvidedResourceAccessReviewUploadSession" => new global::Microsoft.Graph.Beta.Models.CustomDataProvidedResourceAccessReviewUploadSession(), @@ -581,6 +592,8 @@ public Entity() "#microsoft.graph.customDataProvidedResourceUploadSession" => new global::Microsoft.Graph.Beta.Models.CustomDataProvidedResourceUploadSession(), "#microsoft.graph.customExtensionHandler" => new global::Microsoft.Graph.Beta.Models.CustomExtensionHandler(), "#microsoft.graph.customExtensionStageSetting" => new global::Microsoft.Graph.Beta.Models.CustomExtensionStageSetting(), + "#microsoft.graph.customFieldDefinition" => new global::Microsoft.Graph.Beta.Models.CustomFieldDefinition(), + "#microsoft.graph.customFieldValue" => new global::Microsoft.Graph.Beta.Models.CustomFieldValue(), "#microsoft.graph.customSecurityAttributeAudit" => new global::Microsoft.Graph.Beta.Models.CustomSecurityAttributeAudit(), "#microsoft.graph.customSecurityAttributeDefinition" => new global::Microsoft.Graph.Beta.Models.CustomSecurityAttributeDefinition(), "#microsoft.graph.dailyInactiveUsersByApplicationMetric" => new global::Microsoft.Graph.Beta.Models.DailyInactiveUsersByApplicationMetric(), @@ -608,6 +621,7 @@ public Entity() "#microsoft.graph.deletedItemContainer" => new global::Microsoft.Graph.Beta.Models.DeletedItemContainer(), "#microsoft.graph.deletedTeam" => new global::Microsoft.Graph.Beta.Models.DeletedTeam(), "#microsoft.graph.deltaParticipants" => new global::Microsoft.Graph.Beta.Models.DeltaParticipants(), + "#microsoft.graph.dependency" => new global::Microsoft.Graph.Beta.Models.Dependency(), "#microsoft.graph.depEnrollmentBaseProfile" => new global::Microsoft.Graph.Beta.Models.DepEnrollmentBaseProfile(), "#microsoft.graph.depEnrollmentProfile" => new global::Microsoft.Graph.Beta.Models.DepEnrollmentProfile(), "#microsoft.graph.depIOSEnrollmentProfile" => new global::Microsoft.Graph.Beta.Models.DepIOSEnrollmentProfile(), @@ -744,6 +758,7 @@ public Entity() "#microsoft.graph.directoryObjectPartnerReference" => new global::Microsoft.Graph.Beta.Models.DirectoryObjectPartnerReference(), "#microsoft.graph.directoryRole" => new global::Microsoft.Graph.Beta.Models.DirectoryRole(), "#microsoft.graph.directoryRoleAccessReviewPolicy" => new global::Microsoft.Graph.Beta.Models.DirectoryRoleAccessReviewPolicy(), + "#microsoft.graph.directoryRoleManagementDeletedItemContainer" => new global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer(), "#microsoft.graph.directoryRoleTemplate" => new global::Microsoft.Graph.Beta.Models.DirectoryRoleTemplate(), "#microsoft.graph.directorySetting" => new global::Microsoft.Graph.Beta.Models.DirectorySetting(), "#microsoft.graph.directorySettingTemplate" => new global::Microsoft.Graph.Beta.Models.DirectorySettingTemplate(), @@ -861,6 +876,7 @@ public Entity() "#microsoft.graph.entra" => new global::Microsoft.Graph.Beta.Models.Entra(), "#microsoft.graph.entraAccessDriftDetail" => new global::Microsoft.Graph.Beta.Models.EntraAccessDriftDetail(), "#microsoft.graph.entraIdProtectionRiskyUserApproval" => new global::Microsoft.Graph.Beta.Models.EntraIdProtectionRiskyUserApproval(), + "#microsoft.graph.entraProtectionPolicy" => new global::Microsoft.Graph.Beta.Models.EntraProtectionPolicy(), "#microsoft.graph.entraRecoveryServices.recovery" => new global::Microsoft.Graph.Beta.Models.EntraRecoveryServices.Recovery(), "#microsoft.graph.entraRecoveryServices.recoveryChangeObjectBase" => new global::Microsoft.Graph.Beta.Models.EntraRecoveryServices.RecoveryChangeObjectBase(), "#microsoft.graph.entraRecoveryServices.recoveryJob" => new global::Microsoft.Graph.Beta.Models.EntraRecoveryServices.RecoveryJob(), @@ -946,6 +962,7 @@ public Entity() "#microsoft.graph.gcpRole" => new global::Microsoft.Graph.Beta.Models.GcpRole(), "#microsoft.graph.gcpServiceAccount" => new global::Microsoft.Graph.Beta.Models.GcpServiceAccount(), "#microsoft.graph.gcpUser" => new global::Microsoft.Graph.Beta.Models.GcpUser(), + "#microsoft.graph.goal" => new global::Microsoft.Graph.Beta.Models.Goal(), "#microsoft.graph.goals" => new global::Microsoft.Graph.Beta.Models.Goals(), "#microsoft.graph.goalsExportJob" => new global::Microsoft.Graph.Beta.Models.GoalsExportJob(), "#microsoft.graph.governanceInsight" => new global::Microsoft.Graph.Beta.Models.GovernanceInsight(), @@ -1009,6 +1026,7 @@ public Entity() "#microsoft.graph.healthMonitoring.alert" => new global::Microsoft.Graph.Beta.Models.HealthMonitoring.Alert(), "#microsoft.graph.healthMonitoring.alertConfiguration" => new global::Microsoft.Graph.Beta.Models.HealthMonitoring.AlertConfiguration(), "#microsoft.graph.healthMonitoring.healthMonitoringRoot" => new global::Microsoft.Graph.Beta.Models.HealthMonitoring.HealthMonitoringRoot(), + "#microsoft.graph.historyItem" => new global::Microsoft.Graph.Beta.Models.HistoryItem(), "#microsoft.graph.homeRealmDiscoveryPolicy" => new global::Microsoft.Graph.Beta.Models.HomeRealmDiscoveryPolicy(), "#microsoft.graph.horizontalSection" => new global::Microsoft.Graph.Beta.Models.HorizontalSection(), "#microsoft.graph.horizontalSectionColumn" => new global::Microsoft.Graph.Beta.Models.HorizontalSectionColumn(), @@ -1020,16 +1038,34 @@ public Entity() "#microsoft.graph.identityCorrelation" => new global::Microsoft.Graph.Beta.Models.IdentityCorrelation(), "#microsoft.graph.identityCustomUserFlowAttribute" => new global::Microsoft.Graph.Beta.Models.IdentityCustomUserFlowAttribute(), "#microsoft.graph.identityFinding" => new global::Microsoft.Graph.Beta.Models.IdentityFinding(), + "#microsoft.graph.identityGovernance.accessPackageAssignmentRequiredRule" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AccessPackageAssignmentRequiredRule(), + "#microsoft.graph.identityGovernance.agentIdentityLifecycle" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AgentIdentityLifecycle(), + "#microsoft.graph.identityGovernance.agentIdentityLifecyclePolicy" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AgentIdentityLifecyclePolicy(), + "#microsoft.graph.identityGovernance.attestationComplianceIssue" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AttestationComplianceIssue(), + "#microsoft.graph.identityGovernance.complianceIssue" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssue(), "#microsoft.graph.identityGovernance.customTaskExtension" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.CustomTaskExtension(), + "#microsoft.graph.identityGovernance.guestLifecyclePolicy" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.GuestLifecyclePolicy(), + "#microsoft.graph.identityGovernance.identityLifecycle" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle(), + "#microsoft.graph.identityGovernance.inactivityRule" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.InactivityRule(), "#microsoft.graph.identityGovernance.insights" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.Insights(), + "#microsoft.graph.identityGovernance.invitationRedemptionRule" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.InvitationRedemptionRule(), "#microsoft.graph.identityGovernance.lifecycleManagementSettings" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecycleManagementSettings(), + "#microsoft.graph.identityGovernance.lifecyclePolicy" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy(), + "#microsoft.graph.identityGovernance.lifecyclePolicyImpactSummary" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyImpactSummary(), + "#microsoft.graph.identityGovernance.lifecyclePolicyPriorityConfiguration" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration(), + "#microsoft.graph.identityGovernance.lifecyclePolicyReport" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReport(), + "#microsoft.graph.identityGovernance.lifecyclePolicyRule" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule(), + "#microsoft.graph.identityGovernance.lifecyclePolicySubjectReport" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReport(), "#microsoft.graph.identityGovernance.lifecycleWorkflowsContainer" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecycleWorkflowsContainer(), + "#microsoft.graph.identityGovernance.periodicAttestationRule" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.PeriodicAttestationRule(), "#microsoft.graph.identityGovernance.run" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.Run(), + "#microsoft.graph.identityGovernance.sponsorPresenceRule" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.SponsorPresenceRule(), "#microsoft.graph.identityGovernance.subjectProcessingResult" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.SubjectProcessingResult(), "#microsoft.graph.identityGovernance.task" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.TaskObject(), "#microsoft.graph.identityGovernance.taskDefinition" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.TaskDefinition(), "#microsoft.graph.identityGovernance.taskProcessingResult" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.TaskProcessingResult(), "#microsoft.graph.identityGovernance.taskReport" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.TaskReport(), + "#microsoft.graph.identityGovernance.userIdentityLifecycle" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle(), "#microsoft.graph.identityGovernance.userProcessingResult" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserProcessingResult(), "#microsoft.graph.identityGovernance.workflowTemplate" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.WorkflowTemplate(), "#microsoft.graph.identityProvider" => new global::Microsoft.Graph.Beta.Models.IdentityProvider(), @@ -1518,7 +1554,9 @@ public Entity() "#microsoft.graph.partner.security.securityRequirement" => new global::Microsoft.Graph.Beta.Models.Partner.Security.SecurityRequirement(), "#microsoft.graph.partner.security.securityScoreHistory" => new global::Microsoft.Graph.Beta.Models.Partner.Security.SecurityScoreHistory(), "#microsoft.graph.partners" => new global::Microsoft.Graph.Beta.Models.Partners.Partners(), + "#microsoft.graph.partners.billing.azureAggregatedUsage" => new global::Microsoft.Graph.Beta.Models.Partners.Billing.AzureAggregatedUsage(), "#microsoft.graph.partners.billing.azureUsage" => new global::Microsoft.Graph.Beta.Models.Partners.Billing.AzureUsage(), + "#microsoft.graph.partners.billing.billedAggregatedUsage" => new global::Microsoft.Graph.Beta.Models.Partners.Billing.BilledAggregatedUsage(), "#microsoft.graph.partners.billing.billedReconciliation" => new global::Microsoft.Graph.Beta.Models.Partners.Billing.BilledReconciliation(), "#microsoft.graph.partners.billing.billedUsage" => new global::Microsoft.Graph.Beta.Models.Partners.Billing.BilledUsage(), "#microsoft.graph.partners.billing.billing" => new global::Microsoft.Graph.Beta.Models.Partners.Billing.Billing(), @@ -1567,10 +1605,13 @@ public Entity() "#microsoft.graph.pinnedChatMessageInfo" => new global::Microsoft.Graph.Beta.Models.PinnedChatMessageInfo(), "#microsoft.graph.place" => new global::Microsoft.Graph.Beta.Models.Place(), "#microsoft.graph.placeOperation" => new global::Microsoft.Graph.Beta.Models.PlaceOperation(), + "#microsoft.graph.plan" => new global::Microsoft.Graph.Beta.Models.Plan(), + "#microsoft.graph.planContextLink" => new global::Microsoft.Graph.Beta.Models.PlanContextLink(), "#microsoft.graph.planner" => new global::Microsoft.Graph.Beta.Models.Planner(), "#microsoft.graph.plannerAssignedToTaskBoardTaskFormat" => new global::Microsoft.Graph.Beta.Models.PlannerAssignedToTaskBoardTaskFormat(), "#microsoft.graph.plannerBucket" => new global::Microsoft.Graph.Beta.Models.PlannerBucket(), "#microsoft.graph.plannerBucketTaskBoardTaskFormat" => new global::Microsoft.Graph.Beta.Models.PlannerBucketTaskBoardTaskFormat(), + "#microsoft.graph.plannerChatMessage" => new global::Microsoft.Graph.Beta.Models.PlannerChatMessage(), "#microsoft.graph.plannerDelta" => new global::Microsoft.Graph.Beta.Models.PlannerDelta(), "#microsoft.graph.plannerGoal" => new global::Microsoft.Graph.Beta.Models.PlannerGoal(), "#microsoft.graph.plannerGroup" => new global::Microsoft.Graph.Beta.Models.PlannerGroup(), @@ -1904,6 +1945,7 @@ public Entity() "#microsoft.graph.security.whoisBaseRecord" => new global::Microsoft.Graph.Beta.Models.Security.WhoisBaseRecord(), "#microsoft.graph.security.whoisHistoryRecord" => new global::Microsoft.Graph.Beta.Models.Security.WhoisHistoryRecord(), "#microsoft.graph.security.whoisRecord" => new global::Microsoft.Graph.Beta.Models.Security.WhoisRecord(), + "#microsoft.graph.security.workbook" => new global::Microsoft.Graph.Beta.Models.Security.Workbook(), "#microsoft.graph.security.zone" => new global::Microsoft.Graph.Beta.Models.Security.Zone(), "#microsoft.graph.securityAction" => new global::Microsoft.Graph.Beta.Models.SecurityAction(), "#microsoft.graph.securityBaselineCategoryStateSummary" => new global::Microsoft.Graph.Beta.Models.SecurityBaselineCategoryStateSummary(), @@ -1919,6 +1961,7 @@ public Entity() "#microsoft.graph.securityToolAwsRoleAdministratorFinding" => new global::Microsoft.Graph.Beta.Models.SecurityToolAwsRoleAdministratorFinding(), "#microsoft.graph.securityToolAwsServerlessFunctionAdministratorFinding" => new global::Microsoft.Graph.Beta.Models.SecurityToolAwsServerlessFunctionAdministratorFinding(), "#microsoft.graph.securityToolAwsUserAdministratorFinding" => new global::Microsoft.Graph.Beta.Models.SecurityToolAwsUserAdministratorFinding(), + "#microsoft.graph.selectedGroupsSpendingPolicy" => new global::Microsoft.Graph.Beta.Models.SelectedGroupsSpendingPolicy(), "#microsoft.graph.selfServiceSignUp" => new global::Microsoft.Graph.Beta.Models.SelfServiceSignUp(), "#microsoft.graph.sendDtmfTonesOperation" => new global::Microsoft.Graph.Beta.Models.SendDtmfTonesOperation(), "#microsoft.graph.sensitiveType" => new global::Microsoft.Graph.Beta.Models.SensitiveType(), @@ -2002,6 +2045,7 @@ public Entity() "#microsoft.graph.softwareOathAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Beta.Models.SoftwareOathAuthenticationMethodConfiguration(), "#microsoft.graph.softwareUpdateStatusSummary" => new global::Microsoft.Graph.Beta.Models.SoftwareUpdateStatusSummary(), "#microsoft.graph.speakerAssignmentSubmission" => new global::Microsoft.Graph.Beta.Models.SpeakerAssignmentSubmission(), + "#microsoft.graph.spendingPolicy" => new global::Microsoft.Graph.Beta.Models.SpendingPolicy(), "#microsoft.graph.staleSignInAlertConfiguration" => new global::Microsoft.Graph.Beta.Models.StaleSignInAlertConfiguration(), "#microsoft.graph.staleSignInAlertIncident" => new global::Microsoft.Graph.Beta.Models.StaleSignInAlertIncident(), "#microsoft.graph.standardWebPart" => new global::Microsoft.Graph.Beta.Models.StandardWebPart(), @@ -2042,6 +2086,7 @@ public Entity() "#microsoft.graph.targetedManagedAppConfigurationPolicySetItem" => new global::Microsoft.Graph.Beta.Models.TargetedManagedAppConfigurationPolicySetItem(), "#microsoft.graph.targetedManagedAppPolicyAssignment" => new global::Microsoft.Graph.Beta.Models.TargetedManagedAppPolicyAssignment(), "#microsoft.graph.targetedManagedAppProtection" => new global::Microsoft.Graph.Beta.Models.TargetedManagedAppProtection(), + "#microsoft.graph.task" => new global::Microsoft.Graph.Beta.Models.TaskObject(), "#microsoft.graph.taskFileAttachment" => new global::Microsoft.Graph.Beta.Models.TaskFileAttachment(), "#microsoft.graph.taskHistoryItem" => new global::Microsoft.Graph.Beta.Models.TaskHistoryItem(), "#microsoft.graph.taxGroup" => new global::Microsoft.Graph.Beta.Models.TaxGroup(), @@ -2177,6 +2222,7 @@ public Entity() "#microsoft.graph.userActivity" => new global::Microsoft.Graph.Beta.Models.UserActivity(), "#microsoft.graph.userAnalytics" => new global::Microsoft.Graph.Beta.Models.UserAnalytics(), "#microsoft.graph.userAppInstallStatus" => new global::Microsoft.Graph.Beta.Models.UserAppInstallStatus(), + "#microsoft.graph.userAssignment" => new global::Microsoft.Graph.Beta.Models.UserAssignment(), "#microsoft.graph.userCloudCommunication" => new global::Microsoft.Graph.Beta.Models.UserCloudCommunication(), "#microsoft.graph.userConfiguration" => new global::Microsoft.Graph.Beta.Models.UserConfiguration(), "#microsoft.graph.userConsentRequest" => new global::Microsoft.Graph.Beta.Models.UserConsentRequest(), diff --git a/src/Microsoft.Graph/Generated/Models/EntraAccessDriftDetail.cs b/src/Microsoft.Graph/Generated/Models/EntraAccessDriftDetail.cs index ad8520465cad..144c34634b22 100644 --- a/src/Microsoft.Graph/Generated/Models/EntraAccessDriftDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/EntraAccessDriftDetail.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class EntraAccessDriftDetail : global::Microsoft.Graph.Beta.Models.AccessDriftDetail, IParsable #pragma warning restore CS1591 { - /// The accessPackage property + /// The access package associated with this drift record. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.DriftAccessPackageInfo? AccessPackage @@ -28,7 +28,7 @@ public partial class EntraAccessDriftDetail : global::Microsoft.Graph.Beta.Model set { BackingStore?.Set("accessPackage", value); } } #endif - /// The assignedRole property + /// The role currently assigned to the identity on the resource. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AssignedRole @@ -44,7 +44,7 @@ public string AssignedRole set { BackingStore?.Set("assignedRole", value); } } #endif - /// The expectedRole property + /// The role expected based on the access package assignment. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ExpectedRole diff --git a/src/Microsoft.Graph/Generated/Models/EntraDriftIdentityInfo.cs b/src/Microsoft.Graph/Generated/Models/EntraDriftIdentityInfo.cs index 5f0c8bb249b8..9d80db4cd7ad 100644 --- a/src/Microsoft.Graph/Generated/Models/EntraDriftIdentityInfo.cs +++ b/src/Microsoft.Graph/Generated/Models/EntraDriftIdentityInfo.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class EntraDriftIdentityInfo : global::Microsoft.Graph.Beta.Models.DriftIdentityInfo, IParsable #pragma warning restore CS1591 { - /// The identityType property + /// The type of identity. The possible values are user and group. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? IdentityType diff --git a/src/Microsoft.Graph/Generated/Models/EntraProtectionPolicy.cs b/src/Microsoft.Graph/Generated/Models/EntraProtectionPolicy.cs new file mode 100644 index 000000000000..f59458d76b7d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EntraProtectionPolicy.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EntraProtectionPolicy : global::Microsoft.Graph.Beta.Models.ProtectionPolicyBase, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public EntraProtectionPolicy() : base() + { + OdataType = "#microsoft.graph.entraProtectionPolicy"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.EntraProtectionPolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.EntraProtectionPolicy(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/EntraProtectionPolicyCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/EntraProtectionPolicyCollectionResponse.cs new file mode 100644 index 000000000000..e63a8fed0083 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EntraProtectionPolicyCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EntraProtectionPolicyCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.EntraProtectionPolicyCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.EntraProtectionPolicyCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.EntraProtectionPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ErrorActions.cs b/src/Microsoft.Graph/Generated/Models/ErrorActions.cs new file mode 100644 index 000000000000..47d509d3298f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ErrorActions.cs @@ -0,0 +1,29 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum ErrorActions + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "audit")] + #pragma warning disable CS1591 + Audit = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "block")] + #pragma warning disable CS1591 + Block = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 8, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ErrorSettings.cs b/src/Microsoft.Graph/Generated/Models/ErrorSettings.cs new file mode 100644 index 000000000000..05f22161fda1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ErrorSettings.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ErrorSettings : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The errorAction property + public global::Microsoft.Graph.Beta.Models.ErrorActions? ErrorAction + { + get { return BackingStore?.Get("errorAction"); } + set { BackingStore?.Set("errorAction", value); } + } + /// Indicates whether Secure by Default is enabled for the protection scope. + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ErrorSettings() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.ErrorSettings CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ErrorSettings(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "errorAction", n => { ErrorAction = n.GetEnumValue(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("errorAction", ErrorAction); + writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/EvaluationErrorCategory.cs b/src/Microsoft.Graph/Generated/Models/EvaluationErrorCategory.cs new file mode 100644 index 000000000000..f247ff555394 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EvaluationErrorCategory.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum EvaluationErrorCategory + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "systemLimit")] + #pragma warning disable CS1591 + SystemLimit, + #pragma warning restore CS1591 + [EnumMember(Value = "systemError")] + #pragma warning disable CS1591 + SystemError, + #pragma warning restore CS1591 + [EnumMember(Value = "enforcementError")] + #pragma warning disable CS1591 + EnforcementError, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/EvaluationErrorDetail.cs b/src/Microsoft.Graph/Generated/Models/EvaluationErrorDetail.cs new file mode 100644 index 000000000000..566ad6ee4a7b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EvaluationErrorDetail.cs @@ -0,0 +1,115 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EvaluationErrorDetail : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The errorCategory property + public global::Microsoft.Graph.Beta.Models.EvaluationErrorCategory? ErrorCategory + { + get { return BackingStore?.Get("errorCategory"); } + set { BackingStore?.Set("errorCategory", value); } + } + /// The errorMessage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ErrorMessage + { + get { return BackingStore?.Get("errorMessage"); } + set { BackingStore?.Set("errorMessage", value); } + } +#nullable restore +#else + public string ErrorMessage + { + get { return BackingStore?.Get("errorMessage"); } + set { BackingStore?.Set("errorMessage", value); } + } +#endif + /// The errorType property + public global::Microsoft.Graph.Beta.Models.EvaluationErrorType? ErrorType + { + get { return BackingStore?.Get("errorType"); } + set { BackingStore?.Set("errorType", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public EvaluationErrorDetail() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.EvaluationErrorDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.EvaluationErrorDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "errorCategory", n => { ErrorCategory = n.GetEnumValue(); } }, + { "errorMessage", n => { ErrorMessage = n.GetStringValue(); } }, + { "errorType", n => { ErrorType = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("errorCategory", ErrorCategory); + writer.WriteStringValue("errorMessage", ErrorMessage); + writer.WriteEnumValue("errorType", ErrorType); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/EvaluationErrorType.cs b/src/Microsoft.Graph/Generated/Models/EvaluationErrorType.cs new file mode 100644 index 000000000000..b9fcc6a01b2a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EvaluationErrorType.cs @@ -0,0 +1,108 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum EvaluationErrorType + #pragma warning restore CS1591 + { + [EnumMember(Value = "unsupportedFile")] + #pragma warning disable CS1591 + UnsupportedFile, + #pragma warning restore CS1591 + [EnumMember(Value = "passwordProtectedFile")] + #pragma warning disable CS1591 + PasswordProtectedFile, + #pragma warning restore CS1591 + [EnumMember(Value = "fileTooLarge")] + #pragma warning disable CS1591 + FileTooLarge, + #pragma warning restore CS1591 + [EnumMember(Value = "archiveSizeTooLarge")] + #pragma warning disable CS1591 + ArchiveSizeTooLarge, + #pragma warning restore CS1591 + [EnumMember(Value = "textExceedsMceThreshold")] + #pragma warning disable CS1591 + TextExceedsMceThreshold, + #pragma warning restore CS1591 + [EnumMember(Value = "partiallyScannedArchive")] + #pragma warning disable CS1591 + PartiallyScannedArchive, + #pragma warning restore CS1591 + [EnumMember(Value = "partialImageExtraction")] + #pragma warning disable CS1591 + PartialImageExtraction, + #pragma warning restore CS1591 + [EnumMember(Value = "imageOcrPartialResult")] + #pragma warning disable CS1591 + ImageOcrPartialResult, + #pragma warning restore CS1591 + [EnumMember(Value = "ocrProcessingFailure")] + #pragma warning disable CS1591 + OcrProcessingFailure, + #pragma warning restore CS1591 + [EnumMember(Value = "ocrQuotaExhausted")] + #pragma warning disable CS1591 + OcrQuotaExhausted, + #pragma warning restore CS1591 + [EnumMember(Value = "classificationServiceError")] + #pragma warning disable CS1591 + ClassificationServiceError, + #pragma warning restore CS1591 + [EnumMember(Value = "sitExtractionFailure")] + #pragma warning disable CS1591 + SitExtractionFailure, + #pragma warning restore CS1591 + [EnumMember(Value = "textExtractionFailure")] + #pragma warning disable CS1591 + TextExtractionFailure, + #pragma warning restore CS1591 + [EnumMember(Value = "archiveTextExtractionError")] + #pragma warning disable CS1591 + ArchiveTextExtractionError, + #pragma warning restore CS1591 + [EnumMember(Value = "missingOrInvalidConfiguration")] + #pragma warning disable CS1591 + MissingOrInvalidConfiguration, + #pragma warning restore CS1591 + [EnumMember(Value = "agentFailure")] + #pragma warning disable CS1591 + AgentFailure, + #pragma warning restore CS1591 + [EnumMember(Value = "enforcementTimeout")] + #pragma warning disable CS1591 + EnforcementTimeout, + #pragma warning restore CS1591 + [EnumMember(Value = "osOverride")] + #pragma warning disable CS1591 + OsOverride, + #pragma warning restore CS1591 + [EnumMember(Value = "processNonExistent")] + #pragma warning disable CS1591 + ProcessNonExistent, + #pragma warning restore CS1591 + [EnumMember(Value = "other")] + #pragma warning disable CS1591 + Other, + #pragma warning restore CS1591 + [EnumMember(Value = "serviceTimeout")] + #pragma warning disable CS1591 + ServiceTimeout, + #pragma warning restore CS1591 + [EnumMember(Value = "serviceError")] + #pragma warning disable CS1591 + ServiceError, + #pragma warning restore CS1591 + [EnumMember(Value = "serviceUnavailable")] + #pragma warning disable CS1591 + ServiceUnavailable, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/EvaluationIncompleteActivityMetadata.cs b/src/Microsoft.Graph/Generated/Models/EvaluationIncompleteActivityMetadata.cs new file mode 100644 index 000000000000..c7f8d080f461 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EvaluationIncompleteActivityMetadata.cs @@ -0,0 +1,79 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EvaluationIncompleteActivityMetadata : global::Microsoft.Graph.Beta.Models.ProcessContentMetadataBase, IParsable + #pragma warning restore CS1591 + { + /// The errorAction property + public global::Microsoft.Graph.Beta.Models.ErrorActions? ErrorAction + { + get { return BackingStore?.Get("errorAction"); } + set { BackingStore?.Set("errorAction", value); } + } + /// The inspectionIncompleteReason property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.EvaluationErrorDetail? InspectionIncompleteReason + { + get { return BackingStore?.Get("inspectionIncompleteReason"); } + set { BackingStore?.Set("inspectionIncompleteReason", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.EvaluationErrorDetail InspectionIncompleteReason + { + get { return BackingStore?.Get("inspectionIncompleteReason"); } + set { BackingStore?.Set("inspectionIncompleteReason", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public EvaluationIncompleteActivityMetadata() : base() + { + OdataType = "#microsoft.graph.evaluationIncompleteActivityMetadata"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.EvaluationIncompleteActivityMetadata CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.EvaluationIncompleteActivityMetadata(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "errorAction", n => { ErrorAction = n.GetEnumValue(); } }, + { "inspectionIncompleteReason", n => { InspectionIncompleteReason = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.EvaluationErrorDetail.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("errorAction", ErrorAction); + writer.WriteObjectValue("inspectionIncompleteReason", InspectionIncompleteReason); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ExtensionFieldCollection.cs b/src/Microsoft.Graph/Generated/Models/ExtensionFieldCollection.cs new file mode 100644 index 000000000000..654423c071d4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ExtensionFieldCollection.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ExtensionFieldCollection : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ExtensionFieldCollection() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Goal.cs b/src/Microsoft.Graph/Generated/Models/Goal.cs new file mode 100644 index 000000000000..1ee5f891d83e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Goal.cs @@ -0,0 +1,254 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Goal : global::Microsoft.Graph.Beta.Models.PlannerDelta, IParsable + #pragma warning restore CS1591 + { + /// Information about whether the entity is archived, and when it was archived. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.PlannerArchivalInfo? ArchivalInfo + { + get { return BackingStore?.Get("archivalInfo"); } + set { BackingStore?.Set("archivalInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.PlannerArchivalInfo ArchivalInfo + { + get { return BackingStore?.Get("archivalInfo"); } + set { BackingStore?.Set("archivalInfo", value); } + } +#endif + /// Server-computed, read-only capability flags indicating which optional features are enabled for the entity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.GoalCapability? Capabilities + { + get { return BackingStore?.Get("capabilities"); } + set { BackingStore?.Set("capabilities", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.GoalCapability Capabilities + { + get { return BackingStore?.Get("capabilities"); } + set { BackingStore?.Set("capabilities", value); } + } +#endif + /// Identity of the user (or application) who created the entity. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// Date and time the entity was created. The value is represented in ISO 8601 format and is always in UTC time. Read-only. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// Title of the goal. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Custom extension field values set on the entity. Supports $select. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection? Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#endif + /// Date the goal is targeted to finish. + public Date? FinishDate + { + get { return BackingStore?.Get("finishDate"); } + set { BackingStore?.Set("finishDate", value); } + } + /// Identity of the user (or application) who last modified the entity. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#endif + /// Date and time the entity was last modified. The value is represented in ISO 8601 format and is always in UTC time. Read-only. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// Additional details or notes about the goal. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// ID of the plan that contains the goal. Required, and immutable after creation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlanId + { + get { return BackingStore?.Get("planId"); } + set { BackingStore?.Set("planId", value); } + } +#nullable restore +#else + public string PlanId + { + get { return BackingStore?.Get("planId"); } + set { BackingStore?.Set("planId", value); } + } +#endif + /// Priority of the goal. + public int? Priority + { + get { return BackingStore?.Get("priority"); } + set { BackingStore?.Set("priority", value); } + } + /// Date the goal starts. + public Date? StartDate + { + get { return BackingStore?.Get("startDate"); } + set { BackingStore?.Set("startDate", value); } + } + /// Progress status of the goal. The possible values are: notStarted, onTrack, behind, atRisk, closed, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.PlannerGoalStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// The collection of tasks associated with the goal. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Tasks + { + get { return BackingStore?.Get?>("tasks"); } + set { BackingStore?.Set("tasks", value); } + } +#nullable restore +#else + public List Tasks + { + get { return BackingStore?.Get>("tasks"); } + set { BackingStore?.Set("tasks", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Goal CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Goal(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "archivalInfo", n => { ArchivalInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PlannerArchivalInfo.CreateFromDiscriminatorValue); } }, + { "capabilities", n => { Capabilities = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.GoalCapability.CreateFromDiscriminatorValue); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "extensions", n => { Extensions = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection.CreateFromDiscriminatorValue); } }, + { "finishDate", n => { FinishDate = n.GetDateValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ItemBody.CreateFromDiscriminatorValue); } }, + { "planId", n => { PlanId = n.GetStringValue(); } }, + { "priority", n => { Priority = n.GetIntValue(); } }, + { "startDate", n => { StartDate = n.GetDateValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "tasks", n => { Tasks = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.TaskObject.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("archivalInfo", ArchivalInfo); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteObjectValue("extensions", Extensions); + writer.WriteDateValue("finishDate", FinishDate); + writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteObjectValue("notes", Notes); + writer.WriteStringValue("planId", PlanId); + writer.WriteIntValue("priority", Priority); + writer.WriteDateValue("startDate", StartDate); + writer.WriteEnumValue("status", Status); + writer.WriteCollectionOfObjectValues("tasks", Tasks); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/GoalCapability.cs b/src/Microsoft.Graph/Generated/Models/GoalCapability.cs new file mode 100644 index 000000000000..63e4d2877e55 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/GoalCapability.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GoalCapability : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public GoalCapability() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.GoalCapability CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.GoalCapability(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/GoalCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/GoalCollectionResponse.cs new file mode 100644 index 000000000000..02489d0746b6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/GoalCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GoalCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.GoalCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.GoalCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Goal.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Group.cs b/src/Microsoft.Graph/Generated/Models/Group.cs index 83b1231a1272..dbccee23ff3d 100644 --- a/src/Microsoft.Graph/Generated/Models/Group.cs +++ b/src/Microsoft.Graph/Generated/Models/Group.cs @@ -57,7 +57,7 @@ public bool? AllowExternalSenders set { BackingStore?.Set("appRoleAssignments", value); } } #endif - /// The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it's immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. See Key differences from Microsoft 365 group labeling to learn more about managing this property for Microsoft 365 vs. cloud security groups. + /// The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it's immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. To learn more about managing this property for Microsoft 365 vs. cloud security groups, see Key differences from Microsoft 365 group labeling. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AssignedLabels diff --git a/src/Microsoft.Graph/Generated/Models/HistoryItem.cs b/src/Microsoft.Graph/Generated/Models/HistoryItem.cs new file mode 100644 index 000000000000..ee85db75a810 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/HistoryItem.cs @@ -0,0 +1,159 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class HistoryItem : global::Microsoft.Graph.Beta.Models.PlannerDelta, IParsable + #pragma warning restore CS1591 + { + /// Identity of the user (or application) that performed the change. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? Actor + { + get { return BackingStore?.Get("actor"); } + set { BackingStore?.Set("actor", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet Actor + { + get { return BackingStore?.Get("actor"); } + set { BackingStore?.Set("actor", value); } + } +#endif + /// ID of the entity the history item describes. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EntityId + { + get { return BackingStore?.Get("entityId"); } + set { BackingStore?.Set("entityId", value); } + } +#nullable restore +#else + public string EntityId + { + get { return BackingStore?.Get("entityId"); } + set { BackingStore?.Set("entityId", value); } + } +#endif + /// Type of the entity the history item describes. The possible values are: task, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.HistoryEntityType? EntityType + { + get { return BackingStore?.Get("entityType"); } + set { BackingStore?.Set("entityType", value); } + } + /// Type of the change event that occurred. The possible values are: created, updated, deleted, undeleted, moved, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.HistoryEventType? EventType + { + get { return BackingStore?.Get("eventType"); } + set { BackingStore?.Set("eventType", value); } + } + /// Serialized representation of the entity state after the change. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? NewData + { + get { return BackingStore?.Get("newData"); } + set { BackingStore?.Set("newData", value); } + } +#nullable restore +#else + public string NewData + { + get { return BackingStore?.Get("newData"); } + set { BackingStore?.Set("newData", value); } + } +#endif + /// Date and time the change occurred. Read-only. + public DateTimeOffset? OccurredDateTime + { + get { return BackingStore?.Get("occurredDateTime"); } + set { BackingStore?.Set("occurredDateTime", value); } + } + /// Serialized representation of the entity state before the change. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OldData + { + get { return BackingStore?.Get("oldData"); } + set { BackingStore?.Set("oldData", value); } + } +#nullable restore +#else + public string OldData + { + get { return BackingStore?.Get("oldData"); } + set { BackingStore?.Set("oldData", value); } + } +#endif + /// ID of the plan the change occurred in. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlanId + { + get { return BackingStore?.Get("planId"); } + set { BackingStore?.Set("planId", value); } + } +#nullable restore +#else + public string PlanId + { + get { return BackingStore?.Get("planId"); } + set { BackingStore?.Set("planId", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.HistoryItem CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.HistoryItem(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "actor", n => { Actor = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "entityId", n => { EntityId = n.GetStringValue(); } }, + { "entityType", n => { EntityType = n.GetEnumValue(); } }, + { "eventType", n => { EventType = n.GetEnumValue(); } }, + { "newData", n => { NewData = n.GetStringValue(); } }, + { "occurredDateTime", n => { OccurredDateTime = n.GetDateTimeOffsetValue(); } }, + { "oldData", n => { OldData = n.GetStringValue(); } }, + { "planId", n => { PlanId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("actor", Actor); + writer.WriteStringValue("entityId", EntityId); + writer.WriteEnumValue("entityType", EntityType); + writer.WriteEnumValue("eventType", EventType); + writer.WriteStringValue("newData", NewData); + writer.WriteStringValue("oldData", OldData); + writer.WriteStringValue("planId", PlanId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/HistoryItemCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/HistoryItemCollectionResponse.cs new file mode 100644 index 000000000000..fd9e56e02f8a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/HistoryItemCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class HistoryItemCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.HistoryItemCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.HistoryItemCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.HistoryItem.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AccessPackageAssignmentRequiredRule.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AccessPackageAssignmentRequiredRule.cs new file mode 100644 index 000000000000..9b1b12bf581a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AccessPackageAssignmentRequiredRule.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AccessPackageAssignmentRequiredRule : global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public AccessPackageAssignmentRequiredRule() : base() + { + OdataType = "#microsoft.graph.identityGovernance.accessPackageAssignmentRequiredRule"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AccessPackageAssignmentRequiredRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AccessPackageAssignmentRequiredRule(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentBuilderPlatforms.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentBuilderPlatforms.cs new file mode 100644 index 000000000000..520aca4875bf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentBuilderPlatforms.cs @@ -0,0 +1,25 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum AgentBuilderPlatforms + #pragma warning restore CS1591 + { + [EnumMember(Value = "microsoftCopilotStudio")] + #pragma warning disable CS1591 + MicrosoftCopilotStudio = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "foundry")] + #pragma warning disable CS1591 + Foundry = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 4, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentIdentityLifecycle.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentIdentityLifecycle.cs new file mode 100644 index 000000000000..bc9580e0993b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentIdentityLifecycle.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AgentIdentityLifecycle : global::Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public AgentIdentityLifecycle() : base() + { + OdataType = "#microsoft.graph.identityGovernance.agentIdentityLifecycle"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AgentIdentityLifecycle CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AgentIdentityLifecycle(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentIdentityLifecyclePolicy.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentIdentityLifecyclePolicy.cs new file mode 100644 index 000000000000..c283630d46b6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AgentIdentityLifecyclePolicy.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AgentIdentityLifecyclePolicy : global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public AgentIdentityLifecyclePolicy() : base() + { + OdataType = "#microsoft.graph.identityGovernance.agentIdentityLifecyclePolicy"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AgentIdentityLifecyclePolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AgentIdentityLifecyclePolicy(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingAgentBuilderPlatformsSubjectSet.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingAgentBuilderPlatformsSubjectSet.cs new file mode 100644 index 000000000000..c10da508ed42 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingAgentBuilderPlatformsSubjectSet.cs @@ -0,0 +1,62 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + /// + /// Defines the scope as all agent identities except those created by the specified builder platforms. Agent identity lifecycle policies only; using this scope on another policy type returns HTTP 400. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AllExcludingAgentBuilderPlatformsSubjectSet : global::Microsoft.Graph.Beta.Models.SubjectSet, IParsable + { + /// The excludedAgentBuilderPlatforms property + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.AgentBuilderPlatforms? ExcludedAgentBuilderPlatforms + { + get { return BackingStore?.Get("excludedAgentBuilderPlatforms"); } + set { BackingStore?.Set("excludedAgentBuilderPlatforms", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public AllExcludingAgentBuilderPlatformsSubjectSet() : base() + { + OdataType = "#microsoft.graph.identityGovernance.allExcludingAgentBuilderPlatformsSubjectSet"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AllExcludingAgentBuilderPlatformsSubjectSet CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AllExcludingAgentBuilderPlatformsSubjectSet(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "excludedAgentBuilderPlatforms", n => { ExcludedAgentBuilderPlatforms = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("excludedAgentBuilderPlatforms", ExcludedAgentBuilderPlatforms); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingGroupsSubjectSet.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingGroupsSubjectSet.cs new file mode 100644 index 000000000000..fa00644852ee --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingGroupsSubjectSet.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AllExcludingGroupsSubjectSet : global::Microsoft.Graph.Beta.Models.SubjectSet, IParsable + #pragma warning restore CS1591 + { + /// The excludedGroups property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ExcludedGroups + { + get { return BackingStore?.Get?>("excludedGroups"); } + set { BackingStore?.Set("excludedGroups", value); } + } +#nullable restore +#else + public List ExcludedGroups + { + get { return BackingStore?.Get>("excludedGroups"); } + set { BackingStore?.Set("excludedGroups", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AllExcludingGroupsSubjectSet() : base() + { + OdataType = "#microsoft.graph.identityGovernance.allExcludingGroupsSubjectSet"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AllExcludingGroupsSubjectSet CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AllExcludingGroupsSubjectSet(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "excludedGroups", n => { ExcludedGroups = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Group.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("excludedGroups", ExcludedGroups); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingSpecificObjectsSubjectSet.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingSpecificObjectsSubjectSet.cs new file mode 100644 index 000000000000..1f8e77cf7689 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AllExcludingSpecificObjectsSubjectSet.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AllExcludingSpecificObjectsSubjectSet : global::Microsoft.Graph.Beta.Models.SubjectSet, IParsable + #pragma warning restore CS1591 + { + /// The excludedObjects property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ExcludedObjects + { + get { return BackingStore?.Get?>("excludedObjects"); } + set { BackingStore?.Set("excludedObjects", value); } + } +#nullable restore +#else + public List ExcludedObjects + { + get { return BackingStore?.Get>("excludedObjects"); } + set { BackingStore?.Set("excludedObjects", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AllExcludingSpecificObjectsSubjectSet() : base() + { + OdataType = "#microsoft.graph.identityGovernance.allExcludingSpecificObjectsSubjectSet"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AllExcludingSpecificObjectsSubjectSet CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AllExcludingSpecificObjectsSubjectSet(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "excludedObjects", n => { ExcludedObjects = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("excludedObjects", ExcludedObjects); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AttestationComplianceIssue.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AttestationComplianceIssue.cs new file mode 100644 index 000000000000..fc90a4623ed6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/AttestationComplianceIssue.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AttestationComplianceIssue : global::Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssue, IParsable + #pragma warning restore CS1591 + { + /// The reasons that prevented the identity from being attested. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AttestationBlockReasons + { + get { return BackingStore?.Get?>("attestationBlockReasons"); } + set { BackingStore?.Set("attestationBlockReasons", value); } + } +#nullable restore +#else + public List AttestationBlockReasons + { + get { return BackingStore?.Get>("attestationBlockReasons"); } + set { BackingStore?.Set("attestationBlockReasons", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AttestationComplianceIssue CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AttestationComplianceIssue(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "attestationBlockReasons", n => { AttestationBlockReasons = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfPrimitiveValues("attestationBlockReasons", AttestationBlockReasons); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceIssue.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceIssue.cs new file mode 100644 index 000000000000..202c3bdf6116 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceIssue.cs @@ -0,0 +1,123 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComplianceIssue : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// A human-readable description of the compliance issue. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// The identifier of the lifecycle policy that generated the compliance issue. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? GoverningPolicyReferenceId + { + get { return BackingStore?.Get("governingPolicyReferenceId"); } + set { BackingStore?.Set("governingPolicyReferenceId", value); } + } +#nullable restore +#else + public string GoverningPolicyReferenceId + { + get { return BackingStore?.Get("governingPolicyReferenceId"); } + set { BackingStore?.Set("governingPolicyReferenceId", value); } + } +#endif + /// A code that identifies the type of compliance issue. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? IssueCode + { + get { return BackingStore?.Get("issueCode"); } + set { BackingStore?.Set("issueCode", value); } + } +#nullable restore +#else + public string IssueCode + { + get { return BackingStore?.Get("issueCode"); } + set { BackingStore?.Set("issueCode", value); } + } +#endif + /// The type of rule that generated the compliance issue, so callers can identify which rule caused non-compliance. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RuleType + { + get { return BackingStore?.Get("ruleType"); } + set { BackingStore?.Set("ruleType", value); } + } +#nullable restore +#else + public string RuleType + { + get { return BackingStore?.Get("ruleType"); } + set { BackingStore?.Set("ruleType", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssue CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.identityGovernance.attestationComplianceIssue" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AttestationComplianceIssue(), + _ => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssue(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "description", n => { Description = n.GetStringValue(); } }, + { "governingPolicyReferenceId", n => { GoverningPolicyReferenceId = n.GetStringValue(); } }, + { "issueCode", n => { IssueCode = n.GetStringValue(); } }, + { "ruleType", n => { RuleType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("governingPolicyReferenceId", GoverningPolicyReferenceId); + writer.WriteStringValue("issueCode", IssueCode); + writer.WriteStringValue("ruleType", RuleType); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceIssueCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceIssueCollectionResponse.cs new file mode 100644 index 000000000000..1e867052d4e8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceIssueCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ComplianceIssueCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssueCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssueCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssue.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceState.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceState.cs new file mode 100644 index 000000000000..c3c5c0032432 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/ComplianceState.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ComplianceState + #pragma warning restore CS1591 + { + [EnumMember(Value = "compliant")] + #pragma warning disable CS1591 + Compliant, + #pragma warning restore CS1591 + [EnumMember(Value = "warning")] + #pragma warning disable CS1591 + Warning, + #pragma warning restore CS1591 + [EnumMember(Value = "warningNotify")] + #pragma warning disable CS1591 + WarningNotify, + #pragma warning restore CS1591 + [EnumMember(Value = "nonCompliant")] + #pragma warning disable CS1591 + NonCompliant, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/DeleteOnlyEnforcementAction.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/DeleteOnlyEnforcementAction.cs new file mode 100644 index 000000000000..b2d7db500237 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/DeleteOnlyEnforcementAction.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DeleteOnlyEnforcementAction : global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyEnforcementAction, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public DeleteOnlyEnforcementAction() : base() + { + OdataType = "#microsoft.graph.identityGovernance.deleteOnlyEnforcementAction"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.DeleteOnlyEnforcementAction CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.DeleteOnlyEnforcementAction(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/DisableOnlyEnforcementAction.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/DisableOnlyEnforcementAction.cs new file mode 100644 index 000000000000..2a3628dc431a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/DisableOnlyEnforcementAction.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DisableOnlyEnforcementAction : global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyEnforcementAction, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public DisableOnlyEnforcementAction() : base() + { + OdataType = "#microsoft.graph.identityGovernance.disableOnlyEnforcementAction"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.DisableOnlyEnforcementAction CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.DisableOnlyEnforcementAction(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/DisableThenDeleteEnforcementAction.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/DisableThenDeleteEnforcementAction.cs new file mode 100644 index 000000000000..3ed13ff20bfc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/DisableThenDeleteEnforcementAction.cs @@ -0,0 +1,61 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DisableThenDeleteEnforcementAction : global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyEnforcementAction, IParsable + #pragma warning restore CS1591 + { + /// The number of days to wait after disabling a non-compliant identity before deleting it. + public int? DeletionGracePeriodInDays + { + get { return BackingStore?.Get("deletionGracePeriodInDays"); } + set { BackingStore?.Set("deletionGracePeriodInDays", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public DisableThenDeleteEnforcementAction() : base() + { + OdataType = "#microsoft.graph.identityGovernance.disableThenDeleteEnforcementAction"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.DisableThenDeleteEnforcementAction CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.DisableThenDeleteEnforcementAction(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "deletionGracePeriodInDays", n => { DeletionGracePeriodInDays = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteIntValue("deletionGracePeriodInDays", DeletionGracePeriodInDays); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/GuestLifecyclePolicy.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/GuestLifecyclePolicy.cs new file mode 100644 index 000000000000..18cf59e84b83 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/GuestLifecyclePolicy.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GuestLifecyclePolicy : global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public GuestLifecyclePolicy() : base() + { + OdataType = "#microsoft.graph.identityGovernance.guestLifecyclePolicy"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.GuestLifecyclePolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.GuestLifecyclePolicy(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/IdentityLifecycle.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/IdentityLifecycle.cs new file mode 100644 index 000000000000..6f6f0d92b1ce --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/IdentityLifecycle.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class IdentityLifecycle : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ComplianceIssues + { + get { return BackingStore?.Get?>("complianceIssues"); } + set { BackingStore?.Set("complianceIssues", value); } + } +#nullable restore +#else + public List ComplianceIssues + { + get { return BackingStore?.Get>("complianceIssues"); } + set { BackingStore?.Set("complianceIssues", value); } + } +#endif + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy? EffectiveGoverningPolicy + { + get { return BackingStore?.Get("effectiveGoverningPolicy"); } + set { BackingStore?.Set("effectiveGoverningPolicy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy EffectiveGoverningPolicy + { + get { return BackingStore?.Get("effectiveGoverningPolicy"); } + set { BackingStore?.Set("effectiveGoverningPolicy", value); } + } +#endif + /// The date and time when the identity was last attested. This value can be null if the identity hasn't yet been attested. + public DateTimeOffset? LastAttestationDateTime + { + get { return BackingStore?.Get("lastAttestationDateTime"); } + set { BackingStore?.Set("lastAttestationDateTime", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.identityGovernance.agentIdentityLifecycle" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AgentIdentityLifecycle(), + "#microsoft.graph.identityGovernance.userIdentityLifecycle" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle(), + _ => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "complianceIssues", n => { ComplianceIssues = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssue.CreateFromDiscriminatorValue)?.AsList(); } }, + { "effectiveGoverningPolicy", n => { EffectiveGoverningPolicy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue); } }, + { "lastAttestationDateTime", n => { LastAttestationDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("complianceIssues", ComplianceIssues); + writer.WriteObjectValue("effectiveGoverningPolicy", EffectiveGoverningPolicy); + writer.WriteDateTimeOffsetValue("lastAttestationDateTime", LastAttestationDateTime); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/InactivityRule.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/InactivityRule.cs new file mode 100644 index 000000000000..f0269d5e4a6d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/InactivityRule.cs @@ -0,0 +1,61 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class InactivityRule : global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule, IParsable + #pragma warning restore CS1591 + { + /// The maximum number of days an identity can remain inactive before it's flagged as non-compliant by the rule. + public int? LastActivityThresholdInDays + { + get { return BackingStore?.Get("lastActivityThresholdInDays"); } + set { BackingStore?.Set("lastActivityThresholdInDays", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public InactivityRule() : base() + { + OdataType = "#microsoft.graph.identityGovernance.inactivityRule"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.InactivityRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.InactivityRule(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "lastActivityThresholdInDays", n => { LastActivityThresholdInDays = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteIntValue("lastActivityThresholdInDays", LastActivityThresholdInDays); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/InvitationRedemptionRule.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/InvitationRedemptionRule.cs new file mode 100644 index 000000000000..12604da38173 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/InvitationRedemptionRule.cs @@ -0,0 +1,62 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + /// + /// Requires a pending guest invitation to be redeemed within a threshold period. Guest lifecycle policies only; adding this rule to a non-guest lifecycle policy returns HTTP 400. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class InvitationRedemptionRule : global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule, IParsable + { + /// The number of days in which the guest user must redeem their invitation. + public int? InvitationRedemptionThresholdInDays + { + get { return BackingStore?.Get("invitationRedemptionThresholdInDays"); } + set { BackingStore?.Set("invitationRedemptionThresholdInDays", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public InvitationRedemptionRule() : base() + { + OdataType = "#microsoft.graph.identityGovernance.invitationRedemptionRule"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.InvitationRedemptionRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.InvitationRedemptionRule(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "invitationRedemptionThresholdInDays", n => { InvitationRedemptionThresholdInDays = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteIntValue("invitationRedemptionThresholdInDays", InvitationRedemptionThresholdInDays); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicy.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicy.cs new file mode 100644 index 000000000000..390b08eb5a3c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicy.cs @@ -0,0 +1,280 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicy : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The user or service principal that created the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.DirectoryObject? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.DirectoryObject CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// The date and time when the policy was created. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The description of the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif + /// The display name of the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The enforcementAction property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyEnforcementAction? EnforcementAction + { + get { return BackingStore?.Get("enforcementAction"); } + set { BackingStore?.Set("enforcementAction", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyEnforcementAction EnforcementAction + { + get { return BackingStore?.Get("enforcementAction"); } + set { BackingStore?.Set("enforcementAction", value); } + } +#endif + /// The number of days after an identity becomes non-compliant before the enforcement action is applied. + public int? GracePeriodInDays + { + get { return BackingStore?.Get("gracePeriodInDays"); } + set { BackingStore?.Set("gracePeriodInDays", value); } + } + /// Indicates whether the policy is enabled and actively evaluated. + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// The user or service principal that last modified the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.DirectoryObject? LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.DirectoryObject LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#endif + /// The date and time when the policy was last modified. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// The notification settings for the policy, including the offsets, in days after non-compliance, at which notifications are sent. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyNotificationSettings? NotificationSchedule + { + get { return BackingStore?.Get("notificationSchedule"); } + set { BackingStore?.Set("notificationSchedule", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyNotificationSettings NotificationSchedule + { + get { return BackingStore?.Get("notificationSchedule"); } + set { BackingStore?.Set("notificationSchedule", value); } + } +#endif + /// The policySource property + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySource? PolicySource + { + get { return BackingStore?.Get("policySource"); } + set { BackingStore?.Set("policySource", value); } + } + /// The latest processing report for the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReport? Report + { + get { return BackingStore?.Get("report"); } + set { BackingStore?.Set("report", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReport Report + { + get { return BackingStore?.Get("report"); } + set { BackingStore?.Set("report", value); } + } +#endif + /// The collection of inline compliance rules evaluated for the policy. Rules are combined with AND logic. A maximum of 10 rules are allowed per policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Rules + { + get { return BackingStore?.Get?>("rules"); } + set { BackingStore?.Set("rules", value); } + } +#nullable restore +#else + public List Rules + { + get { return BackingStore?.Get>("rules"); } + set { BackingStore?.Set("rules", value); } + } +#endif + /// The set of subjects that the policy applies to. For example, use an allExcludingGroupsSubjectSet to exclude specific groups from evaluation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.SubjectSet? Scope + { + get { return BackingStore?.Get("scope"); } + set { BackingStore?.Set("scope", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.SubjectSet Scope + { + get { return BackingStore?.Get("scope"); } + set { BackingStore?.Set("scope", value); } + } +#endif + /// The version number of the policy, which increments each time the policy is updated. + public int? VersionNumber + { + get { return BackingStore?.Get("versionNumber"); } + set { BackingStore?.Set("versionNumber", value); } + } + /// The collection of previous versions of the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Versions + { + get { return BackingStore?.Get?>("versions"); } + set { BackingStore?.Set("versions", value); } + } +#nullable restore +#else + public List Versions + { + get { return BackingStore?.Get>("versions"); } + set { BackingStore?.Set("versions", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.identityGovernance.agentIdentityLifecyclePolicy" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AgentIdentityLifecyclePolicy(), + "#microsoft.graph.identityGovernance.guestLifecyclePolicy" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.GuestLifecyclePolicy(), + _ => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "enforcementAction", n => { EnforcementAction = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyEnforcementAction.CreateFromDiscriminatorValue); } }, + { "gracePeriodInDays", n => { GracePeriodInDays = n.GetIntValue(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "notificationSchedule", n => { NotificationSchedule = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyNotificationSettings.CreateFromDiscriminatorValue); } }, + { "policySource", n => { PolicySource = n.GetEnumValue(); } }, + { "report", n => { Report = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReport.CreateFromDiscriminatorValue); } }, + { "rules", n => { Rules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule.CreateFromDiscriminatorValue)?.AsList(); } }, + { "scope", n => { Scope = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SubjectSet.CreateFromDiscriminatorValue); } }, + { "versionNumber", n => { VersionNumber = n.GetIntValue(); } }, + { "versions", n => { Versions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("createdBy", CreatedBy); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteObjectValue("enforcementAction", EnforcementAction); + writer.WriteIntValue("gracePeriodInDays", GracePeriodInDays); + writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteObjectValue("notificationSchedule", NotificationSchedule); + writer.WriteEnumValue("policySource", PolicySource); + writer.WriteObjectValue("report", Report); + writer.WriteCollectionOfObjectValues("rules", Rules); + writer.WriteObjectValue("scope", Scope); + writer.WriteIntValue("versionNumber", VersionNumber); + writer.WriteCollectionOfObjectValues("versions", Versions); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyAgentIdentitySubjectReference.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyAgentIdentitySubjectReference.cs new file mode 100644 index 000000000000..f3c595d70f5d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyAgentIdentitySubjectReference.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyAgentIdentitySubjectReference : global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReference, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyAgentIdentitySubjectReference() : base() + { + OdataType = "#microsoft.graph.identityGovernance.lifecyclePolicyAgentIdentitySubjectReference"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyAgentIdentitySubjectReference CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyAgentIdentitySubjectReference(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyCollectionResponse.cs new file mode 100644 index 000000000000..fd77bc40aa91 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyComplianceStatus.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyComplianceStatus.cs new file mode 100644 index 000000000000..84ae885c7946 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyComplianceStatus.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyComplianceStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "notEvaluated")] + #pragma warning disable CS1591 + NotEvaluated, + #pragma warning restore CS1591 + [EnumMember(Value = "compliant")] + #pragma warning disable CS1591 + Compliant, + #pragma warning restore CS1591 + [EnumMember(Value = "nonCompliant")] + #pragma warning disable CS1591 + NonCompliant, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementAction.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementAction.cs new file mode 100644 index 000000000000..1bb39d7ffa70 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementAction.cs @@ -0,0 +1,88 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyEnforcementAction : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyEnforcementAction() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyEnforcementAction CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.identityGovernance.deleteOnlyEnforcementAction" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.DeleteOnlyEnforcementAction(), + "#microsoft.graph.identityGovernance.disableOnlyEnforcementAction" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.DisableOnlyEnforcementAction(), + "#microsoft.graph.identityGovernance.disableThenDeleteEnforcementAction" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.DisableThenDeleteEnforcementAction(), + _ => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyEnforcementAction(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementActionState.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementActionState.cs new file mode 100644 index 000000000000..beba2e152468 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementActionState.cs @@ -0,0 +1,52 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyEnforcementActionState + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "warningStateEnabled")] + #pragma warning disable CS1591 + WarningStateEnabled, + #pragma warning restore CS1591 + [EnumMember(Value = "nonComplianceNotificationSent")] + #pragma warning disable CS1591 + NonComplianceNotificationSent, + #pragma warning restore CS1591 + [EnumMember(Value = "firstNotificationSent")] + #pragma warning disable CS1591 + FirstNotificationSent, + #pragma warning restore CS1591 + [EnumMember(Value = "secondNotificationSent")] + #pragma warning disable CS1591 + SecondNotificationSent, + #pragma warning restore CS1591 + [EnumMember(Value = "finalNotificationSent")] + #pragma warning disable CS1591 + FinalNotificationSent, + #pragma warning restore CS1591 + [EnumMember(Value = "disabled")] + #pragma warning disable CS1591 + Disabled, + #pragma warning restore CS1591 + [EnumMember(Value = "deleted")] + #pragma warning disable CS1591 + Deleted, + #pragma warning restore CS1591 + [EnumMember(Value = "complianceRestored")] + #pragma warning disable CS1591 + ComplianceRestored, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementStatus.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementStatus.cs new file mode 100644 index 000000000000..e613df872b62 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyEnforcementStatus.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyEnforcementStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "notRequired")] + #pragma warning disable CS1591 + NotRequired, + #pragma warning restore CS1591 + [EnumMember(Value = "notStarted")] + #pragma warning disable CS1591 + NotStarted, + #pragma warning restore CS1591 + [EnumMember(Value = "processing")] + #pragma warning disable CS1591 + Processing, + #pragma warning restore CS1591 + [EnumMember(Value = "waiting")] + #pragma warning disable CS1591 + Waiting, + #pragma warning restore CS1591 + [EnumMember(Value = "actionDue")] + #pragma warning disable CS1591 + ActionDue, + #pragma warning restore CS1591 + [EnumMember(Value = "complete")] + #pragma warning disable CS1591 + Complete, + #pragma warning restore CS1591 + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyImpactAction.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyImpactAction.cs new file mode 100644 index 000000000000..6d9a69e16533 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyImpactAction.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyImpactAction : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The actionType property + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyImpactActionType? ActionType + { + get { return BackingStore?.Get("actionType"); } + set { BackingStore?.Set("actionType", value); } + } + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The date and time when the action occurred. + public DateTimeOffset? DateTime + { + get { return BackingStore?.Get("dateTime"); } + set { BackingStore?.Set("dateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyImpactAction() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyImpactAction CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyImpactAction(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "actionType", n => { ActionType = n.GetEnumValue(); } }, + { "dateTime", n => { DateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("actionType", ActionType); + writer.WriteDateTimeOffsetValue("dateTime", DateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyImpactActionType.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyImpactActionType.cs new file mode 100644 index 000000000000..8dba627582d0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyImpactActionType.cs @@ -0,0 +1,36 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyImpactActionType + #pragma warning restore CS1591 + { + [EnumMember(Value = "objectCoveredByPolicy")] + #pragma warning disable CS1591 + ObjectCoveredByPolicy, + #pragma warning restore CS1591 + [EnumMember(Value = "attestationNeededWarning")] + #pragma warning disable CS1591 + AttestationNeededWarning, + #pragma warning restore CS1591 + [EnumMember(Value = "attestationNeededNotificationSent")] + #pragma warning disable CS1591 + AttestationNeededNotificationSent, + #pragma warning restore CS1591 + [EnumMember(Value = "disabledDueToAttestationNonCompliance")] + #pragma warning disable CS1591 + DisabledDueToAttestationNonCompliance, + #pragma warning restore CS1591 + [EnumMember(Value = "deletedDueToAttestationNonCompliance")] + #pragma warning disable CS1591 + DeletedDueToAttestationNonCompliance, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyImpactSummary.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyImpactSummary.cs new file mode 100644 index 000000000000..2df3572c4e57 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyImpactSummary.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyImpactSummary : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The policy actions taken for the subject during the evaluation period. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ActionsTaken + { + get { return BackingStore?.Get?>("actionsTaken"); } + set { BackingStore?.Set("actionsTaken", value); } + } +#nullable restore +#else + public List ActionsTaken + { + get { return BackingStore?.Get>("actionsTaken"); } + set { BackingStore?.Set("actionsTaken", value); } + } +#endif + /// The subject evaluated by the policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.DirectoryObject? Subject + { + get { return BackingStore?.Get("subject"); } + set { BackingStore?.Set("subject", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.DirectoryObject Subject + { + get { return BackingStore?.Get("subject"); } + set { BackingStore?.Set("subject", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyImpactSummary CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyImpactSummary(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "actionsTaken", n => { ActionsTaken = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyImpactAction.CreateFromDiscriminatorValue)?.AsList(); } }, + { "subject", n => { Subject = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("actionsTaken", ActionsTaken); + writer.WriteObjectValue("subject", Subject); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyNextEnforcementAction.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyNextEnforcementAction.cs new file mode 100644 index 000000000000..8eb1bfb9c599 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyNextEnforcementAction.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyNextEnforcementAction + #pragma warning restore CS1591 + { + [EnumMember(Value = "nonComplianceNotification")] + #pragma warning disable CS1591 + NonComplianceNotification, + #pragma warning restore CS1591 + [EnumMember(Value = "firstNotification")] + #pragma warning disable CS1591 + FirstNotification, + #pragma warning restore CS1591 + [EnumMember(Value = "secondNotification")] + #pragma warning disable CS1591 + SecondNotification, + #pragma warning restore CS1591 + [EnumMember(Value = "finalNotification")] + #pragma warning disable CS1591 + FinalNotification, + #pragma warning restore CS1591 + [EnumMember(Value = "disable")] + #pragma warning disable CS1591 + Disable, + #pragma warning restore CS1591 + [EnumMember(Value = "disableNotification")] + #pragma warning disable CS1591 + DisableNotification, + #pragma warning restore CS1591 + [EnumMember(Value = "delete")] + #pragma warning disable CS1591 + Delete, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyNotificationSettings.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyNotificationSettings.cs new file mode 100644 index 000000000000..1820387c5d5c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyNotificationSettings.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyNotificationSettings : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// The email addresses used when no targeted notification recipient has a valid email address. These addresses aren't copied on every notification or used alongside a valid targeted recipient. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AdditionalFallbackRecipients + { + get { return BackingStore?.Get?>("additionalFallbackRecipients"); } + set { BackingStore?.Set("additionalFallbackRecipients", value); } + } +#nullable restore +#else + public List AdditionalFallbackRecipients + { + get { return BackingStore?.Get>("additionalFallbackRecipients"); } + set { BackingStore?.Set("additionalFallbackRecipients", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The offsets, in days after an identity becomes non-compliant, at which notifications are sent. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? OffsetsAfterNonComplianceInDays + { + get { return BackingStore?.Get?>("offsetsAfterNonComplianceInDays"); } + set { BackingStore?.Set("offsetsAfterNonComplianceInDays", value); } + } +#nullable restore +#else + public List OffsetsAfterNonComplianceInDays + { + get { return BackingStore?.Get>("offsetsAfterNonComplianceInDays"); } + set { BackingStore?.Set("offsetsAfterNonComplianceInDays", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyNotificationSettings() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyNotificationSettings CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyNotificationSettings(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "additionalFallbackRecipients", n => { AdditionalFallbackRecipients = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "offsetsAfterNonComplianceInDays", n => { OffsetsAfterNonComplianceInDays = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("additionalFallbackRecipients", AdditionalFallbackRecipients); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfPrimitiveValues("offsetsAfterNonComplianceInDays", OffsetsAfterNonComplianceInDays); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyPriorityConfiguration.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyPriorityConfiguration.cs new file mode 100644 index 000000000000..d6ea2ad3e7e8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyPriorityConfiguration.cs @@ -0,0 +1,72 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyPriorityConfiguration : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The identifiers of the lifecycle policies in evaluation priority order. The first policy in the collection has the highest priority. A maximum of 10 policies are allowed per subject type. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? OrderedPolicyIds + { + get { return BackingStore?.Get?>("orderedPolicyIds"); } + set { BackingStore?.Set("orderedPolicyIds", value); } + } +#nullable restore +#else + public List OrderedPolicyIds + { + get { return BackingStore?.Get>("orderedPolicyIds"); } + set { BackingStore?.Set("orderedPolicyIds", value); } + } +#endif + /// The subjectType property + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.SubjectType? SubjectType + { + get { return BackingStore?.Get("subjectType"); } + set { BackingStore?.Set("subjectType", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "orderedPolicyIds", n => { OrderedPolicyIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "subjectType", n => { SubjectType = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfPrimitiveValues("orderedPolicyIds", OrderedPolicyIds); + writer.WriteEnumValue("subjectType", SubjectType); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyPriorityConfigurationCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyPriorityConfigurationCollectionResponse.cs new file mode 100644 index 000000000000..9843b76a0af9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyPriorityConfigurationCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyPriorityConfigurationCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfigurationCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfigurationCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyReference.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyReference.cs new file mode 100644 index 000000000000..6697dac7fd54 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyReference.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyReference : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The unique identifier of the referenced lifecycle policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Id + { + get { return BackingStore?.Get("id"); } + set { BackingStore?.Set("id", value); } + } +#nullable restore +#else + public string Id + { + get { return BackingStore?.Get("id"); } + set { BackingStore?.Set("id", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The version of the referenced lifecycle policy. + public int? Version + { + get { return BackingStore?.Get("version"); } + set { BackingStore?.Set("version", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyReference() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReference CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReference(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "version", n => { Version = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("id", Id); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteIntValue("version", Version); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRelationship.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRelationship.cs new file mode 100644 index 000000000000..9d8fe231ee97 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRelationship.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyRelationship + #pragma warning restore CS1591 + { + [EnumMember(Value = "effective")] + #pragma warning disable CS1591 + Effective, + #pragma warning restore CS1591 + [EnumMember(Value = "inScopeButIneffective")] + #pragma warning disable CS1591 + InScopeButIneffective, + #pragma warning restore CS1591 + [EnumMember(Value = "pending")] + #pragma warning disable CS1591 + Pending, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyReport.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyReport.cs new file mode 100644 index 000000000000..a5aa396f8f49 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyReport.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyReport : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The version of the lifecycle policy represented by the report. + public int? PolicyVersion + { + get { return BackingStore?.Get("policyVersion"); } + set { BackingStore?.Set("policyVersion", value); } + } + /// The scopeProcessing property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyScopeProcessing? ScopeProcessing + { + get { return BackingStore?.Get("scopeProcessing"); } + set { BackingStore?.Set("scopeProcessing", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyScopeProcessing ScopeProcessing + { + get { return BackingStore?.Get("scopeProcessing"); } + set { BackingStore?.Set("scopeProcessing", value); } + } +#endif + /// The processing results for subjects included in the report. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Subjects + { + get { return BackingStore?.Get?>("subjects"); } + set { BackingStore?.Set("subjects", value); } + } +#nullable restore +#else + public List Subjects + { + get { return BackingStore?.Get>("subjects"); } + set { BackingStore?.Set("subjects", value); } + } +#endif + /// The number of subjects currently in scope for the policy. + public int? SubjectsInScopeCount + { + get { return BackingStore?.Get("subjectsInScopeCount"); } + set { BackingStore?.Set("subjectsInScopeCount", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReport CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReport(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "policyVersion", n => { PolicyVersion = n.GetIntValue(); } }, + { "scopeProcessing", n => { ScopeProcessing = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyScopeProcessing.CreateFromDiscriminatorValue); } }, + { "subjects", n => { Subjects = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReport.CreateFromDiscriminatorValue)?.AsList(); } }, + { "subjectsInScopeCount", n => { SubjectsInScopeCount = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteIntValue("policyVersion", PolicyVersion); + writer.WriteObjectValue("scopeProcessing", ScopeProcessing); + writer.WriteCollectionOfObjectValues("subjects", Subjects); + writer.WriteIntValue("subjectsInScopeCount", SubjectsInScopeCount); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRule.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRule.cs new file mode 100644 index 000000000000..3b4c7b781cfc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRule.cs @@ -0,0 +1,63 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyRule : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Indicates whether the rule is enabled and evaluated as part of its policy. + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.identityGovernance.accessPackageAssignmentRequiredRule" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AccessPackageAssignmentRequiredRule(), + "#microsoft.graph.identityGovernance.inactivityRule" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.InactivityRule(), + "#microsoft.graph.identityGovernance.invitationRedemptionRule" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.InvitationRedemptionRule(), + "#microsoft.graph.identityGovernance.periodicAttestationRule" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.PeriodicAttestationRule(), + "#microsoft.graph.identityGovernance.sponsorPresenceRule" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.SponsorPresenceRule(), + _ => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteBoolValue("isEnabled", IsEnabled); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRuleCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRuleCollectionResponse.cs new file mode 100644 index 000000000000..715d14764451 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyRuleCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyRuleCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessing.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessing.cs new file mode 100644 index 000000000000..1aa7640eb977 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessing.cs @@ -0,0 +1,123 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyScopeProcessing : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The date and time when the current scope-processing operation started. + public DateTimeOffset? CurrentStartedDateTime + { + get { return BackingStore?.Get("currentStartedDateTime"); } + set { BackingStore?.Set("currentStartedDateTime", value); } + } + /// The currentStatus property + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyScopeProcessingStatus? CurrentStatus + { + get { return BackingStore?.Get("currentStatus"); } + set { BackingStore?.Set("currentStatus", value); } + } + /// The date and time when scope processing last completed successfully. + public DateTimeOffset? LastSuccessfulProcessingDateTime + { + get { return BackingStore?.Get("lastSuccessfulProcessingDateTime"); } + set { BackingStore?.Set("lastSuccessfulProcessingDateTime", value); } + } + /// The latest retained scope-processing attempt. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt? LatestAttempt + { + get { return BackingStore?.Get("latestAttempt"); } + set { BackingStore?.Set("latestAttempt", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt LatestAttempt + { + get { return BackingStore?.Get("latestAttempt"); } + set { BackingStore?.Set("latestAttempt", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyScopeProcessing() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyScopeProcessing CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyScopeProcessing(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "currentStartedDateTime", n => { CurrentStartedDateTime = n.GetDateTimeOffsetValue(); } }, + { "currentStatus", n => { CurrentStatus = n.GetEnumValue(); } }, + { "lastSuccessfulProcessingDateTime", n => { LastSuccessfulProcessingDateTime = n.GetDateTimeOffsetValue(); } }, + { "latestAttempt", n => { LatestAttempt = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("currentStartedDateTime", CurrentStartedDateTime); + writer.WriteEnumValue("currentStatus", CurrentStatus); + writer.WriteDateTimeOffsetValue("lastSuccessfulProcessingDateTime", LastSuccessfulProcessingDateTime); + writer.WriteObjectValue("latestAttempt", LatestAttempt); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttempt.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttempt.cs new file mode 100644 index 000000000000..352c9bfd8f70 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttempt.cs @@ -0,0 +1,123 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyScopeProcessingAttempt : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The date and time when the attempt completed. + public DateTimeOffset? CompletedDateTime + { + get { return BackingStore?.Get("completedDateTime"); } + set { BackingStore?.Set("completedDateTime", value); } + } + /// The error associated with an unsuccessful attempt. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.PublicError? Error + { + get { return BackingStore?.Get("error"); } + set { BackingStore?.Set("error", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.PublicError Error + { + get { return BackingStore?.Get("error"); } + set { BackingStore?.Set("error", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The date and time when the attempt started. + public DateTimeOffset? StartedDateTime + { + get { return BackingStore?.Get("startedDateTime"); } + set { BackingStore?.Set("startedDateTime", value); } + } + /// The status property + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttemptStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyScopeProcessingAttempt() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "completedDateTime", n => { CompletedDateTime = n.GetDateTimeOffsetValue(); } }, + { "error", n => { Error = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PublicError.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "startedDateTime", n => { StartedDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("completedDateTime", CompletedDateTime); + writer.WriteObjectValue("error", Error); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteDateTimeOffsetValue("startedDateTime", StartedDateTime); + writer.WriteEnumValue("status", Status); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttemptStatus.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttemptStatus.cs new file mode 100644 index 000000000000..66b59ab4cc82 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingAttemptStatus.cs @@ -0,0 +1,44 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyScopeProcessingAttemptStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "notStarted")] + #pragma warning disable CS1591 + NotStarted, + #pragma warning restore CS1591 + [EnumMember(Value = "evaluating")] + #pragma warning disable CS1591 + Evaluating, + #pragma warning restore CS1591 + [EnumMember(Value = "processing")] + #pragma warning disable CS1591 + Processing, + #pragma warning restore CS1591 + [EnumMember(Value = "completed")] + #pragma warning disable CS1591 + Completed, + #pragma warning restore CS1591 + [EnumMember(Value = "failed")] + #pragma warning disable CS1591 + Failed, + #pragma warning restore CS1591 + [EnumMember(Value = "timedOut")] + #pragma warning disable CS1591 + TimedOut, + #pragma warning restore CS1591 + [EnumMember(Value = "invalidScope")] + #pragma warning disable CS1591 + InvalidScope, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingStatus.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingStatus.cs new file mode 100644 index 000000000000..c6f8a46570ab --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyScopeProcessingStatus.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyScopeProcessingStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "idle")] + #pragma warning disable CS1591 + Idle, + #pragma warning restore CS1591 + [EnumMember(Value = "notStarted")] + #pragma warning disable CS1591 + NotStarted, + #pragma warning restore CS1591 + [EnumMember(Value = "evaluating")] + #pragma warning disable CS1591 + Evaluating, + #pragma warning restore CS1591 + [EnumMember(Value = "processing")] + #pragma warning disable CS1591 + Processing, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySource.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySource.cs new file mode 100644 index 000000000000..48f80c14dddf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySource.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicySource + #pragma warning restore CS1591 + { + [EnumMember(Value = "userCreated")] + #pragma warning disable CS1591 + UserCreated, + #pragma warning restore CS1591 + [EnumMember(Value = "systemDefault")] + #pragma warning disable CS1591 + SystemDefault, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectCompliance.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectCompliance.cs new file mode 100644 index 000000000000..5c9bad6117d8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectCompliance.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicySubjectCompliance : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The date and time when the subject's compliance was evaluated. + public DateTimeOffset? EvaluatedDateTime + { + get { return BackingStore?.Get("evaluatedDateTime"); } + set { BackingStore?.Set("evaluatedDateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The status property + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyComplianceStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicySubjectCompliance() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectCompliance CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectCompliance(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "evaluatedDateTime", n => { EvaluatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("evaluatedDateTime", EvaluatedDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("status", Status); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectEnforcement.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectEnforcement.cs new file mode 100644 index 000000000000..fad133fab21e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectEnforcement.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicySubjectEnforcement : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates whether enforcement is locked. + public bool? IsLocked + { + get { return BackingStore?.Get("isLocked"); } + set { BackingStore?.Set("isLocked", value); } + } + /// Indicates whether enforcement reached a terminal state. + public bool? IsTerminal + { + get { return BackingStore?.Get("isTerminal"); } + set { BackingStore?.Set("isTerminal", value); } + } + /// The lastAction property + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyEnforcementActionState? LastAction + { + get { return BackingStore?.Get("lastAction"); } + set { BackingStore?.Set("lastAction", value); } + } + /// The date and time when the last enforcement action completed. + public DateTimeOffset? LastActionDateTime + { + get { return BackingStore?.Get("lastActionDateTime"); } + set { BackingStore?.Set("lastActionDateTime", value); } + } + /// The next enforcement action. The possible values are: nonComplianceNotification, firstNotification, secondNotification, finalNotification, disable, disableNotification, delete, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyNextEnforcementAction? NextAction + { + get { return BackingStore?.Get("nextAction"); } + set { BackingStore?.Set("nextAction", value); } + } + /// The date and time when the next enforcement action is scheduled. + public DateTimeOffset? NextActionDateTime + { + get { return BackingStore?.Get("nextActionDateTime"); } + set { BackingStore?.Set("nextActionDateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The status property + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyEnforcementStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicySubjectEnforcement() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isLocked", n => { IsLocked = n.GetBoolValue(); } }, + { "isTerminal", n => { IsTerminal = n.GetBoolValue(); } }, + { "lastAction", n => { LastAction = n.GetEnumValue(); } }, + { "lastActionDateTime", n => { LastActionDateTime = n.GetDateTimeOffsetValue(); } }, + { "nextAction", n => { NextAction = n.GetEnumValue(); } }, + { "nextActionDateTime", n => { NextActionDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("isLocked", IsLocked); + writer.WriteBoolValue("isTerminal", IsTerminal); + writer.WriteEnumValue("lastAction", LastAction); + writer.WriteDateTimeOffsetValue("lastActionDateTime", LastActionDateTime); + writer.WriteEnumValue("nextAction", NextAction); + writer.WriteDateTimeOffsetValue("nextActionDateTime", NextActionDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("status", Status); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReference.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReference.cs new file mode 100644 index 000000000000..039097698d7c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReference.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicySubjectReference : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The unique identifier of the subject. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Id + { + get { return BackingStore?.Get("id"); } + set { BackingStore?.Set("id", value); } + } +#nullable restore +#else + public string Id + { + get { return BackingStore?.Get("id"); } + set { BackingStore?.Set("id", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicySubjectReference() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReference CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.identityGovernance.lifecyclePolicyAgentIdentitySubjectReference" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyAgentIdentitySubjectReference(), + "#microsoft.graph.identityGovernance.lifecyclePolicyUserSubjectReference" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyUserSubjectReference(), + _ => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReference(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("id", Id); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReport.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReport.cs new file mode 100644 index 000000000000..14f5ed5ac8ee --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReport.cs @@ -0,0 +1,126 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicySubjectReport : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The compliance property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectCompliance? Compliance + { + get { return BackingStore?.Get("compliance"); } + set { BackingStore?.Set("compliance", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectCompliance Compliance + { + get { return BackingStore?.Get("compliance"); } + set { BackingStore?.Set("compliance", value); } + } +#endif + /// A reference to the effective lifecycle policy for the subject. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReference? EffectivePolicy + { + get { return BackingStore?.Get("effectivePolicy"); } + set { BackingStore?.Set("effectivePolicy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReference EffectivePolicy + { + get { return BackingStore?.Get("effectivePolicy"); } + set { BackingStore?.Set("effectivePolicy", value); } + } +#endif + /// The enforcement property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement? Enforcement + { + get { return BackingStore?.Get("enforcement"); } + set { BackingStore?.Set("enforcement", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement Enforcement + { + get { return BackingStore?.Get("enforcement"); } + set { BackingStore?.Set("enforcement", value); } + } +#endif + /// The relationship property + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRelationship? Relationship + { + get { return BackingStore?.Get("relationship"); } + set { BackingStore?.Set("relationship", value); } + } + /// The subject property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReference? Subject + { + get { return BackingStore?.Get("subject"); } + set { BackingStore?.Set("subject", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReference Subject + { + get { return BackingStore?.Get("subject"); } + set { BackingStore?.Set("subject", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReport CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReport(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "compliance", n => { Compliance = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectCompliance.CreateFromDiscriminatorValue); } }, + { "effectivePolicy", n => { EffectivePolicy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReference.CreateFromDiscriminatorValue); } }, + { "enforcement", n => { Enforcement = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement.CreateFromDiscriminatorValue); } }, + { "relationship", n => { Relationship = n.GetEnumValue(); } }, + { "subject", n => { Subject = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReference.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("compliance", Compliance); + writer.WriteObjectValue("effectivePolicy", EffectivePolicy); + writer.WriteObjectValue("enforcement", Enforcement); + writer.WriteEnumValue("relationship", Relationship); + writer.WriteObjectValue("subject", Subject); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReportCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReportCollectionResponse.cs new file mode 100644 index 000000000000..129cf46d70c7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicySubjectReportCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicySubjectReportCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReport.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyUserSubjectReference.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyUserSubjectReference.cs new file mode 100644 index 000000000000..2a7eabe3edcd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecyclePolicyUserSubjectReference.cs @@ -0,0 +1,53 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class LifecyclePolicyUserSubjectReference : global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReference, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public LifecyclePolicyUserSubjectReference() : base() + { + OdataType = "#microsoft.graph.identityGovernance.lifecyclePolicyUserSubjectReference"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyUserSubjectReference CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyUserSubjectReference(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleWorkflowsContainer.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleWorkflowsContainer.cs index 4f9898084344..2a2da0deeda4 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleWorkflowsContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleWorkflowsContainer.cs @@ -59,6 +59,38 @@ public partial class LifecycleWorkflowsContainer : global::Microsoft.Graph.Beta. get { return BackingStore?.Get("insights"); } set { BackingStore?.Set("insights", value); } } +#endif + /// The lifecycle policies in this tenant. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? LifecyclePolicies + { + get { return BackingStore?.Get?>("lifecyclePolicies"); } + set { BackingStore?.Set("lifecyclePolicies", value); } + } +#nullable restore +#else + public List LifecyclePolicies + { + get { return BackingStore?.Get>("lifecyclePolicies"); } + set { BackingStore?.Set("lifecyclePolicies", value); } + } +#endif + /// The priority ordering of lifecycle policies per subject type. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? LifecyclePolicyPriorityConfigurations + { + get { return BackingStore?.Get?>("lifecyclePolicyPriorityConfigurations"); } + set { BackingStore?.Set("lifecyclePolicyPriorityConfigurations", value); } + } +#nullable restore +#else + public List LifecyclePolicyPriorityConfigurations + { + get { return BackingStore?.Get>("lifecyclePolicyPriorityConfigurations"); } + set { BackingStore?.Set("lifecyclePolicyPriorityConfigurations", value); } + } #endif /// The settings property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -145,6 +177,8 @@ public override IDictionary> GetFieldDeserializers() { "customTaskExtensions", n => { CustomTaskExtensions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.CustomTaskExtension.CreateFromDiscriminatorValue)?.AsList(); } }, { "deletedItems", n => { DeletedItems = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DeletedItemContainer.CreateFromDiscriminatorValue); } }, { "insights", n => { Insights = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentityGovernance.Insights.CreateFromDiscriminatorValue); } }, + { "lifecyclePolicies", n => { LifecyclePolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue)?.AsList(); } }, + { "lifecyclePolicyPriorityConfigurations", n => { LifecyclePolicyPriorityConfigurations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration.CreateFromDiscriminatorValue)?.AsList(); } }, { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecycleManagementSettings.CreateFromDiscriminatorValue); } }, { "taskDefinitions", n => { TaskDefinitions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.TaskDefinition.CreateFromDiscriminatorValue)?.AsList(); } }, { "workflowTemplates", n => { WorkflowTemplates = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.IdentityGovernance.WorkflowTemplate.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -162,6 +196,8 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("customTaskExtensions", CustomTaskExtensions); writer.WriteObjectValue("deletedItems", DeletedItems); writer.WriteObjectValue("insights", Insights); + writer.WriteCollectionOfObjectValues("lifecyclePolicies", LifecyclePolicies); + writer.WriteCollectionOfObjectValues("lifecyclePolicyPriorityConfigurations", LifecyclePolicyPriorityConfigurations); writer.WriteObjectValue("settings", Settings); writer.WriteCollectionOfObjectValues("taskDefinitions", TaskDefinitions); writer.WriteCollectionOfObjectValues("workflows", Workflows); diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/PeriodicAttestationRule.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/PeriodicAttestationRule.cs new file mode 100644 index 000000000000..0249a0c40fe5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/PeriodicAttestationRule.cs @@ -0,0 +1,61 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PeriodicAttestationRule : global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule, IParsable + #pragma warning restore CS1591 + { + /// The number of days within which an identity must be attested to remain compliant with the rule. + public int? AttestationIntervalInDays + { + get { return BackingStore?.Get("attestationIntervalInDays"); } + set { BackingStore?.Set("attestationIntervalInDays", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public PeriodicAttestationRule() : base() + { + OdataType = "#microsoft.graph.identityGovernance.periodicAttestationRule"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.PeriodicAttestationRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.PeriodicAttestationRule(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "attestationIntervalInDays", n => { AttestationIntervalInDays = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteIntValue("attestationIntervalInDays", AttestationIntervalInDays); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SelectedObjectsSubjectSet.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SelectedObjectsSubjectSet.cs new file mode 100644 index 000000000000..1b9dc99f3f60 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SelectedObjectsSubjectSet.cs @@ -0,0 +1,71 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SelectedObjectsSubjectSet : global::Microsoft.Graph.Beta.Models.SubjectSet, IParsable + #pragma warning restore CS1591 + { + /// The inScopeObjects property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? InScopeObjects + { + get { return BackingStore?.Get?>("inScopeObjects"); } + set { BackingStore?.Set("inScopeObjects", value); } + } +#nullable restore +#else + public List InScopeObjects + { + get { return BackingStore?.Get>("inScopeObjects"); } + set { BackingStore?.Set("inScopeObjects", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SelectedObjectsSubjectSet() : base() + { + OdataType = "#microsoft.graph.identityGovernance.selectedObjectsSubjectSet"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.SelectedObjectsSubjectSet CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.SelectedObjectsSubjectSet(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "inScopeObjects", n => { InScopeObjects = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("inScopeObjects", InScopeObjects); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SponsorPresenceRule.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SponsorPresenceRule.cs new file mode 100644 index 000000000000..c7add8953200 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/SponsorPresenceRule.cs @@ -0,0 +1,61 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class SponsorPresenceRule : global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule, IParsable + #pragma warning restore CS1591 + { + /// The minimum number of sponsors that an identity must have to remain compliant with the rule. + public int? MinimumSponsorCount + { + get { return BackingStore?.Get("minimumSponsorCount"); } + set { BackingStore?.Set("minimumSponsorCount", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SponsorPresenceRule() : base() + { + OdataType = "#microsoft.graph.identityGovernance.sponsorPresenceRule"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.SponsorPresenceRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.SponsorPresenceRule(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "minimumSponsorCount", n => { MinimumSponsorCount = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteIntValue("minimumSponsorCount", MinimumSponsorCount); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/UserIdentityLifecycle.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/UserIdentityLifecycle.cs new file mode 100644 index 000000000000..3fa3cf751fe3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/UserIdentityLifecycle.cs @@ -0,0 +1,61 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UserIdentityLifecycle : global::Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle, IParsable + #pragma warning restore CS1591 + { + /// The complianceState property + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceState? ComplianceState + { + get { return BackingStore?.Get("complianceState"); } + set { BackingStore?.Set("complianceState", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public UserIdentityLifecycle() : base() + { + OdataType = "#microsoft.graph.identityGovernance.userIdentityLifecycle"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "complianceState", n => { ComplianceState = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("complianceState", ComplianceState); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IosMinimumOperatingSystem.cs b/src/Microsoft.Graph/Generated/Models/IosMinimumOperatingSystem.cs index e0ce8a603ada..323ce8b82565 100644 --- a/src/Microsoft.Graph/Generated/Models/IosMinimumOperatingSystem.cs +++ b/src/Microsoft.Graph/Generated/Models/IosMinimumOperatingSystem.cs @@ -98,6 +98,12 @@ public bool? V260 get { return BackingStore?.Get("v26_0"); } set { BackingStore?.Set("v26_0", value); } } + /// Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 27.0 or later is required to install the app. If 'False', iOS Version 27.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. + public bool? V270 + { + get { return BackingStore?.Get("v27_0"); } + set { BackingStore?.Set("v27_0", value); } + } /// Indicates the minimum iOS version support required for the managed device. When 'True', iOS with OS Version 8.0 or later is required to install the app. If 'False', iOS Version 8.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. public bool? V80 { @@ -147,6 +153,7 @@ public virtual IDictionary> GetFieldDeserializers() { "v17_0", n => { V170 = n.GetBoolValue(); } }, { "v18_0", n => { V180 = n.GetBoolValue(); } }, { "v26_0", n => { V260 = n.GetBoolValue(); } }, + { "v27_0", n => { V270 = n.GetBoolValue(); } }, { "v8_0", n => { V80 = n.GetBoolValue(); } }, { "v9_0", n => { V90 = n.GetBoolValue(); } }, }; @@ -169,6 +176,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteBoolValue("v17_0", V170); writer.WriteBoolValue("v18_0", V180); writer.WriteBoolValue("v26_0", V260); + writer.WriteBoolValue("v27_0", V270); writer.WriteBoolValue("v8_0", V80); writer.WriteBoolValue("v9_0", V90); writer.WriteAdditionalData(AdditionalData); diff --git a/src/Microsoft.Graph/Generated/Models/LifecyclePolicyComplianceState.cs b/src/Microsoft.Graph/Generated/Models/LifecyclePolicyComplianceState.cs new file mode 100644 index 000000000000..59b13d8b0127 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/LifecyclePolicyComplianceState.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum LifecyclePolicyComplianceState + #pragma warning restore CS1591 + { + [EnumMember(Value = "compliant")] + #pragma warning disable CS1591 + Compliant, + #pragma warning restore CS1591 + [EnumMember(Value = "warning")] + #pragma warning disable CS1591 + Warning, + #pragma warning restore CS1591 + [EnumMember(Value = "warningNotify")] + #pragma warning disable CS1591 + WarningNotify, + #pragma warning restore CS1591 + [EnumMember(Value = "nonCompliant")] + #pragma warning disable CS1591 + NonCompliant, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/LimitedCostManagementQuantity.cs b/src/Microsoft.Graph/Generated/Models/LimitedCostManagementQuantity.cs new file mode 100644 index 000000000000..31ae25494248 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/LimitedCostManagementQuantity.cs @@ -0,0 +1,62 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// A quantity limited to a specific value. A value of zero permits no consumption and isdistinct from unlimited. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LimitedCostManagementQuantity : global::Microsoft.Graph.Beta.Models.CostManagementQuantity, IParsable + { + /// The numeric value of the quantity, expressed in the stated unit. + public double? Value + { + get { return BackingStore?.Get("value"); } + set { BackingStore?.Set("value", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public LimitedCostManagementQuantity() : base() + { + OdataType = "#microsoft.graph.limitedCostManagementQuantity"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.LimitedCostManagementQuantity CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.LimitedCostManagementQuantity(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetDoubleValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteDoubleValue("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/MacOSMinimumOperatingSystem.cs b/src/Microsoft.Graph/Generated/Models/MacOSMinimumOperatingSystem.cs index b2b6fd328032..9b7326b15a4a 100644 --- a/src/Microsoft.Graph/Generated/Models/MacOSMinimumOperatingSystem.cs +++ b/src/Microsoft.Graph/Generated/Models/MacOSMinimumOperatingSystem.cs @@ -128,6 +128,12 @@ public bool? V260 get { return BackingStore?.Get("v26_0"); } set { BackingStore?.Set("v26_0", value); } } + /// Indicates the minimum OS X version support required for the managed device. When 'True', macOS with OS X 27.0 or later is required to install the app. If 'False', OS X Version 27.0 is not the minimum version. Default value is False. Exactly one of the minimum operating system boolean values will be TRUE. + public bool? V270 + { + get { return BackingStore?.Get("v27_0"); } + set { BackingStore?.Set("v27_0", value); } + } /// /// Instantiates a new and sets the default values. /// @@ -170,6 +176,7 @@ public virtual IDictionary> GetFieldDeserializers() { "v14_0", n => { V140 = n.GetBoolValue(); } }, { "v15_0", n => { V150 = n.GetBoolValue(); } }, { "v26_0", n => { V260 = n.GetBoolValue(); } }, + { "v27_0", n => { V270 = n.GetBoolValue(); } }, }; } /// @@ -195,6 +202,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteBoolValue("v14_0", V140); writer.WriteBoolValue("v15_0", V150); writer.WriteBoolValue("v26_0", V260); + writer.WriteBoolValue("v27_0", V270); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs b/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs index 7184417340d2..09c83e5bc806 100644 --- a/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs +++ b/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs @@ -50,6 +50,12 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif + /// Indicates whether the folder is hidden. The default value is false. This property can be set only when you create the folder; it can't be updated using PATCH. By default, listing folders or listing child folders returns only folders that aren't hidden. To include hidden folders in the response, use the optional query parameter includeHiddenFolders=true. The response includes both hidden and nonhidden folders. If you use $select to limit the returned properties, include isHidden in the selection. + public bool? IsHidden + { + get { return BackingStore?.Get("isHidden"); } + set { BackingStore?.Set("isHidden", value); } + } /// The collection of items in this folder. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -189,6 +195,7 @@ public override IDictionary> GetFieldDeserializers() { "childFolderCount", n => { ChildFolderCount = n.GetIntValue(); } }, { "childFolders", n => { ChildFolders = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MailboxFolder.CreateFromDiscriminatorValue)?.AsList(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "isHidden", n => { IsHidden = n.GetBoolValue(); } }, { "items", n => { Items = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MailboxItem.CreateFromDiscriminatorValue)?.AsList(); } }, { "multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.AsList(); } }, { "parentFolderId", n => { ParentFolderId = n.GetStringValue(); } }, @@ -210,6 +217,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteIntValue("childFolderCount", ChildFolderCount); writer.WriteCollectionOfObjectValues("childFolders", ChildFolders); writer.WriteStringValue("displayName", DisplayName); + writer.WriteBoolValue("isHidden", IsHidden); writer.WriteCollectionOfObjectValues("items", Items); writer.WriteCollectionOfObjectValues("multiValueExtendedProperties", MultiValueExtendedProperties); writer.WriteStringValue("parentFolderId", ParentFolderId); diff --git a/src/Microsoft.Graph/Generated/Models/OffboardingActivityLog.cs b/src/Microsoft.Graph/Generated/Models/OffboardingActivityLog.cs index e7df1f024a67..54f28d1fd4d1 100644 --- a/src/Microsoft.Graph/Generated/Models/OffboardingActivityLog.cs +++ b/src/Microsoft.Graph/Generated/Models/OffboardingActivityLog.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class OffboardingActivityLog : global::Microsoft.Graph.Beta.Models.ActivityLogBase, IParsable #pragma warning restore CS1591 { - /// The offboardingDetails property + /// Contains detailed information about the offboarding operation, including affected protection units and their status. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.OffboardingDetails? OffboardingDetails @@ -28,7 +28,7 @@ public partial class OffboardingActivityLog : global::Microsoft.Graph.Beta.Model set { BackingStore?.Set("offboardingDetails", value); } } #endif - /// The policyId property + /// The unique identifier of the protection policy associated with the activity log. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PolicyId @@ -44,7 +44,7 @@ public string PolicyId set { BackingStore?.Set("policyId", value); } } #endif - /// The policyName property + /// Name of the protection policy. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PolicyName diff --git a/src/Microsoft.Graph/Generated/Models/OffboardingDetails.cs b/src/Microsoft.Graph/Generated/Models/OffboardingDetails.cs index eb0699060ead..0402a5043517 100644 --- a/src/Microsoft.Graph/Generated/Models/OffboardingDetails.cs +++ b/src/Microsoft.Graph/Generated/Models/OffboardingDetails.cs @@ -21,13 +21,13 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The cancelledCount property + /// The number of protection units whose offboarding was cancelled during the operation. public int? CancelledCount { get { return BackingStore?.Get("cancelledCount"); } set { BackingStore?.Set("cancelledCount", value); } } - /// The failedCount property + /// The number of protection units that failed to be offboarded during the operation. public int? FailedCount { get { return BackingStore?.Get("failedCount"); } @@ -49,19 +49,19 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The offboardedCount property + /// The number of protection units that were successfully offboarded during the operation. public int? OffboardedCount { get { return BackingStore?.Get("offboardedCount"); } set { BackingStore?.Set("offboardedCount", value); } } - /// The offboardEndDateTime property + /// The date and time when the offboarding operation ended. public DateTimeOffset? OffboardEndDateTime { get { return BackingStore?.Get("offboardEndDateTime"); } set { BackingStore?.Set("offboardEndDateTime", value); } } - /// The offboardingStatus property + /// The current status of the offboarding operation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? OffboardingStatus @@ -77,13 +77,13 @@ public string OffboardingStatus set { BackingStore?.Set("offboardingStatus", value); } } #endif - /// The offboardStartDateTime property + /// The date and time when the offboarding operation started. public DateTimeOffset? OffboardStartDateTime { get { return BackingStore?.Get("offboardStartDateTime"); } set { BackingStore?.Set("offboardStartDateTime", value); } } - /// The totalRequestedCount property + /// The total number of protection units that were requested to be offboarded in this operation. public int? TotalRequestedCount { get { return BackingStore?.Get("totalRequestedCount"); } diff --git a/src/Microsoft.Graph/Generated/Models/OnPremisesPublishing.cs b/src/Microsoft.Graph/Generated/Models/OnPremisesPublishing.cs index 37a5361621d1..089c9bd74d00 100644 --- a/src/Microsoft.Graph/Generated/Models/OnPremisesPublishing.cs +++ b/src/Microsoft.Graph/Generated/Models/OnPremisesPublishing.cs @@ -125,7 +125,7 @@ public bool? IsContinuousAccessEvaluationEnabled get { return BackingStore?.Get("isContinuousAccessEvaluationEnabled"); } set { BackingStore?.Set("isContinuousAccessEvaluationEnabled", value); } } - /// The isDeviceAccessEnabled property + /// Indicates whether the Microsoft Entra Private Access application is accessible or available in device access mode. false by default. public bool? IsDeviceAccessEnabled { get { return BackingStore?.Get("isDeviceAccessEnabled"); } diff --git a/src/Microsoft.Graph/Generated/Models/OperationApprovalPolicyType.cs b/src/Microsoft.Graph/Generated/Models/OperationApprovalPolicyType.cs index ea8616655d58..d84327ccc6fe 100644 --- a/src/Microsoft.Graph/Generated/Models/OperationApprovalPolicyType.cs +++ b/src/Microsoft.Graph/Generated/Models/OperationApprovalPolicyType.cs @@ -34,5 +34,8 @@ public enum OperationApprovalPolicyType /// Indicates that the configured policy type is for Tenant Configuration operations. [EnumMember(Value = "tenantConfiguration")] TenantConfiguration, + /// Indicates that the configured policy type is for a Device Deprovision Action. + [EnumMember(Value = "deviceDeprovision")] + DeviceDeprovision, } } diff --git a/src/Microsoft.Graph/Generated/Models/Partners/Billing/AzureAggregatedUsage.cs b/src/Microsoft.Graph/Generated/Models/Partners/Billing/AzureAggregatedUsage.cs new file mode 100644 index 000000000000..91caa7c2d6d7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Partners/Billing/AzureAggregatedUsage.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Partners.Billing +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AzureAggregatedUsage : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The billed property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Partners.Billing.BilledAggregatedUsage? Billed + { + get { return BackingStore?.Get("billed"); } + set { BackingStore?.Set("billed", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Partners.Billing.BilledAggregatedUsage Billed + { + get { return BackingStore?.Get("billed"); } + set { BackingStore?.Set("billed", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Partners.Billing.AzureAggregatedUsage CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Partners.Billing.AzureAggregatedUsage(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "billed", n => { Billed = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Partners.Billing.BilledAggregatedUsage.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("billed", Billed); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Partners/Billing/BilledAggregatedUsage.cs b/src/Microsoft.Graph/Generated/Models/Partners/Billing/BilledAggregatedUsage.cs new file mode 100644 index 000000000000..dfaea853481a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Partners/Billing/BilledAggregatedUsage.cs @@ -0,0 +1,46 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Partners.Billing +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BilledAggregatedUsage : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Partners.Billing.BilledAggregatedUsage CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Partners.Billing.BilledAggregatedUsage(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Partners/Billing/Billing.cs b/src/Microsoft.Graph/Generated/Models/Partners/Billing/Billing.cs index 41065de719f6..c1e884031166 100644 --- a/src/Microsoft.Graph/Generated/Models/Partners/Billing/Billing.cs +++ b/src/Microsoft.Graph/Generated/Models/Partners/Billing/Billing.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Beta.Models.Partners.Billing public partial class Billing : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The aggregatedUsage property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Partners.Billing.AzureAggregatedUsage? AggregatedUsage + { + get { return BackingStore?.Get("aggregatedUsage"); } + set { BackingStore?.Set("aggregatedUsage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Partners.Billing.AzureAggregatedUsage AggregatedUsage + { + get { return BackingStore?.Get("aggregatedUsage"); } + set { BackingStore?.Set("aggregatedUsage", value); } + } +#endif /// Represents metadata for the exported data. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -94,6 +110,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "aggregatedUsage", n => { AggregatedUsage = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Partners.Billing.AzureAggregatedUsage.CreateFromDiscriminatorValue); } }, { "manifests", n => { Manifests = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Partners.Billing.Manifest.CreateFromDiscriminatorValue)?.AsList(); } }, { "operations", n => { Operations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Partners.Billing.Operation.CreateFromDiscriminatorValue)?.AsList(); } }, { "reconciliation", n => { Reconciliation = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Partners.Billing.BillingReconciliation.CreateFromDiscriminatorValue); } }, @@ -108,6 +125,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteObjectValue("aggregatedUsage", AggregatedUsage); writer.WriteCollectionOfObjectValues("manifests", Manifests); writer.WriteCollectionOfObjectValues("operations", Operations); writer.WriteObjectValue("reconciliation", Reconciliation); diff --git a/src/Microsoft.Graph/Generated/Models/PercentageCostManagementAlertThreshold.cs b/src/Microsoft.Graph/Generated/Models/PercentageCostManagementAlertThreshold.cs new file mode 100644 index 000000000000..ffc96f580e4e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PercentageCostManagementAlertThreshold.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// A threshold expressed as a percentage of the policy's period limit. The value is aninteger from 1 to 100 and carries no unit. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PercentageCostManagementAlertThreshold : global::Microsoft.Graph.Beta.Models.CostManagementAlertThreshold, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public PercentageCostManagementAlertThreshold() : base() + { + OdataType = "#microsoft.graph.percentageCostManagementAlertThreshold"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.PercentageCostManagementAlertThreshold CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PercentageCostManagementAlertThreshold(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Plan.cs b/src/Microsoft.Graph/Generated/Models/Plan.cs new file mode 100644 index 000000000000..65741bbcbeca --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Plan.cs @@ -0,0 +1,410 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class Plan : global::Microsoft.Graph.Beta.Models.PlannerDelta, IParsable + #pragma warning restore CS1591 + { + /// Information about whether the entity is archived, and when it was archived. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.PlannerArchivalInfo? ArchivalInfo + { + get { return BackingStore?.Get("archivalInfo"); } + set { BackingStore?.Set("archivalInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.PlannerArchivalInfo ArchivalInfo + { + get { return BackingStore?.Get("archivalInfo"); } + set { BackingStore?.Set("archivalInfo", value); } + } +#endif + /// The collection of buckets in the plan. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Buckets + { + get { return BackingStore?.Get?>("buckets"); } + set { BackingStore?.Set("buckets", value); } + } +#nullable restore +#else + public List Buckets + { + get { return BackingStore?.Get>("buckets"); } + set { BackingStore?.Set("buckets", value); } + } +#endif + /// Working-time calendar settings for the plan. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.PlanCalendar? Calendar + { + get { return BackingStore?.Get("calendar"); } + set { BackingStore?.Set("calendar", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.PlanCalendar Calendar + { + get { return BackingStore?.Get("calendar"); } + set { BackingStore?.Set("calendar", value); } + } +#endif + /// Server-computed, read-only capability flags indicating which optional features are enabled for the entity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.PlanCapability? Capabilities + { + get { return BackingStore?.Get("capabilities"); } + set { BackingStore?.Set("capabilities", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.PlanCapability Capabilities + { + get { return BackingStore?.Get("capabilities"); } + set { BackingStore?.Set("capabilities", value); } + } +#endif + /// Identifies the group, Teams channel, or user that owns the plan. Required, and immutable after creation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.PlanContainer? Container + { + get { return BackingStore?.Get("container"); } + set { BackingStore?.Set("container", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.PlanContainer Container + { + get { return BackingStore?.Get("container"); } + set { BackingStore?.Set("container", value); } + } +#endif + /// The sensitivity label assigned to content associated with the plan. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ContentSensitivityLabelAssignment? ContentSensitivityLabelAssignment + { + get { return BackingStore?.Get("contentSensitivityLabelAssignment"); } + set { BackingStore?.Set("contentSensitivityLabelAssignment", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ContentSensitivityLabelAssignment ContentSensitivityLabelAssignment + { + get { return BackingStore?.Get("contentSensitivityLabelAssignment"); } + set { BackingStore?.Set("contentSensitivityLabelAssignment", value); } + } +#endif + /// The collection of context links describing where the plan is surfaced. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Contexts + { + get { return BackingStore?.Get?>("contexts"); } + set { BackingStore?.Set("contexts", value); } + } +#nullable restore +#else + public List Contexts + { + get { return BackingStore?.Get>("contexts"); } + set { BackingStore?.Set("contexts", value); } + } +#endif + /// Read-only creation metadata for the entity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CreationInfo? CreationInfo + { + get { return BackingStore?.Get("creationInfo"); } + set { BackingStore?.Set("creationInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CreationInfo CreationInfo + { + get { return BackingStore?.Get("creationInfo"); } + set { BackingStore?.Set("creationInfo", value); } + } +#endif + /// The collection of custom field definitions in the plan. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CustomFieldDefinitions + { + get { return BackingStore?.Get?>("customFieldDefinitions"); } + set { BackingStore?.Set("customFieldDefinitions", value); } + } +#nullable restore +#else + public List CustomFieldDefinitions + { + get { return BackingStore?.Get>("customFieldDefinitions"); } + set { BackingStore?.Set("customFieldDefinitions", value); } + } +#endif + /// The collection of dependencies between items in the plan. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Dependencies + { + get { return BackingStore?.Get?>("dependencies"); } + set { BackingStore?.Set("dependencies", value); } + } +#nullable restore +#else + public List Dependencies + { + get { return BackingStore?.Get>("dependencies"); } + set { BackingStore?.Set("dependencies", value); } + } +#endif + /// Title of the plan. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Duration of the plan, in days. + public int? Duration + { + get { return BackingStore?.Get("duration"); } + set { BackingStore?.Set("duration", value); } + } + /// Custom extension field values set on the entity. Supports $select. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection? Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#endif + /// The collection of goals in the plan. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Goals + { + get { return BackingStore?.Get?>("goals"); } + set { BackingStore?.Set("goals", value); } + } +#nullable restore +#else + public List Goals + { + get { return BackingStore?.Get>("goals"); } + set { BackingStore?.Set("goals", value); } + } +#endif + /// Indicates whether the plan has an associated chat. + public bool? HasChat + { + get { return BackingStore?.Get("hasChat"); } + set { BackingStore?.Set("hasChat", value); } + } + /// The collection of history (audit) items for the plan. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? HistoryItems + { + get { return BackingStore?.Get?>("historyItems"); } + set { BackingStore?.Set("historyItems", value); } + } +#nullable restore +#else + public List HistoryItems + { + get { return BackingStore?.Get>("historyItems"); } + set { BackingStore?.Set("historyItems", value); } + } +#endif + /// Identity of the user (or application) who last modified the entity. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#endif + /// Date and time the entity was last modified. The value is represented in ISO 8601 format and is always in UTC time. Read-only. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// The collection of content links attached to the plan. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Links + { + get { return BackingStore?.Get?>("links"); } + set { BackingStore?.Set("links", value); } + } +#nullable restore +#else + public List Links + { + get { return BackingStore?.Get>("links"); } + set { BackingStore?.Set("links", value); } + } +#endif + /// Plan-scoped view settings, including category definitions. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.PlanView? PlanView + { + get { return BackingStore?.Get("planView"); } + set { BackingStore?.Set("planView", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.PlanView PlanView + { + get { return BackingStore?.Get("planView"); } + set { BackingStore?.Set("planView", value); } + } +#endif + /// The list of containers (for example, additional groups or channels) that the plan is shared with. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SharedWithContainers + { + get { return BackingStore?.Get?>("sharedWithContainers"); } + set { BackingStore?.Set("sharedWithContainers", value); } + } +#nullable restore +#else + public List SharedWithContainers + { + get { return BackingStore?.Get>("sharedWithContainers"); } + set { BackingStore?.Set("sharedWithContainers", value); } + } +#endif + /// The collection of tasks in the plan. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Tasks + { + get { return BackingStore?.Get?>("tasks"); } + set { BackingStore?.Set("tasks", value); } + } +#nullable restore +#else + public List Tasks + { + get { return BackingStore?.Get>("tasks"); } + set { BackingStore?.Set("tasks", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Plan CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Plan(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "archivalInfo", n => { ArchivalInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PlannerArchivalInfo.CreateFromDiscriminatorValue); } }, + { "buckets", n => { Buckets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Bucket.CreateFromDiscriminatorValue)?.AsList(); } }, + { "calendar", n => { Calendar = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PlanCalendar.CreateFromDiscriminatorValue); } }, + { "capabilities", n => { Capabilities = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PlanCapability.CreateFromDiscriminatorValue); } }, + { "container", n => { Container = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PlanContainer.CreateFromDiscriminatorValue); } }, + { "contentSensitivityLabelAssignment", n => { ContentSensitivityLabelAssignment = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ContentSensitivityLabelAssignment.CreateFromDiscriminatorValue); } }, + { "contexts", n => { Contexts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlanContextLink.CreateFromDiscriminatorValue)?.AsList(); } }, + { "creationInfo", n => { CreationInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CreationInfo.CreateFromDiscriminatorValue); } }, + { "customFieldDefinitions", n => { CustomFieldDefinitions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CustomFieldDefinition.CreateFromDiscriminatorValue)?.AsList(); } }, + { "dependencies", n => { Dependencies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Dependency.CreateFromDiscriminatorValue)?.AsList(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "duration", n => { Duration = n.GetIntValue(); } }, + { "extensions", n => { Extensions = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection.CreateFromDiscriminatorValue); } }, + { "goals", n => { Goals = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Goal.CreateFromDiscriminatorValue)?.AsList(); } }, + { "hasChat", n => { HasChat = n.GetBoolValue(); } }, + { "historyItems", n => { HistoryItems = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.HistoryItem.CreateFromDiscriminatorValue)?.AsList(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "links", n => { Links = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ContentLink.CreateFromDiscriminatorValue)?.AsList(); } }, + { "planView", n => { PlanView = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PlanView.CreateFromDiscriminatorValue); } }, + { "sharedWithContainers", n => { SharedWithContainers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerSharedWithContainer.CreateFromDiscriminatorValue)?.AsList(); } }, + { "tasks", n => { Tasks = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.TaskObject.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("archivalInfo", ArchivalInfo); + writer.WriteCollectionOfObjectValues("buckets", Buckets); + writer.WriteObjectValue("calendar", Calendar); + writer.WriteObjectValue("container", Container); + writer.WriteObjectValue("contentSensitivityLabelAssignment", ContentSensitivityLabelAssignment); + writer.WriteCollectionOfObjectValues("contexts", Contexts); + writer.WriteCollectionOfObjectValues("customFieldDefinitions", CustomFieldDefinitions); + writer.WriteCollectionOfObjectValues("dependencies", Dependencies); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteIntValue("duration", Duration); + writer.WriteObjectValue("extensions", Extensions); + writer.WriteCollectionOfObjectValues("goals", Goals); + writer.WriteBoolValue("hasChat", HasChat); + writer.WriteCollectionOfObjectValues("historyItems", HistoryItems); + writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteCollectionOfObjectValues("links", Links); + writer.WriteObjectValue("planView", PlanView); + writer.WriteCollectionOfObjectValues("sharedWithContainers", SharedWithContainers); + writer.WriteCollectionOfObjectValues("tasks", Tasks); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PlanCalendar.cs b/src/Microsoft.Graph/Generated/Models/PlanCalendar.cs new file mode 100644 index 000000000000..9269257eb02c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlanCalendar.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PlanCalendar : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Time zone the plan's calendar is expressed in. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TimeZone + { + get { return BackingStore?.Get("timeZone"); } + set { BackingStore?.Set("timeZone", value); } + } +#nullable restore +#else + public string TimeZone + { + get { return BackingStore?.Get("timeZone"); } + set { BackingStore?.Set("timeZone", value); } + } +#endif + /// Default working-day start and end times for the plan. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.WorkDayDefaults? WorkDayDefaults + { + get { return BackingStore?.Get("workDayDefaults"); } + set { BackingStore?.Set("workDayDefaults", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.WorkDayDefaults WorkDayDefaults + { + get { return BackingStore?.Get("workDayDefaults"); } + set { BackingStore?.Set("workDayDefaults", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PlanCalendar() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.PlanCalendar CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PlanCalendar(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "timeZone", n => { TimeZone = n.GetStringValue(); } }, + { "workDayDefaults", n => { WorkDayDefaults = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.WorkDayDefaults.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("timeZone", TimeZone); + writer.WriteObjectValue("workDayDefaults", WorkDayDefaults); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PlanCapability.cs b/src/Microsoft.Graph/Generated/Models/PlanCapability.cs new file mode 100644 index 000000000000..6cd6d51e2432 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlanCapability.cs @@ -0,0 +1,121 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PlanCapability : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates whether calendar features are enabled for the plan. + public bool? Calendar + { + get { return BackingStore?.Get("calendar"); } + set { BackingStore?.Set("calendar", value); } + } + /// Indicates whether custom fields are enabled for the plan. + public bool? CustomFields + { + get { return BackingStore?.Get("customFields"); } + set { BackingStore?.Set("customFields", value); } + } + /// Indicates whether custom extension fields are enabled for the plan. + public bool? Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } + /// Indicates whether goals are enabled for the plan. + public bool? Goals + { + get { return BackingStore?.Get("goals"); } + set { BackingStore?.Set("goals", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Indicates whether undo is enabled for the plan. + public bool? Undo + { + get { return BackingStore?.Get("undo"); } + set { BackingStore?.Set("undo", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public PlanCapability() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.PlanCapability CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PlanCapability(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "calendar", n => { Calendar = n.GetBoolValue(); } }, + { "customFields", n => { CustomFields = n.GetBoolValue(); } }, + { "extensions", n => { Extensions = n.GetBoolValue(); } }, + { "goals", n => { Goals = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "undo", n => { Undo = n.GetBoolValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("calendar", Calendar); + writer.WriteBoolValue("customFields", CustomFields); + writer.WriteBoolValue("extensions", Extensions); + writer.WriteBoolValue("goals", Goals); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteBoolValue("undo", Undo); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PlanCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/PlanCollectionResponse.cs new file mode 100644 index 000000000000..f2e23fbfd39f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlanCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PlanCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.PlanCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PlanCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PlanContainer.cs b/src/Microsoft.Graph/Generated/Models/PlanContainer.cs new file mode 100644 index 000000000000..ef4187bb8cd3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlanContainer.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PlanContainer : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// ID of the container (group ID, user ID, or Teams channel ID). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ContainerId + { + get { return BackingStore?.Get("containerId"); } + set { BackingStore?.Set("containerId", value); } + } +#nullable restore +#else + public string ContainerId + { + get { return BackingStore?.Get("containerId"); } + set { BackingStore?.Set("containerId", value); } + } +#endif + /// The containerType property + public global::Microsoft.Graph.Beta.Models.PlannerContainerType? ContainerType + { + get { return BackingStore?.Get("containerType"); } + set { BackingStore?.Set("containerType", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PlanContainer() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.PlanContainer CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PlanContainer(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "containerId", n => { ContainerId = n.GetStringValue(); } }, + { "containerType", n => { ContainerType = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("containerId", ContainerId); + writer.WriteEnumValue("containerType", ContainerType); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PlanContextLink.cs b/src/Microsoft.Graph/Generated/Models/PlanContextLink.cs new file mode 100644 index 000000000000..4dd652664031 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlanContextLink.cs @@ -0,0 +1,185 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PlanContextLink : global::Microsoft.Graph.Beta.Models.PlannerDelta, IParsable + #pragma warning restore CS1591 + { + /// Describes how the plan is associated with the surface. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AssociationType + { + get { return BackingStore?.Get("associationType"); } + set { BackingStore?.Set("associationType", value); } + } +#nullable restore +#else + public string AssociationType + { + get { return BackingStore?.Get("associationType"); } + set { BackingStore?.Set("associationType", value); } + } +#endif + /// Date and time the context link was created. Read-only. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// Custom text used to render the link, if provided. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomLinkText + { + get { return BackingStore?.Get("customLinkText"); } + set { BackingStore?.Set("customLinkText", value); } + } +#nullable restore +#else + public string CustomLinkText + { + get { return BackingStore?.Get("customLinkText"); } + set { BackingStore?.Set("customLinkText", value); } + } +#endif + /// How the context link should be displayed. The possible values are: teamsTab, sharePointPage, meetingNotes, other, unknownFutureValue, loopPage, project. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: loopPage , project. + public global::Microsoft.Graph.Beta.Models.PlannerPlanContextType? DisplayAs + { + get { return BackingStore?.Get("displayAs"); } + set { BackingStore?.Set("displayAs", value); } + } + /// Display name segments used to render where the plan is surfaced. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DisplayNameSegments + { + get { return BackingStore?.Get?>("displayNameSegments"); } + set { BackingStore?.Set("displayNameSegments", value); } + } +#nullable restore +#else + public List DisplayNameSegments + { + get { return BackingStore?.Get>("displayNameSegments"); } + set { BackingStore?.Set("displayNameSegments", value); } + } +#endif + /// Indicates whether the context link is currently active. + public bool? IsActive + { + get { return BackingStore?.Get("isActive"); } + set { BackingStore?.Set("isActive", value); } + } + /// Indicates whether this context link represents the original creation surface for the plan. + public bool? IsCreation + { + get { return BackingStore?.Get("isCreation"); } + set { BackingStore?.Set("isCreation", value); } + } + /// Identifier for the context the plan is surfaced in. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Key + { + get { return BackingStore?.Get("key"); } + set { BackingStore?.Set("key", value); } + } +#nullable restore +#else + public string Key + { + get { return BackingStore?.Get("key"); } + set { BackingStore?.Set("key", value); } + } +#endif + /// Application ID of the app that owns the surface the plan is linked from. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OwnerAppId + { + get { return BackingStore?.Get("ownerAppId"); } + set { BackingStore?.Set("ownerAppId", value); } + } +#nullable restore +#else + public string OwnerAppId + { + get { return BackingStore?.Get("ownerAppId"); } + set { BackingStore?.Set("ownerAppId", value); } + } +#endif + /// URL of the surface where the plan is displayed. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? WebUrl + { + get { return BackingStore?.Get("webUrl"); } + set { BackingStore?.Set("webUrl", value); } + } +#nullable restore +#else + public string WebUrl + { + get { return BackingStore?.Get("webUrl"); } + set { BackingStore?.Set("webUrl", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.PlanContextLink CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PlanContextLink(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "associationType", n => { AssociationType = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "customLinkText", n => { CustomLinkText = n.GetStringValue(); } }, + { "displayAs", n => { DisplayAs = n.GetEnumValue(); } }, + { "displayNameSegments", n => { DisplayNameSegments = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "isActive", n => { IsActive = n.GetBoolValue(); } }, + { "isCreation", n => { IsCreation = n.GetBoolValue(); } }, + { "key", n => { Key = n.GetStringValue(); } }, + { "ownerAppId", n => { OwnerAppId = n.GetStringValue(); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("associationType", AssociationType); + writer.WriteStringValue("customLinkText", CustomLinkText); + writer.WriteEnumValue("displayAs", DisplayAs); + writer.WriteCollectionOfPrimitiveValues("displayNameSegments", DisplayNameSegments); + writer.WriteBoolValue("isActive", IsActive); + writer.WriteBoolValue("isCreation", IsCreation); + writer.WriteStringValue("key", Key); + writer.WriteStringValue("ownerAppId", OwnerAppId); + writer.WriteStringValue("webUrl", WebUrl); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PlanContextLinkCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/PlanContextLinkCollectionResponse.cs new file mode 100644 index 000000000000..6070c13a009c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlanContextLinkCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PlanContextLinkCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.PlanContextLinkCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PlanContextLinkCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlanContextLink.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PlanView.cs b/src/Microsoft.Graph/Generated/Models/PlanView.cs new file mode 100644 index 000000000000..b6ac427bd65d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlanView.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PlanView : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The categories property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Categories + { + get { return BackingStore?.Get?>("categories"); } + set { BackingStore?.Set("categories", value); } + } +#nullable restore +#else + public List Categories + { + get { return BackingStore?.Get>("categories"); } + set { BackingStore?.Set("categories", value); } + } +#endif + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PlanView() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.PlanView CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PlanView(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "categories", n => { Categories = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CategoryDefinition.CreateFromDiscriminatorValue)?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("categories", Categories); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Planner.cs b/src/Microsoft.Graph/Generated/Models/Planner.cs index 383441d08ed9..6d0c1df3b183 100644 --- a/src/Microsoft.Graph/Generated/Models/Planner.cs +++ b/src/Microsoft.Graph/Generated/Models/Planner.cs @@ -59,6 +59,22 @@ public partial class Planner : global::Microsoft.Graph.Beta.Models.Entity, IPars get { return BackingStore?.Get>("plans"); } set { BackingStore?.Set("plans", value); } } +#endif + /// Read-only. Nullable. The collection of Planner Graph V4 plans. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PlansV2 + { + get { return BackingStore?.Get?>("plans_v2"); } + set { BackingStore?.Set("plans_v2", value); } + } +#nullable restore +#else + public List PlansV2 + { + get { return BackingStore?.Get>("plans_v2"); } + set { BackingStore?.Set("plans_v2", value); } + } #endif /// Read-only. Nullable. Returns a collection of the specified rosters #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -91,6 +107,22 @@ public partial class Planner : global::Microsoft.Graph.Beta.Models.Entity, IPars get { return BackingStore?.Get>("tasks"); } set { BackingStore?.Set("tasks", value); } } +#endif + /// Read-only. Nullable. The collection of Planner Graph V4 tasks. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? TasksV2 + { + get { return BackingStore?.Get?>("tasks_v2"); } + set { BackingStore?.Set("tasks_v2", value); } + } +#nullable restore +#else + public List TasksV2 + { + get { return BackingStore?.Get>("tasks_v2"); } + set { BackingStore?.Set("tasks_v2", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -113,8 +145,10 @@ public override IDictionary> GetFieldDeserializers() { "buckets", n => { Buckets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerBucket.CreateFromDiscriminatorValue)?.AsList(); } }, { "goals", n => { Goals = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerGoal.CreateFromDiscriminatorValue)?.AsList(); } }, { "plans", n => { Plans = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerPlan.CreateFromDiscriminatorValue)?.AsList(); } }, + { "plans_v2", n => { PlansV2 = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue)?.AsList(); } }, { "rosters", n => { Rosters = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerRoster.CreateFromDiscriminatorValue)?.AsList(); } }, { "tasks", n => { Tasks = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerTask.CreateFromDiscriminatorValue)?.AsList(); } }, + { "tasks_v2", n => { TasksV2 = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.TaskObject.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -128,8 +162,10 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("buckets", Buckets); writer.WriteCollectionOfObjectValues("goals", Goals); writer.WriteCollectionOfObjectValues("plans", Plans); + writer.WriteCollectionOfObjectValues("plans_v2", PlansV2); writer.WriteCollectionOfObjectValues("rosters", Rosters); writer.WriteCollectionOfObjectValues("tasks", Tasks); + writer.WriteCollectionOfObjectValues("tasks_v2", TasksV2); } } } diff --git a/src/Microsoft.Graph/Generated/Models/PlannerArchivalInfo.cs b/src/Microsoft.Graph/Generated/Models/PlannerArchivalInfo.cs index f165a9ffc371..d0c1bb80cc0f 100644 --- a/src/Microsoft.Graph/Generated/Models/PlannerArchivalInfo.cs +++ b/src/Microsoft.Graph/Generated/Models/PlannerArchivalInfo.cs @@ -21,6 +21,12 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// Read-only. Indicates whether the entity is archived. + public bool? IsArchived + { + get { return BackingStore?.Get("isArchived"); } + set { BackingStore?.Set("isArchived", value); } + } /// Read-only. Reason why the entity was archived or unarchived. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -37,6 +43,28 @@ public string Justification set { BackingStore?.Set("justification", value); } } #endif + /// Read-only. Identity of the user who archived or unarchived the entity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? ModifiedBy + { + get { return BackingStore?.Get("modifiedBy"); } + set { BackingStore?.Set("modifiedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet ModifiedBy + { + get { return BackingStore?.Get("modifiedBy"); } + set { BackingStore?.Set("modifiedBy", value); } + } +#endif + /// Read-only. Date and time at which the entity's archive status changed. + public DateTimeOffset? ModifiedDateTime + { + get { return BackingStore?.Get("modifiedDateTime"); } + set { BackingStore?.Set("modifiedDateTime", value); } + } /// The OdataType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -101,7 +129,10 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "isArchived", n => { IsArchived = n.GetBoolValue(); } }, { "justification", n => { Justification = n.GetStringValue(); } }, + { "modifiedBy", n => { ModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "modifiedDateTime", n => { ModifiedDateTime = n.GetDateTimeOffsetValue(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "statusChangedBy", n => { StatusChangedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, { "statusChangedDateTime", n => { StatusChangedDateTime = n.GetDateTimeOffsetValue(); } }, @@ -114,7 +145,10 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("isArchived", IsArchived); writer.WriteStringValue("justification", Justification); + writer.WriteObjectValue("modifiedBy", ModifiedBy); + writer.WriteDateTimeOffsetValue("modifiedDateTime", ModifiedDateTime); writer.WriteStringValue("@odata.type", OdataType); writer.WriteObjectValue("statusChangedBy", StatusChangedBy); writer.WriteDateTimeOffsetValue("statusChangedDateTime", StatusChangedDateTime); diff --git a/src/Microsoft.Graph/Generated/Models/PlannerChatMessage.cs b/src/Microsoft.Graph/Generated/Models/PlannerChatMessage.cs new file mode 100644 index 000000000000..862f64588fc0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlannerChatMessage.cs @@ -0,0 +1,172 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PlannerChatMessage : global::Microsoft.Graph.Beta.Models.PlannerDelta, IParsable + #pragma warning restore CS1591 + { + /// Body content of the chat message. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Content + { + get { return BackingStore?.Get("content"); } + set { BackingStore?.Set("content", value); } + } +#nullable restore +#else + public string Content + { + get { return BackingStore?.Get("content"); } + set { BackingStore?.Set("content", value); } + } +#endif + /// Identity of the user (or application) who created the entity. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// Date and time the entity was created. The value is represented in ISO 8601 format and is always in UTC time. Read-only. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// Date and time the message was deleted. + public DateTimeOffset? DeletedTime + { + get { return BackingStore?.Get("deletedTime"); } + set { BackingStore?.Set("deletedTime", value); } + } + /// Date and time the message was last edited. + public DateTimeOffset? EditedTime + { + get { return BackingStore?.Get("editedTime"); } + set { BackingStore?.Set("editedTime", value); } + } + /// Indicates whether the message was deleted. + public bool? IsDeleted + { + get { return BackingStore?.Get("isDeleted"); } + set { BackingStore?.Set("isDeleted", value); } + } + /// Indicates whether the message was edited after it was sent. + public bool? IsEdited + { + get { return BackingStore?.Get("isEdited"); } + set { BackingStore?.Set("isEdited", value); } + } + /// Format of the message content. The possible values are: richTextHtml, plainText, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.PlannerChatMessageType? MessageType + { + get { return BackingStore?.Get("messageType"); } + set { BackingStore?.Set("messageType", value); } + } + /// ID of the task or plan the message belongs to. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ParentEntityId + { + get { return BackingStore?.Get("parentEntityId"); } + set { BackingStore?.Set("parentEntityId", value); } + } +#nullable restore +#else + public string ParentEntityId + { + get { return BackingStore?.Get("parentEntityId"); } + set { BackingStore?.Set("parentEntityId", value); } + } +#endif + /// @mentions and reactions associated with the message. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ChatMessageProperties? Properties + { + get { return BackingStore?.Get("properties"); } + set { BackingStore?.Set("properties", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ChatMessageProperties Properties + { + get { return BackingStore?.Get("properties"); } + set { BackingStore?.Set("properties", value); } + } +#endif + /// Indicates whether the message belongs to a task-level or plan-level conversation. The possible values are: task, plan, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.PlannerChatThreadType? ThreadType + { + get { return BackingStore?.Get("threadType"); } + set { BackingStore?.Set("threadType", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.PlannerChatMessage CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PlannerChatMessage(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "content", n => { Content = n.GetStringValue(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "deletedTime", n => { DeletedTime = n.GetDateTimeOffsetValue(); } }, + { "editedTime", n => { EditedTime = n.GetDateTimeOffsetValue(); } }, + { "isDeleted", n => { IsDeleted = n.GetBoolValue(); } }, + { "isEdited", n => { IsEdited = n.GetBoolValue(); } }, + { "messageType", n => { MessageType = n.GetEnumValue(); } }, + { "parentEntityId", n => { ParentEntityId = n.GetStringValue(); } }, + { "properties", n => { Properties = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ChatMessageProperties.CreateFromDiscriminatorValue); } }, + { "threadType", n => { ThreadType = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("content", Content); + writer.WriteDateTimeOffsetValue("deletedTime", DeletedTime); + writer.WriteDateTimeOffsetValue("editedTime", EditedTime); + writer.WriteBoolValue("isDeleted", IsDeleted); + writer.WriteBoolValue("isEdited", IsEdited); + writer.WriteEnumValue("messageType", MessageType); + writer.WriteStringValue("parentEntityId", ParentEntityId); + writer.WriteObjectValue("properties", Properties); + writer.WriteEnumValue("threadType", ThreadType); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PlannerChatMessageCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/PlannerChatMessageCollectionResponse.cs new file mode 100644 index 000000000000..26dc4d8380ad --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlannerChatMessageCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PlannerChatMessageCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.PlannerChatMessageCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PlannerChatMessageCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PlannerChatMessageType.cs b/src/Microsoft.Graph/Generated/Models/PlannerChatMessageType.cs new file mode 100644 index 000000000000..e14d9518cddb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlannerChatMessageType.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum PlannerChatMessageType + #pragma warning restore CS1591 + { + [EnumMember(Value = "richTextHtml")] + #pragma warning disable CS1591 + RichTextHtml, + #pragma warning restore CS1591 + [EnumMember(Value = "plainText")] + #pragma warning disable CS1591 + PlainText, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PlannerChatThreadType.cs b/src/Microsoft.Graph/Generated/Models/PlannerChatThreadType.cs new file mode 100644 index 000000000000..a84091821e2f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlannerChatThreadType.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum PlannerChatThreadType + #pragma warning restore CS1591 + { + [EnumMember(Value = "task")] + #pragma warning disable CS1591 + Task, + #pragma warning restore CS1591 + [EnumMember(Value = "plan")] + #pragma warning disable CS1591 + Plan, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PlannerContainerType.cs b/src/Microsoft.Graph/Generated/Models/PlannerContainerType.cs index cd4c5174e87b..b463d5aa01c4 100644 --- a/src/Microsoft.Graph/Generated/Models/PlannerContainerType.cs +++ b/src/Microsoft.Graph/Generated/Models/PlannerContainerType.cs @@ -44,5 +44,17 @@ public enum PlannerContainerType #pragma warning disable CS1591 PlannerTask, #pragma warning restore CS1591 + [EnumMember(Value = "officeDocument")] + #pragma warning disable CS1591 + OfficeDocument, + #pragma warning restore CS1591 + [EnumMember(Value = "meeting")] + #pragma warning disable CS1591 + Meeting, + #pragma warning restore CS1591 + [EnumMember(Value = "dataverseProject")] + #pragma warning disable CS1591 + DataverseProject, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/PlannerDelta.cs b/src/Microsoft.Graph/Generated/Models/PlannerDelta.cs index 1cc3652ed18a..3856feb9e2e8 100644 --- a/src/Microsoft.Graph/Generated/Models/PlannerDelta.cs +++ b/src/Microsoft.Graph/Generated/Models/PlannerDelta.cs @@ -23,10 +23,23 @@ public partial class PlannerDelta : global::Microsoft.Graph.Beta.Models.Entity, var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.bucket" => new global::Microsoft.Graph.Beta.Models.Bucket(), "#microsoft.graph.businessScenarioTask" => new global::Microsoft.Graph.Beta.Models.BusinessScenarioTask(), + "#microsoft.graph.categoryDefinition" => new global::Microsoft.Graph.Beta.Models.CategoryDefinition(), + "#microsoft.graph.checklistItemV4" => new global::Microsoft.Graph.Beta.Models.ChecklistItemV4(), + "#microsoft.graph.contentLink" => new global::Microsoft.Graph.Beta.Models.ContentLink(), + "#microsoft.graph.customChoiceOption" => new global::Microsoft.Graph.Beta.Models.CustomChoiceOption(), + "#microsoft.graph.customFieldDefinition" => new global::Microsoft.Graph.Beta.Models.CustomFieldDefinition(), + "#microsoft.graph.customFieldValue" => new global::Microsoft.Graph.Beta.Models.CustomFieldValue(), + "#microsoft.graph.dependency" => new global::Microsoft.Graph.Beta.Models.Dependency(), + "#microsoft.graph.goal" => new global::Microsoft.Graph.Beta.Models.Goal(), + "#microsoft.graph.historyItem" => new global::Microsoft.Graph.Beta.Models.HistoryItem(), + "#microsoft.graph.plan" => new global::Microsoft.Graph.Beta.Models.Plan(), + "#microsoft.graph.planContextLink" => new global::Microsoft.Graph.Beta.Models.PlanContextLink(), "#microsoft.graph.plannerAssignedToTaskBoardTaskFormat" => new global::Microsoft.Graph.Beta.Models.PlannerAssignedToTaskBoardTaskFormat(), "#microsoft.graph.plannerBucket" => new global::Microsoft.Graph.Beta.Models.PlannerBucket(), "#microsoft.graph.plannerBucketTaskBoardTaskFormat" => new global::Microsoft.Graph.Beta.Models.PlannerBucketTaskBoardTaskFormat(), + "#microsoft.graph.plannerChatMessage" => new global::Microsoft.Graph.Beta.Models.PlannerChatMessage(), "#microsoft.graph.plannerGoal" => new global::Microsoft.Graph.Beta.Models.PlannerGoal(), "#microsoft.graph.plannerHistoryItem" => new global::Microsoft.Graph.Beta.Models.PlannerHistoryItem(), "#microsoft.graph.plannerPlan" => new global::Microsoft.Graph.Beta.Models.PlannerPlan(), @@ -35,7 +48,9 @@ public partial class PlannerDelta : global::Microsoft.Graph.Beta.Models.Entity, "#microsoft.graph.plannerTask" => new global::Microsoft.Graph.Beta.Models.PlannerTask(), "#microsoft.graph.plannerTaskDetails" => new global::Microsoft.Graph.Beta.Models.PlannerTaskDetails(), "#microsoft.graph.plannerUser" => new global::Microsoft.Graph.Beta.Models.PlannerUser(), + "#microsoft.graph.task" => new global::Microsoft.Graph.Beta.Models.TaskObject(), "#microsoft.graph.taskHistoryItem" => new global::Microsoft.Graph.Beta.Models.TaskHistoryItem(), + "#microsoft.graph.userAssignment" => new global::Microsoft.Graph.Beta.Models.UserAssignment(), _ => new global::Microsoft.Graph.Beta.Models.PlannerDelta(), }; } diff --git a/src/Microsoft.Graph/Generated/Models/PlannerGroup.cs b/src/Microsoft.Graph/Generated/Models/PlannerGroup.cs index 63c0de38b120..ac6cb541ab06 100644 --- a/src/Microsoft.Graph/Generated/Models/PlannerGroup.cs +++ b/src/Microsoft.Graph/Generated/Models/PlannerGroup.cs @@ -27,6 +27,22 @@ public partial class PlannerGroup : global::Microsoft.Graph.Beta.Models.Entity, get { return BackingStore?.Get>("plans"); } set { BackingStore?.Set("plans", value); } } +#endif + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the group. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PlansV2 + { + get { return BackingStore?.Get?>("plans_v2"); } + set { BackingStore?.Set("plans_v2", value); } + } +#nullable restore +#else + public List PlansV2 + { + get { return BackingStore?.Get>("plans_v2"); } + set { BackingStore?.Set("plans_v2", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -47,6 +63,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "plans", n => { Plans = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerPlan.CreateFromDiscriminatorValue)?.AsList(); } }, + { "plans_v2", n => { PlansV2 = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -58,6 +75,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteCollectionOfObjectValues("plans", Plans); + writer.WriteCollectionOfObjectValues("plans_v2", PlansV2); } } } diff --git a/src/Microsoft.Graph/Generated/Models/PlannerPlanContextType.cs b/src/Microsoft.Graph/Generated/Models/PlannerPlanContextType.cs new file mode 100644 index 000000000000..9c8ae506f851 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlannerPlanContextType.cs @@ -0,0 +1,40 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum PlannerPlanContextType + #pragma warning restore CS1591 + { + [EnumMember(Value = "teamsTab")] + #pragma warning disable CS1591 + TeamsTab, + #pragma warning restore CS1591 + [EnumMember(Value = "sharePointPage")] + #pragma warning disable CS1591 + SharePointPage, + #pragma warning restore CS1591 + [EnumMember(Value = "meetingNotes")] + #pragma warning disable CS1591 + MeetingNotes, + #pragma warning restore CS1591 + [EnumMember(Value = "other")] + #pragma warning disable CS1591 + Other, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + [EnumMember(Value = "loopPage")] + #pragma warning disable CS1591 + LoopPage, + #pragma warning restore CS1591 + [EnumMember(Value = "project")] + #pragma warning disable CS1591 + Project, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PlannerTaskStatus.cs b/src/Microsoft.Graph/Generated/Models/PlannerTaskStatus.cs new file mode 100644 index 000000000000..b5ff9863f18e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PlannerTaskStatus.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum PlannerTaskStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "notStarted")] + #pragma warning disable CS1591 + NotStarted, + #pragma warning restore CS1591 + [EnumMember(Value = "inProgress")] + #pragma warning disable CS1591 + InProgress, + #pragma warning restore CS1591 + [EnumMember(Value = "completed")] + #pragma warning disable CS1591 + Completed, + #pragma warning restore CS1591 + [EnumMember(Value = "blocked")] + #pragma warning disable CS1591 + Blocked, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PlannerUser.cs b/src/Microsoft.Graph/Generated/Models/PlannerUser.cs index 59281ecd13c5..9351454b42d4 100644 --- a/src/Microsoft.Graph/Generated/Models/PlannerUser.cs +++ b/src/Microsoft.Graph/Generated/Models/PlannerUser.cs @@ -91,6 +91,22 @@ public partial class PlannerUser : global::Microsoft.Graph.Beta.Models.PlannerDe get { return BackingStore?.Get>("plans"); } set { BackingStore?.Set("plans", value); } } +#endif + /// Read-only. Nullable. The collection of Planner Graph V4 plans associated with the user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PlansV2 + { + get { return BackingStore?.Get?>("plans_v2"); } + set { BackingStore?.Set("plans_v2", value); } + } +#nullable restore +#else + public List PlansV2 + { + get { return BackingStore?.Get>("plans_v2"); } + set { BackingStore?.Set("plans_v2", value); } + } #endif /// A collection that contains references to the plans that the user recently viewed in apps that support recent plans. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -155,6 +171,22 @@ public partial class PlannerUser : global::Microsoft.Graph.Beta.Models.PlannerDe get { return BackingStore?.Get>("tasks"); } set { BackingStore?.Set("tasks", value); } } +#endif + /// Read-only. Nullable. The collection of Planner Graph V4 tasks assigned to the user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? TasksV2 + { + get { return BackingStore?.Get?>("tasks_v2"); } + set { BackingStore?.Set("tasks_v2", value); } + } +#nullable restore +#else + public List TasksV2 + { + get { return BackingStore?.Get>("tasks_v2"); } + set { BackingStore?.Set("tasks_v2", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -179,10 +211,12 @@ public override IDictionary> GetFieldDeserializers() { "favoritePlans", n => { FavoritePlans = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerPlan.CreateFromDiscriminatorValue)?.AsList(); } }, { "myDayTasks", n => { MyDayTasks = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerTask.CreateFromDiscriminatorValue)?.AsList(); } }, { "plans", n => { Plans = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerPlan.CreateFromDiscriminatorValue)?.AsList(); } }, + { "plans_v2", n => { PlansV2 = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue)?.AsList(); } }, { "recentPlanReferences", n => { RecentPlanReferences = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PlannerRecentPlanReferenceCollection.CreateFromDiscriminatorValue); } }, { "recentPlans", n => { RecentPlans = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerPlan.CreateFromDiscriminatorValue)?.AsList(); } }, { "rosterPlans", n => { RosterPlans = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerPlan.CreateFromDiscriminatorValue)?.AsList(); } }, { "tasks", n => { Tasks = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerTask.CreateFromDiscriminatorValue)?.AsList(); } }, + { "tasks_v2", n => { TasksV2 = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.TaskObject.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -198,10 +232,12 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("favoritePlans", FavoritePlans); writer.WriteCollectionOfObjectValues("myDayTasks", MyDayTasks); writer.WriteCollectionOfObjectValues("plans", Plans); + writer.WriteCollectionOfObjectValues("plans_v2", PlansV2); writer.WriteObjectValue("recentPlanReferences", RecentPlanReferences); writer.WriteCollectionOfObjectValues("recentPlans", RecentPlans); writer.WriteCollectionOfObjectValues("rosterPlans", RosterPlans); writer.WriteCollectionOfObjectValues("tasks", Tasks); + writer.WriteCollectionOfObjectValues("tasks_v2", TasksV2); } } } diff --git a/src/Microsoft.Graph/Generated/Models/PolicyConfiguration.cs b/src/Microsoft.Graph/Generated/Models/PolicyConfiguration.cs new file mode 100644 index 000000000000..b049105cb255 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PolicyConfiguration.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PolicyConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The errorSettings property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ErrorSettings? ErrorSettings + { + get { return BackingStore?.Get("errorSettings"); } + set { BackingStore?.Set("errorSettings", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ErrorSettings ErrorSettings + { + get { return BackingStore?.Get("errorSettings"); } + set { BackingStore?.Set("errorSettings", value); } + } +#endif + /// The date and time when the effective policy configuration was last modified. The timestamp is always in UTC. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PolicyConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.PolicyConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.PolicyConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "errorSettings", n => { ErrorSettings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ErrorSettings.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("errorSettings", ErrorSettings); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PolicyScopeBase.cs b/src/Microsoft.Graph/Generated/Models/PolicyScopeBase.cs index a60ccfe5885d..210e599f374d 100644 --- a/src/Microsoft.Graph/Generated/Models/PolicyScopeBase.cs +++ b/src/Microsoft.Graph/Generated/Models/PolicyScopeBase.cs @@ -96,6 +96,22 @@ public string OdataType get { return BackingStore?.Get>("policyActions"); } set { BackingStore?.Set("policyActions", value); } } +#endif + /// The effective configuration for policy evaluation scenarios. This property can be omitted or null when no configuration is available or applicable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.PolicyConfiguration? PolicyConfiguration + { + get { return BackingStore?.Get("policyConfiguration"); } + set { BackingStore?.Set("policyConfiguration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.PolicyConfiguration PolicyConfiguration + { + get { return BackingStore?.Get("policyConfiguration"); } + set { BackingStore?.Set("policyConfiguration", value); } + } #endif /// /// Instantiates a new and sets the default values. @@ -135,6 +151,7 @@ public virtual IDictionary> GetFieldDeserializers() { "locations", n => { Locations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PolicyLocation.CreateFromDiscriminatorValue)?.AsList(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "policyActions", n => { PolicyActions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DlpActionInfo.CreateFromDiscriminatorValue)?.AsList(); } }, + { "policyConfiguration", n => { PolicyConfiguration = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PolicyConfiguration.CreateFromDiscriminatorValue); } }, }; } /// @@ -150,6 +167,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("locations", Locations); writer.WriteStringValue("@odata.type", OdataType); writer.WriteCollectionOfObjectValues("policyActions", PolicyActions); + writer.WriteObjectValue("policyConfiguration", PolicyConfiguration); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Models/Presence.cs b/src/Microsoft.Graph/Generated/Models/Presence.cs index bfd484953dfe..76277c669333 100644 --- a/src/Microsoft.Graph/Generated/Models/Presence.cs +++ b/src/Microsoft.Graph/Generated/Models/Presence.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class Presence : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The supplemental information to a user's availability. Possible values are available, away, beRightBack, busy, doNotDisturb, offline, outOfOffice, presenceUnknown. + /// The supplemental information to a user's availability. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, Offline, OutOfOffice, PresenceUnknown. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Activity @@ -28,7 +28,7 @@ public string Activity set { BackingStore?.Set("activity", value); } } #endif - /// The base presence information for a user. Possible values are available, away, beRightBack, busy, doNotDisturb, focusing, inACall, inAMeeting, offline, presenting, presenceUnknown. + /// The base presence information for a user. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, Focusing, InACall, InAMeeting, Offline, Presenting, PresenceUnknown. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Availability diff --git a/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs b/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs index 11867a7b7ebf..80e81f0cffd1 100644 --- a/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs +++ b/src/Microsoft.Graph/Generated/Models/ProcessContentMetadataBase.cs @@ -157,6 +157,7 @@ public ProcessContentMetadataBase() return mappingValue switch { "#microsoft.graph.contentActivityMetadata" => new global::Microsoft.Graph.Beta.Models.ContentActivityMetadata(), + "#microsoft.graph.evaluationIncompleteActivityMetadata" => new global::Microsoft.Graph.Beta.Models.EvaluationIncompleteActivityMetadata(), "#microsoft.graph.processConversationMetadata" => new global::Microsoft.Graph.Beta.Models.ProcessConversationMetadata(), "#microsoft.graph.processFileMetadata" => new global::Microsoft.Graph.Beta.Models.ProcessFileMetadata(), _ => new global::Microsoft.Graph.Beta.Models.ProcessContentMetadataBase(), diff --git a/src/Microsoft.Graph/Generated/Models/ProtectionPolicyBase.cs b/src/Microsoft.Graph/Generated/Models/ProtectionPolicyBase.cs index 006caa3f8e4f..35e60a054c31 100644 --- a/src/Microsoft.Graph/Generated/Models/ProtectionPolicyBase.cs +++ b/src/Microsoft.Graph/Generated/Models/ProtectionPolicyBase.cs @@ -155,6 +155,7 @@ public DateTimeOffset? OffboardRequestedDateTime var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.entraProtectionPolicy" => new global::Microsoft.Graph.Beta.Models.EntraProtectionPolicy(), "#microsoft.graph.exchangeProtectionPolicy" => new global::Microsoft.Graph.Beta.Models.ExchangeProtectionPolicy(), "#microsoft.graph.oneDriveForBusinessProtectionPolicy" => new global::Microsoft.Graph.Beta.Models.OneDriveForBusinessProtectionPolicy(), "#microsoft.graph.sharePointProtectionPolicy" => new global::Microsoft.Graph.Beta.Models.SharePointProtectionPolicy(), diff --git a/src/Microsoft.Graph/Generated/Models/ProtectionUnitDetails.cs b/src/Microsoft.Graph/Generated/Models/ProtectionUnitDetails.cs index 0514ff5098fd..bc377554c1bb 100644 --- a/src/Microsoft.Graph/Generated/Models/ProtectionUnitDetails.cs +++ b/src/Microsoft.Graph/Generated/Models/ProtectionUnitDetails.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models public partial class ProtectionUnitDetails : IAdditionalDataHolder, IBackedModel, IParsable #pragma warning restore CS1591 { - /// The addedCount property + /// The number of protection units that were successfully added to the backup policy. public int? AddedCount { get { return BackingStore?.Get("addedCount"); } @@ -27,7 +27,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The backupConfigurationType property + /// The type of backup configuration applied to the protection units. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? BackupConfigurationType @@ -43,7 +43,7 @@ public string BackupConfigurationType set { BackingStore?.Set("backupConfigurationType", value); } } #endif - /// The failedCount property + /// The number of protection unit operations that failed during processing. public int? FailedCount { get { return BackingStore?.Get("failedCount"); } @@ -65,19 +65,19 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The removedCount property + /// The number of protection units that were successfully removed from the backup policy. public int? RemovedCount { get { return BackingStore?.Get("removedCount"); } set { BackingStore?.Set("removedCount", value); } } - /// The requestedToAddCount property + /// The number of protection units that were requested to be added to the backup policy. public int? RequestedToAddCount { get { return BackingStore?.Get("requestedToAddCount"); } set { BackingStore?.Set("requestedToAddCount", value); } } - /// The requestedToRemoveCount property + /// The number of protection units that were requested to be removed from the backup policy. public int? RequestedToRemoveCount { get { return BackingStore?.Get("requestedToRemoveCount"); } diff --git a/src/Microsoft.Graph/Generated/Models/RbacApplication.cs b/src/Microsoft.Graph/Generated/Models/RbacApplication.cs index 5b56f1cd1f78..8ff305a75a79 100644 --- a/src/Microsoft.Graph/Generated/Models/RbacApplication.cs +++ b/src/Microsoft.Graph/Generated/Models/RbacApplication.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Beta.Models public partial class RbacApplication : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { + /// Container for soft-deleted directory role management resources. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer? DeletedItems + { + get { return BackingStore?.Get("deletedItems"); } + set { BackingStore?.Set("deletedItems", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer DeletedItems + { + get { return BackingStore?.Get("deletedItems"); } + set { BackingStore?.Set("deletedItems", value); } + } +#endif /// The resourceNamespaces property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -206,6 +222,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "deletedItems", n => { DeletedItems = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer.CreateFromDiscriminatorValue); } }, { "resourceNamespaces", n => { ResourceNamespaces = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.UnifiedRbacResourceNamespace.CreateFromDiscriminatorValue)?.AsList(); } }, { "roleAssignmentApprovals", n => { RoleAssignmentApprovals = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Approval.CreateFromDiscriminatorValue)?.AsList(); } }, { "roleAssignmentScheduleInstances", n => { RoleAssignmentScheduleInstances = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.UnifiedRoleAssignmentScheduleInstance.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -227,6 +244,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteObjectValue("deletedItems", DeletedItems); writer.WriteCollectionOfObjectValues("resourceNamespaces", ResourceNamespaces); writer.WriteCollectionOfObjectValues("roleAssignmentApprovals", RoleAssignmentApprovals); writer.WriteCollectionOfObjectValues("roleAssignments", RoleAssignments); diff --git a/src/Microsoft.Graph/Generated/Models/RelatedPerson.cs b/src/Microsoft.Graph/Generated/Models/RelatedPerson.cs index 0183f38554bc..ded8a8ac8f87 100644 --- a/src/Microsoft.Graph/Generated/Models/RelatedPerson.cs +++ b/src/Microsoft.Graph/Generated/Models/RelatedPerson.cs @@ -59,6 +59,22 @@ public string OdataType get { return BackingStore?.Get("relationship"); } set { BackingStore?.Set("relationship", value); } } + /// Information (free-text) describing the relationship between the user and the related person. This property provides additional context beyond the predefined relationship values and can be used by clients, including AI-powered experiences, to better understand and reason about the relationship. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RelationshipLabel + { + get { return BackingStore?.Get("relationshipLabel"); } + set { BackingStore?.Set("relationshipLabel", value); } + } +#nullable restore +#else + public string RelationshipLabel + { + get { return BackingStore?.Get("relationshipLabel"); } + set { BackingStore?.Set("relationshipLabel", value); } + } +#endif /// The user's directory object ID (Microsoft Entra ID or CID). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -120,6 +136,7 @@ public virtual IDictionary> GetFieldDeserializers() { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "relationship", n => { Relationship = n.GetEnumValue(); } }, + { "relationshipLabel", n => { RelationshipLabel = n.GetStringValue(); } }, { "userId", n => { UserId = n.GetStringValue(); } }, { "userPrincipalName", n => { UserPrincipalName = n.GetStringValue(); } }, }; @@ -134,6 +151,7 @@ public virtual void Serialize(ISerializationWriter writer) writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("@odata.type", OdataType); writer.WriteEnumValue("relationship", Relationship); + writer.WriteStringValue("relationshipLabel", RelationshipLabel); writer.WriteStringValue("userId", UserId); writer.WriteStringValue("userPrincipalName", UserPrincipalName); writer.WriteAdditionalData(AdditionalData); diff --git a/src/Microsoft.Graph/Generated/Models/RestoreArtifactDetails.cs b/src/Microsoft.Graph/Generated/Models/RestoreArtifactDetails.cs index 420faad39272..d3bfcd1eb2d4 100644 --- a/src/Microsoft.Graph/Generated/Models/RestoreArtifactDetails.cs +++ b/src/Microsoft.Graph/Generated/Models/RestoreArtifactDetails.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The failedCount property + /// The number of artifacts that failed to be restored during the restore operation. public int? FailedCount { get { return BackingStore?.Get("failedCount"); } @@ -43,13 +43,13 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The restoredCount property + /// The number of artifacts that were successfully restored during the restore operation. public int? RestoredCount { get { return BackingStore?.Get("restoredCount"); } set { BackingStore?.Set("restoredCount", value); } } - /// The totalArtifactsCount property + /// The total number of artifacts included in the restore operation. public int? TotalArtifactsCount { get { return BackingStore?.Get("totalArtifactsCount"); } diff --git a/src/Microsoft.Graph/Generated/Models/RestoreTaskActivityLog.cs b/src/Microsoft.Graph/Generated/Models/RestoreTaskActivityLog.cs index 3468d9d7e44b..da1931aeaf15 100644 --- a/src/Microsoft.Graph/Generated/Models/RestoreTaskActivityLog.cs +++ b/src/Microsoft.Graph/Generated/Models/RestoreTaskActivityLog.cs @@ -18,7 +18,7 @@ public partial class RestoreTaskActivityLog : global::Microsoft.Graph.Beta.Model get { return BackingStore?.Get("destinationType"); } set { BackingStore?.Set("destinationType", value); } } - /// The restoreArtifactDetails property + /// Contains detailed information about the artifacts being restored, including counts and status of restored items. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.RestoreArtifactDetails? RestoreArtifactDetails @@ -34,13 +34,13 @@ public partial class RestoreTaskActivityLog : global::Microsoft.Graph.Beta.Model set { BackingStore?.Set("restoreArtifactDetails", value); } } #endif - /// The restoreCompletionDateTime property + /// The date and time when the restore task was completed. public DateTimeOffset? RestoreCompletionDateTime { get { return BackingStore?.Get("restoreCompletionDateTime"); } set { BackingStore?.Set("restoreCompletionDateTime", value); } } - /// The restoreSessionId property + /// The unique identifier of the restore session associated with this activity log. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RestoreSessionId diff --git a/src/Microsoft.Graph/Generated/Models/Security/A365AiGuardrail.cs b/src/Microsoft.Graph/Generated/Models/Security/A365AiGuardrail.cs new file mode 100644 index 000000000000..d25aec91e694 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/A365AiGuardrail.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for A365 AI Guardrail events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class A365AiGuardrail : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public A365AiGuardrail() : base() + { + OdataType = "#microsoft.graph.security.a365AiGuardrail"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.A365AiGuardrail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.A365AiGuardrail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/AiGuardrail.cs b/src/Microsoft.Graph/Generated/Models/Security/AiGuardrail.cs new file mode 100644 index 000000000000..1ef73a70e189 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AiGuardrail.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for AI Guardrail events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AiGuardrail : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public AiGuardrail() : base() + { + OdataType = "#microsoft.graph.security.aiGuardrail"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.AiGuardrail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.AiGuardrail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/AuditData.cs b/src/Microsoft.Graph/Generated/Models/Security/AuditData.cs index 7c5767a627ec..b1e9465bc59e 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/AuditData.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/AuditData.cs @@ -74,6 +74,7 @@ public AuditData() return mappingValue switch { "#microsoft.graph.security.a365AiExecuteTool" => new global::Microsoft.Graph.Beta.Models.Security.A365AiExecuteTool(), + "#microsoft.graph.security.a365AiGuardrail" => new global::Microsoft.Graph.Beta.Models.Security.A365AiGuardrail(), "#microsoft.graph.security.a365AiInferenceCall" => new global::Microsoft.Graph.Beta.Models.Security.A365AiInferenceCall(), "#microsoft.graph.security.a365AiInvokeAgent" => new global::Microsoft.Graph.Beta.Models.Security.A365AiInvokeAgent(), "#microsoft.graph.security.a365AiRunSummary" => new global::Microsoft.Graph.Beta.Models.Security.A365AiRunSummary(), @@ -84,6 +85,7 @@ public AuditData() "#microsoft.graph.security.agentSettingAdminActivity" => new global::Microsoft.Graph.Beta.Models.Security.AgentSettingAdminActivity(), "#microsoft.graph.security.aiAppInteractionAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.AiAppInteractionAuditRecord(), "#microsoft.graph.security.aiExecuteToolAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.AiExecuteToolAuditRecord(), + "#microsoft.graph.security.aiGuardrail" => new global::Microsoft.Graph.Beta.Models.Security.AiGuardrail(), "#microsoft.graph.security.aiInteractionsChangeNotificationAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.AiInteractionsChangeNotificationAuditRecord(), "#microsoft.graph.security.aiInteractionsExportAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.AiInteractionsExportAuditRecord(), "#microsoft.graph.security.aiInteractionsSubscriptionAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.AiInteractionsSubscriptionAuditRecord(), @@ -122,6 +124,9 @@ public AuditData() "#microsoft.graph.security.cdpLogRecord" => new global::Microsoft.Graph.Beta.Models.Security.CdpLogRecord(), "#microsoft.graph.security.cdpOcrBillingRecord" => new global::Microsoft.Graph.Beta.Models.Security.CdpOcrBillingRecord(), "#microsoft.graph.security.cdpResourceScopeChangeEventRecord" => new global::Microsoft.Graph.Beta.Models.Security.CdpResourceScopeChangeEventRecord(), + "#microsoft.graph.security.cloudSecurityConnector" => new global::Microsoft.Graph.Beta.Models.Security.CloudSecurityConnector(), + "#microsoft.graph.security.cloudSecurityEnablement" => new global::Microsoft.Graph.Beta.Models.Security.CloudSecurityEnablement(), + "#microsoft.graph.security.cloudSecurityManagement" => new global::Microsoft.Graph.Beta.Models.Security.CloudSecurityManagement(), "#microsoft.graph.security.cloudUpdateDeviceConfigAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.CloudUpdateDeviceConfigAuditRecord(), "#microsoft.graph.security.cloudUpdateProfileConfigAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.CloudUpdateProfileConfigAuditRecord(), "#microsoft.graph.security.cloudUpdateTenantConfigAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.CloudUpdateTenantConfigAuditRecord(), @@ -141,6 +146,8 @@ public AuditData() "#microsoft.graph.security.complianceDLPSharePointClassificationAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.ComplianceDLPSharePointClassificationAuditRecord(), "#microsoft.graph.security.complianceDLPSharePointClassificationCdpRecord" => new global::Microsoft.Graph.Beta.Models.Security.ComplianceDLPSharePointClassificationCdpRecord(), "#microsoft.graph.security.complianceDLPSharePointClassificationExtendedAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.ComplianceDLPSharePointClassificationExtendedAuditRecord(), + "#microsoft.graph.security.complianceEndpointEvaluationIncomplete" => new global::Microsoft.Graph.Beta.Models.Security.ComplianceEndpointEvaluationIncomplete(), + "#microsoft.graph.security.complianceEvaluationIncomplete" => new global::Microsoft.Graph.Beta.Models.Security.ComplianceEvaluationIncomplete(), "#microsoft.graph.security.complianceExchangeOcrAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.ComplianceExchangeOcrAuditRecord(), "#microsoft.graph.security.complianceManagerActionRecord" => new global::Microsoft.Graph.Beta.Models.Security.ComplianceManagerActionRecord(), "#microsoft.graph.security.compliancePolicyGradingSharePointAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.CompliancePolicyGradingSharePointAuditRecord(), @@ -164,6 +171,7 @@ public AuditData() "#microsoft.graph.security.criticalAssetManagementClassificationRecord" => new global::Microsoft.Graph.Beta.Models.Security.CriticalAssetManagementClassificationRecord(), "#microsoft.graph.security.crmEntityOperationAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.CrmEntityOperationAuditRecord(), "#microsoft.graph.security.crossTenantAccessPolicyAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.CrossTenantAccessPolicyAuditRecord(), + "#microsoft.graph.security.cscContentMetadata" => new global::Microsoft.Graph.Beta.Models.Security.CscContentMetadata(), "#microsoft.graph.security.customerKeyServiceEncryptionAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.CustomerKeyServiceEncryptionAuditRecord(), "#microsoft.graph.security.dataCenterSecurityCmdletAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.DataCenterSecurityCmdletAuditRecord(), "#microsoft.graph.security.dataGovernanceAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.DataGovernanceAuditRecord(), @@ -172,7 +180,10 @@ public AuditData() "#microsoft.graph.security.dataSecurityInvestigationAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.DataSecurityInvestigationAuditRecord(), "#microsoft.graph.security.dataShareOperationAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.DataShareOperationAuditRecord(), "#microsoft.graph.security.defaultAuditData" => new global::Microsoft.Graph.Beta.Models.Security.DefaultAuditData(), + "#microsoft.graph.security.defenderAutomationRule" => new global::Microsoft.Graph.Beta.Models.Security.DefenderAutomationRule(), "#microsoft.graph.security.defenderCaseManagementAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.DefenderCaseManagementAuditRecord(), + "#microsoft.graph.security.defenderGeneratedPlaybook" => new global::Microsoft.Graph.Beta.Models.Security.DefenderGeneratedPlaybook(), + "#microsoft.graph.security.defenderIntegration" => new global::Microsoft.Graph.Beta.Models.Security.DefenderIntegration(), "#microsoft.graph.security.defenderPreviewFeaturesRecord" => new global::Microsoft.Graph.Beta.Models.Security.DefenderPreviewFeaturesRecord(), "#microsoft.graph.security.defenderSecurityForAIConfigurationAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.DefenderSecurityForAIConfigurationAuditRecord(), "#microsoft.graph.security.deployFeatureActivityRecord" => new global::Microsoft.Graph.Beta.Models.Security.DeployFeatureActivityRecord(), @@ -187,7 +198,9 @@ public AuditData() "#microsoft.graph.security.dragonCopilotAdminRecord" => new global::Microsoft.Graph.Beta.Models.Security.DragonCopilotAdminRecord(), "#microsoft.graph.security.dragonCopilotClinicalDataRecord" => new global::Microsoft.Graph.Beta.Models.Security.DragonCopilotClinicalDataRecord(), "#microsoft.graph.security.dragonCopilotSessionRecord" => new global::Microsoft.Graph.Beta.Models.Security.DragonCopilotSessionRecord(), + "#microsoft.graph.security.dspmAdminActivity" => new global::Microsoft.Graph.Beta.Models.Security.DspmAdminActivity(), "#microsoft.graph.security.dynamics365BusinessCentralAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Dynamics365BusinessCentralAuditRecord(), + "#microsoft.graph.security.ecsContentMetadata" => new global::Microsoft.Graph.Beta.Models.Security.EcsContentMetadata(), "#microsoft.graph.security.ehrConnectorAuditBaseRecord" => new global::Microsoft.Graph.Beta.Models.Security.EhrConnectorAuditBaseRecord(), "#microsoft.graph.security.eopSubmissionFeedEntityAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.EopSubmissionFeedEntityAuditRecord(), "#microsoft.graph.security.exchangeAdminAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.ExchangeAdminAuditRecord(), @@ -197,6 +210,7 @@ public AuditData() "#microsoft.graph.security.exchangeMailboxAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.ExchangeMailboxAuditRecord(), "#microsoft.graph.security.fabricAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.FabricAuditRecord(), "#microsoft.graph.security.fabricPolicyRecord" => new global::Microsoft.Graph.Beta.Models.Security.FabricPolicyRecord(), + "#microsoft.graph.security.filteringTeamsMessageFileInfo" => new global::Microsoft.Graph.Beta.Models.Security.FilteringTeamsMessageFileInfo(), "#microsoft.graph.security.healthcareSignalRecord" => new global::Microsoft.Graph.Beta.Models.Security.HealthcareSignalRecord(), "#microsoft.graph.security.hostedRpaAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.HostedRpaAuditRecord(), "#microsoft.graph.security.hrSignalAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.HrSignalAuditRecord(), @@ -225,6 +239,7 @@ public AuditData() "#microsoft.graph.security.mapgPolicyAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.MapgPolicyAuditRecord(), "#microsoft.graph.security.mapgRemediationAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.MapgRemediationAuditRecord(), "#microsoft.graph.security.mcasAlertsAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.McasAlertsAuditRecord(), + "#microsoft.graph.security.mcsRawEmailContentMetadata" => new global::Microsoft.Graph.Beta.Models.Security.McsRawEmailContentMetadata(), "#microsoft.graph.security.mdaAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.MdaAuditRecord(), "#microsoft.graph.security.mdaDataSecuritySignalRecord" => new global::Microsoft.Graph.Beta.Models.Security.MdaDataSecuritySignalRecord(), "#microsoft.graph.security.mDASHAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.MDASHAuditRecord(), @@ -232,6 +247,7 @@ public AuditData() "#microsoft.graph.security.mdcEventsRecord" => new global::Microsoft.Graph.Beta.Models.Security.MdcEventsRecord(), "#microsoft.graph.security.mdiAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.MdiAuditRecord(), "#microsoft.graph.security.meshWorldsAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.MeshWorldsAuditRecord(), + "#microsoft.graph.security.mesRawEmailContentMetadata" => new global::Microsoft.Graph.Beta.Models.Security.MesRawEmailContentMetadata(), "#microsoft.graph.security.microsoft365BackupBackupItemAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Microsoft365BackupBackupItemAuditRecord(), "#microsoft.graph.security.microsoft365BackupBackupPolicyAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Microsoft365BackupBackupPolicyAuditRecord(), "#microsoft.graph.security.microsoft365BackupGranularBrowseTaskAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Microsoft365BackupGranularBrowseTaskAuditRecord(), @@ -249,11 +265,14 @@ public AuditData() "#microsoft.graph.security.microsoftPurviewPolicyOperationRecord" => new global::Microsoft.Graph.Beta.Models.Security.MicrosoftPurviewPolicyOperationRecord(), "#microsoft.graph.security.microsoftPurviewPrivacyAuditEvent" => new global::Microsoft.Graph.Beta.Models.Security.MicrosoftPurviewPrivacyAuditEvent(), "#microsoft.graph.security.microsoftPurviewUnifiedCatalogOperationRecord" => new global::Microsoft.Graph.Beta.Models.Security.MicrosoftPurviewUnifiedCatalogOperationRecord(), + "#microsoft.graph.security.microsoftSecurityForAiConfiguration" => new global::Microsoft.Graph.Beta.Models.Security.MicrosoftSecurityForAiConfiguration(), + "#microsoft.graph.security.microsoftSecurityForAiRealTimeProtection" => new global::Microsoft.Graph.Beta.Models.Security.MicrosoftSecurityForAiRealTimeProtection(), "#microsoft.graph.security.microsoftStreamAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.MicrosoftStreamAuditRecord(), "#microsoft.graph.security.microsoftTeamsAdminAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.MicrosoftTeamsAdminAuditRecord(), "#microsoft.graph.security.microsoftTeamsAnalyticsAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.MicrosoftTeamsAnalyticsAuditRecord(), "#microsoft.graph.security.microsoftTeamsAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.MicrosoftTeamsAuditRecord(), "#microsoft.graph.security.microsoftTeamsDeviceAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.MicrosoftTeamsDeviceAuditRecord(), + "#microsoft.graph.security.microsoftTeamsMoveMessages" => new global::Microsoft.Graph.Beta.Models.Security.MicrosoftTeamsMoveMessages(), "#microsoft.graph.security.microsoftTeamsRetentionLabelActionAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.MicrosoftTeamsRetentionLabelActionAuditRecord(), "#microsoft.graph.security.microsoftTeamsSensitivityLabelActionAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.MicrosoftTeamsSensitivityLabelActionAuditRecord(), "#microsoft.graph.security.microsoftTeamsShiftsAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.MicrosoftTeamsShiftsAuditRecord(), @@ -280,11 +299,13 @@ public AuditData() "#microsoft.graph.security.msdeRolesSettingsAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.MsdeRolesSettingsAuditRecord(), "#microsoft.graph.security.mspVectorSearchContentMetadataAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.MspVectorSearchContentMetadataAuditRecord(), "#microsoft.graph.security.msticNationStateNotificationRecord" => new global::Microsoft.Graph.Beta.Models.Security.MsticNationStateNotificationRecord(), + "#microsoft.graph.security.mtpContentMetadata" => new global::Microsoft.Graph.Beta.Models.Security.MtpContentMetadata(), "#microsoft.graph.security.multiStageDispositionAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.MultiStageDispositionAuditRecord(), "#microsoft.graph.security.myAnalyticsSettingsAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.MyAnalyticsSettingsAuditRecord(), "#microsoft.graph.security.noisyAlertPolicyAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.NoisyAlertPolicyAuditRecord(), "#microsoft.graph.security.officeNativeAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.OfficeNativeAuditRecord(), "#microsoft.graph.security.omePortalAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.OmePortalAuditRecord(), + "#microsoft.graph.security.onDemandExchangeClassification" => new global::Microsoft.Graph.Beta.Models.Security.OnDemandExchangeClassification(), "#microsoft.graph.security.onDemandSharePointClassificationAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.OnDemandSharePointClassificationAuditRecord(), "#microsoft.graph.security.oneDriveAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.OneDriveAuditRecord(), "#microsoft.graph.security.onPremisesFileShareScannerDLPAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.OnPremisesFileShareScannerDLPAuditRecord(), @@ -296,13 +317,20 @@ public AuditData() "#microsoft.graph.security.p4aiAssessmentFabricScannerRecord" => new global::Microsoft.Graph.Beta.Models.Security.P4aiAssessmentFabricScannerRecord(), "#microsoft.graph.security.p4aiAssessmentLocationResultRecord" => new global::Microsoft.Graph.Beta.Models.Security.P4aiAssessmentLocationResultRecord(), "#microsoft.graph.security.p4aiAssessmentRecord" => new global::Microsoft.Graph.Beta.Models.Security.P4aiAssessmentRecord(), + "#microsoft.graph.security.p4AiDagSitePermissionsRecord" => new global::Microsoft.Graph.Beta.Models.Security.P4AiDagSitePermissionsRecord(), "#microsoft.graph.security.p4AIRiskScoreRecord" => new global::Microsoft.Graph.Beta.Models.Security.P4AIRiskScoreRecord(), "#microsoft.graph.security.peopleAdminSettingsAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.PeopleAdminSettingsAuditRecord(), + "#microsoft.graph.security.peopleSkillsAdmin" => new global::Microsoft.Graph.Beta.Models.Security.PeopleSkillsAdmin(), + "#microsoft.graph.security.peopleSkillsUser" => new global::Microsoft.Graph.Beta.Models.Security.PeopleSkillsUser(), "#microsoft.graph.security.physicalBadgingSignalAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.PhysicalBadgingSignalAuditRecord(), "#microsoft.graph.security.placesDirectoryAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.PlacesDirectoryAuditRecord(), "#microsoft.graph.security.plannerChatMessageAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.PlannerChatMessageAuditRecord(), "#microsoft.graph.security.plannerChatMessageListAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.PlannerChatMessageListAuditRecord(), "#microsoft.graph.security.plannerCopyPlanAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.PlannerCopyPlanAuditRecord(), + "#microsoft.graph.security.plannerCustomFieldDefinition" => new global::Microsoft.Graph.Beta.Models.Security.PlannerCustomFieldDefinition(), + "#microsoft.graph.security.plannerCustomFieldDefinitionList" => new global::Microsoft.Graph.Beta.Models.Security.PlannerCustomFieldDefinitionList(), + "#microsoft.graph.security.plannerDependency" => new global::Microsoft.Graph.Beta.Models.Security.PlannerDependency(), + "#microsoft.graph.security.plannerDependencyList" => new global::Microsoft.Graph.Beta.Models.Security.PlannerDependencyList(), "#microsoft.graph.security.plannerGoalAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.PlannerGoalAuditRecord(), "#microsoft.graph.security.plannerGoalListAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.PlannerGoalListAuditRecord(), "#microsoft.graph.security.plannerPlanAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.PlannerPlanAuditRecord(), @@ -389,6 +417,7 @@ public AuditData() "#microsoft.graph.security.sharePointContentTypeOperationAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.SharePointContentTypeOperationAuditRecord(), "#microsoft.graph.security.sharePointESignatureAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.SharePointESignatureAuditRecord(), "#microsoft.graph.security.sharePointFieldOperationAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.SharePointFieldOperationAuditRecord(), + "#microsoft.graph.security.sharePointFileArchivePolicy" => new global::Microsoft.Graph.Beta.Models.Security.SharePointFileArchivePolicy(), "#microsoft.graph.security.sharePointFileOperationAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.SharePointFileOperationAuditRecord(), "#microsoft.graph.security.sharePointListItemOperationAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.SharePointListItemOperationAuditRecord(), "#microsoft.graph.security.sharePointListOperationAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.SharePointListOperationAuditRecord(), @@ -404,6 +433,7 @@ public AuditData() "#microsoft.graph.security.sparkCoreCustomLivePoolRecord" => new global::Microsoft.Graph.Beta.Models.Security.SparkCoreCustomLivePoolRecord(), "#microsoft.graph.security.submissionEntityAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.SubmissionEntityAuditRecord(), "#microsoft.graph.security.supervisoryReviewDayXInsightsAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.SupervisoryReviewDayXInsightsAuditRecord(), + "#microsoft.graph.security.syntheticMediaDetectionEvent" => new global::Microsoft.Graph.Beta.Models.Security.SyntheticMediaDetectionEvent(), "#microsoft.graph.security.syntheticProbeAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.SyntheticProbeAuditRecord(), "#microsoft.graph.security.teamCopilotInteractionAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.TeamCopilotInteractionAuditRecord(), "#microsoft.graph.security.teamsEasyApprovalsAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.TeamsEasyApprovalsAuditRecord(), @@ -427,6 +457,7 @@ public AuditData() "#microsoft.graph.security.unifiedSimulationSummaryAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.UnifiedSimulationSummaryAuditRecord(), "#microsoft.graph.security.universalPrintManagementAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.UniversalPrintManagementAuditRecord(), "#microsoft.graph.security.universalPrintPrintJobAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.UniversalPrintPrintJobAuditRecord(), + "#microsoft.graph.security.universalPrintSecureScan" => new global::Microsoft.Graph.Beta.Models.Security.UniversalPrintSecureScan(), "#microsoft.graph.security.urbacAssignmentAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.UrbacAssignmentAuditRecord(), "#microsoft.graph.security.urbacEnableStateAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.UrbacEnableStateAuditRecord(), "#microsoft.graph.security.urbacRoleAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.UrbacRoleAuditRecord(), @@ -441,6 +472,8 @@ public AuditData() "#microsoft.graph.security.vivaEngageSegmentAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.VivaEngageSegmentAuditRecord(), "#microsoft.graph.security.vivaGlintAdvancedConfigurationAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.VivaGlintAdvancedConfigurationAuditRecord(), "#microsoft.graph.security.vivaGlintAgenticCampaignAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.VivaGlintAgenticCampaignAuditRecord(), + "#microsoft.graph.security.vivaGlintClientConfiguration" => new global::Microsoft.Graph.Beta.Models.Security.VivaGlintClientConfiguration(), + "#microsoft.graph.security.vivaGlintDataRetention" => new global::Microsoft.Graph.Beta.Models.Security.VivaGlintDataRetention(), "#microsoft.graph.security.vivaGlintFeedbackProgramAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.VivaGlintFeedbackProgramAuditRecord(), "#microsoft.graph.security.vivaGlintOrganizationalDataAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.VivaGlintOrganizationalDataAuditRecord(), "#microsoft.graph.security.vivaGlintPulseProgramAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.VivaGlintPulseProgramAuditRecord(), @@ -452,6 +485,7 @@ public AuditData() "#microsoft.graph.security.vivaGlintSystemAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.VivaGlintSystemAuditRecord(), "#microsoft.graph.security.vivaGlintUserAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.VivaGlintUserAuditRecord(), "#microsoft.graph.security.vivaGlintUserGroupAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.VivaGlintUserGroupAuditRecord(), + "#microsoft.graph.security.vivaGlintVivaInsightsIntegration" => new global::Microsoft.Graph.Beta.Models.Security.VivaGlintVivaInsightsIntegration(), "#microsoft.graph.security.vivaGoalsAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.VivaGoalsAuditRecord(), "#microsoft.graph.security.vivaLearningAdminAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.VivaLearningAdminAuditRecord(), "#microsoft.graph.security.vivaLearningAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.VivaLearningAuditRecord(), @@ -462,6 +496,7 @@ public AuditData() "#microsoft.graph.security.wdatpAlertsAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.WdatpAlertsAuditRecord(), "#microsoft.graph.security.webContentFilteringAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.WebContentFilteringAuditRecord(), "#microsoft.graph.security.windows365CustomerLockboxAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.Windows365CustomerLockboxAuditRecord(), + "#microsoft.graph.security.workIQAdminActivity" => new global::Microsoft.Graph.Beta.Models.Security.WorkIQAdminActivity(), "#microsoft.graph.security.workplaceAnalyticsAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.WorkplaceAnalyticsAuditRecord(), "#microsoft.graph.security.yammerAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.YammerAuditRecord(), "#microsoft.graph.security.yammerUserHidingAuditRecord" => new global::Microsoft.Graph.Beta.Models.Security.YammerUserHidingAuditRecord(), diff --git a/src/Microsoft.Graph/Generated/Models/Security/AuditLogQuery.cs b/src/Microsoft.Graph/Generated/Models/Security/AuditLogQuery.cs index ca5cfacc2d47..8bb68d0fbe52 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/AuditLogQuery.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/AuditLogQuery.cs @@ -85,7 +85,7 @@ public bool? IsRecordCountLimitExceeded get { return BackingStore?.Get("isRecordCountLimitExceeded"); } set { BackingStore?.Set("isRecordCountLimitExceeded", value); } } - /// Free text field to search non-indexed properties of the audit log. + /// Free text to match against the non-indexed content of each record: the workload-specific properties inside auditData, including its AppAccessContext object. The indexed common-schema properties, such as the operation name, aren't matched by keyword; use their own filters, such as operationFilters, for those. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? KeywordFilter diff --git a/src/Microsoft.Graph/Generated/Models/Security/AuditLogRecordType.cs b/src/Microsoft.Graph/Generated/Models/Security/AuditLogRecordType.cs index 3c41e2946287..46eae81cee2a 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/AuditLogRecordType.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/AuditLogRecordType.cs @@ -1891,6 +1891,146 @@ public enum AuditLogRecordType #pragma warning disable CS1591 SparkCoreCustomLivePool, #pragma warning restore CS1591 + [EnumMember(Value = "PlannerCustomFieldDefinition")] + #pragma warning disable CS1591 + PlannerCustomFieldDefinition, + #pragma warning restore CS1591 + [EnumMember(Value = "PlannerCustomFieldDefinitionList")] + #pragma warning disable CS1591 + PlannerCustomFieldDefinitionList, + #pragma warning restore CS1591 + [EnumMember(Value = "SyntheticMediaDetectionEvent")] + #pragma warning disable CS1591 + SyntheticMediaDetectionEvent, + #pragma warning restore CS1591 + [EnumMember(Value = "VivaGlintVivaInsightsIntegration")] + #pragma warning disable CS1591 + VivaGlintVivaInsightsIntegration, + #pragma warning restore CS1591 + [EnumMember(Value = "PeopleSkillsAdmin")] + #pragma warning disable CS1591 + PeopleSkillsAdmin, + #pragma warning restore CS1591 + [EnumMember(Value = "PeopleSkillsUser")] + #pragma warning disable CS1591 + PeopleSkillsUser, + #pragma warning restore CS1591 + [EnumMember(Value = "DSPMAdminActivity")] + #pragma warning disable CS1591 + DSPMAdminActivity, + #pragma warning restore CS1591 + [EnumMember(Value = "OnDemandExchangeClassification")] + #pragma warning disable CS1591 + OnDemandExchangeClassification, + #pragma warning restore CS1591 + [EnumMember(Value = "UniversalPrintSecureScan")] + #pragma warning disable CS1591 + UniversalPrintSecureScan, + #pragma warning restore CS1591 + [EnumMember(Value = "CloudSecurityManagement")] + #pragma warning disable CS1591 + CloudSecurityManagement, + #pragma warning restore CS1591 + [EnumMember(Value = "CloudSecurityConnector")] + #pragma warning disable CS1591 + CloudSecurityConnector, + #pragma warning restore CS1591 + [EnumMember(Value = "CloudSecurityEnablement")] + #pragma warning disable CS1591 + CloudSecurityEnablement, + #pragma warning restore CS1591 + [EnumMember(Value = "MCSRawEmailContentMetadata")] + #pragma warning disable CS1591 + MCSRawEmailContentMetadata, + #pragma warning restore CS1591 + [EnumMember(Value = "AIGuardrail")] + #pragma warning disable CS1591 + AIGuardrail, + #pragma warning restore CS1591 + [EnumMember(Value = "A365AIGuardrail")] + #pragma warning disable CS1591 + A365AIGuardrail, + #pragma warning restore CS1591 + [EnumMember(Value = "WorkIQAdminActivity")] + #pragma warning disable CS1591 + WorkIQAdminActivity, + #pragma warning restore CS1591 + [EnumMember(Value = "VivaGlintClientConfiguration")] + #pragma warning disable CS1591 + VivaGlintClientConfiguration, + #pragma warning restore CS1591 + [EnumMember(Value = "VivaGlintDataRetention")] + #pragma warning disable CS1591 + VivaGlintDataRetention, + #pragma warning restore CS1591 + [EnumMember(Value = "FilteringTeamsMessageFileInfo")] + #pragma warning disable CS1591 + FilteringTeamsMessageFileInfo, + #pragma warning restore CS1591 + [EnumMember(Value = "SharePointFileArchivePolicy")] + #pragma warning disable CS1591 + SharePointFileArchivePolicy, + #pragma warning restore CS1591 + [EnumMember(Value = "DefenderAutomationRule")] + #pragma warning disable CS1591 + DefenderAutomationRule, + #pragma warning restore CS1591 + [EnumMember(Value = "DefenderGeneratedPlaybook")] + #pragma warning disable CS1591 + DefenderGeneratedPlaybook, + #pragma warning restore CS1591 + [EnumMember(Value = "DefenderIntegration")] + #pragma warning disable CS1591 + DefenderIntegration, + #pragma warning restore CS1591 + [EnumMember(Value = "P4AIDagSitePermissionsRecord")] + #pragma warning disable CS1591 + P4AIDagSitePermissionsRecord, + #pragma warning restore CS1591 + [EnumMember(Value = "PlannerDependency")] + #pragma warning disable CS1591 + PlannerDependency, + #pragma warning restore CS1591 + [EnumMember(Value = "PlannerDependencyList")] + #pragma warning disable CS1591 + PlannerDependencyList, + #pragma warning restore CS1591 + [EnumMember(Value = "CSCContentMetadata")] + #pragma warning disable CS1591 + CSCContentMetadata, + #pragma warning restore CS1591 + [EnumMember(Value = "MicrosoftSecurityForAIConfiguration")] + #pragma warning disable CS1591 + MicrosoftSecurityForAIConfiguration, + #pragma warning restore CS1591 + [EnumMember(Value = "MicrosoftSecurityForAIRealTimeProtection")] + #pragma warning disable CS1591 + MicrosoftSecurityForAIRealTimeProtection, + #pragma warning restore CS1591 + [EnumMember(Value = "MTPContentMetadata")] + #pragma warning disable CS1591 + MTPContentMetadata, + #pragma warning restore CS1591 + [EnumMember(Value = "ComplianceEvaluationIncomplete")] + #pragma warning disable CS1591 + ComplianceEvaluationIncomplete, + #pragma warning restore CS1591 + [EnumMember(Value = "ComplianceEndpointEvaluationIncomplete")] + #pragma warning disable CS1591 + ComplianceEndpointEvaluationIncomplete, + #pragma warning restore CS1591 + [EnumMember(Value = "MicrosoftTeamsMoveMessages")] + #pragma warning disable CS1591 + MicrosoftTeamsMoveMessages, + #pragma warning restore CS1591 + [EnumMember(Value = "ECSContentMetadata")] + #pragma warning disable CS1591 + ECSContentMetadata, + #pragma warning restore CS1591 + [EnumMember(Value = "MESRawEmailContentMetadata")] + #pragma warning disable CS1591 + MESRawEmailContentMetadata, + #pragma warning restore CS1591 [EnumMember(Value = "unknownFutureValue")] #pragma warning disable CS1591 UnknownFutureValue, diff --git a/src/Microsoft.Graph/Generated/Models/Security/CloudSecurityConnector.cs b/src/Microsoft.Graph/Generated/Models/Security/CloudSecurityConnector.cs new file mode 100644 index 000000000000..64f49fbb1370 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CloudSecurityConnector.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Cloud Security Connector events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudSecurityConnector : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public CloudSecurityConnector() : base() + { + OdataType = "#microsoft.graph.security.cloudSecurityConnector"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.CloudSecurityConnector CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CloudSecurityConnector(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CloudSecurityEnablement.cs b/src/Microsoft.Graph/Generated/Models/Security/CloudSecurityEnablement.cs new file mode 100644 index 000000000000..d7dd6eaa74b6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CloudSecurityEnablement.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Cloud Security Enablement events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudSecurityEnablement : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public CloudSecurityEnablement() : base() + { + OdataType = "#microsoft.graph.security.cloudSecurityEnablement"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.CloudSecurityEnablement CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CloudSecurityEnablement(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CloudSecurityManagement.cs b/src/Microsoft.Graph/Generated/Models/Security/CloudSecurityManagement.cs new file mode 100644 index 000000000000..e2debb370f54 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CloudSecurityManagement.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Cloud Security Management events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CloudSecurityManagement : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public CloudSecurityManagement() : base() + { + OdataType = "#microsoft.graph.security.cloudSecurityManagement"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.CloudSecurityManagement CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CloudSecurityManagement(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/ComplianceEndpointEvaluationIncomplete.cs b/src/Microsoft.Graph/Generated/Models/Security/ComplianceEndpointEvaluationIncomplete.cs new file mode 100644 index 000000000000..2d11a9d56739 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/ComplianceEndpointEvaluationIncomplete.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for incomplete compliance endpoint evaluations. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceEndpointEvaluationIncomplete : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public ComplianceEndpointEvaluationIncomplete() : base() + { + OdataType = "#microsoft.graph.security.complianceEndpointEvaluationIncomplete"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.ComplianceEndpointEvaluationIncomplete CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.ComplianceEndpointEvaluationIncomplete(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/ComplianceEvaluationIncomplete.cs b/src/Microsoft.Graph/Generated/Models/Security/ComplianceEvaluationIncomplete.cs new file mode 100644 index 000000000000..ce48f4b97cb3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/ComplianceEvaluationIncomplete.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for incomplete compliance evaluations. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceEvaluationIncomplete : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public ComplianceEvaluationIncomplete() : base() + { + OdataType = "#microsoft.graph.security.complianceEvaluationIncomplete"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.ComplianceEvaluationIncomplete CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.ComplianceEvaluationIncomplete(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CscContentMetadata.cs b/src/Microsoft.Graph/Generated/Models/Security/CscContentMetadata.cs new file mode 100644 index 000000000000..ca631af419a4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CscContentMetadata.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for CSC Content Metadata events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CscContentMetadata : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public CscContentMetadata() : base() + { + OdataType = "#microsoft.graph.security.cscContentMetadata"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.CscContentMetadata CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.CscContentMetadata(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/DefenderAutomationRule.cs b/src/Microsoft.Graph/Generated/Models/Security/DefenderAutomationRule.cs new file mode 100644 index 000000000000..ecc0283cb071 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/DefenderAutomationRule.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Defender Automation Rule events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DefenderAutomationRule : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public DefenderAutomationRule() : base() + { + OdataType = "#microsoft.graph.security.defenderAutomationRule"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.DefenderAutomationRule CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.DefenderAutomationRule(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/DefenderGeneratedPlaybook.cs b/src/Microsoft.Graph/Generated/Models/Security/DefenderGeneratedPlaybook.cs new file mode 100644 index 000000000000..78b8f8cb45a9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/DefenderGeneratedPlaybook.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Defender Generated Playbook events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DefenderGeneratedPlaybook : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public DefenderGeneratedPlaybook() : base() + { + OdataType = "#microsoft.graph.security.defenderGeneratedPlaybook"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.DefenderGeneratedPlaybook CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.DefenderGeneratedPlaybook(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/DefenderIntegration.cs b/src/Microsoft.Graph/Generated/Models/Security/DefenderIntegration.cs new file mode 100644 index 000000000000..3d488f4ea6a9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/DefenderIntegration.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Defender Integration events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DefenderIntegration : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public DefenderIntegration() : base() + { + OdataType = "#microsoft.graph.security.defenderIntegration"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.DefenderIntegration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.DefenderIntegration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/DetectionAction.cs b/src/Microsoft.Graph/Generated/Models/Security/DetectionAction.cs index bc36c0dbde01..21a267ab53d5 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/DetectionAction.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/DetectionAction.cs @@ -53,6 +53,22 @@ public IDictionary AdditionalData #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The settings that control how alerts generated by the custom detection rule are associated with incidents. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.IncidentConfiguration? IncidentConfiguration + { + get { return BackingStore?.Get("incidentConfiguration"); } + set { BackingStore?.Set("incidentConfiguration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.IncidentConfiguration IncidentConfiguration + { + get { return BackingStore?.Get("incidentConfiguration"); } + set { BackingStore?.Set("incidentConfiguration", value); } + } +#endif /// The OdataType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -129,6 +145,7 @@ public virtual IDictionary> GetFieldDeserializers() { { "alertTemplate", n => { AlertTemplate = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.AlertTemplate.CreateFromDiscriminatorValue); } }, { "automatedActions", n => { AutomatedActions = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.AutomatedActionSet.CreateFromDiscriminatorValue); } }, + { "incidentConfiguration", n => { IncidentConfiguration = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.IncidentConfiguration.CreateFromDiscriminatorValue); } }, { "@odata.type", n => { OdataType = n.GetStringValue(); } }, { "organizationalScope", n => { OrganizationalScope = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.OrganizationalScope.CreateFromDiscriminatorValue); } }, { "responseActions", n => { ResponseActions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.ResponseAction.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -143,6 +160,7 @@ public virtual void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); writer.WriteObjectValue("alertTemplate", AlertTemplate); writer.WriteObjectValue("automatedActions", AutomatedActions); + writer.WriteObjectValue("incidentConfiguration", IncidentConfiguration); writer.WriteStringValue("@odata.type", OdataType); writer.WriteObjectValue("organizationalScope", OrganizationalScope); writer.WriteCollectionOfObjectValues("responseActions", ResponseActions); diff --git a/src/Microsoft.Graph/Generated/Models/Security/DspmAdminActivity.cs b/src/Microsoft.Graph/Generated/Models/Security/DspmAdminActivity.cs new file mode 100644 index 000000000000..767b9b07f212 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/DspmAdminActivity.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for DSPM Admin Activity events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DspmAdminActivity : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public DspmAdminActivity() : base() + { + OdataType = "#microsoft.graph.security.dspmAdminActivity"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.DspmAdminActivity CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.DspmAdminActivity(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/EcsContentMetadata.cs b/src/Microsoft.Graph/Generated/Models/Security/EcsContentMetadata.cs new file mode 100644 index 000000000000..77469b7bc143 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/EcsContentMetadata.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for ECS Content Metadata events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EcsContentMetadata : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public EcsContentMetadata() : base() + { + OdataType = "#microsoft.graph.security.ecsContentMetadata"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.EcsContentMetadata CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.EcsContentMetadata(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/FilteringTeamsMessageFileInfo.cs b/src/Microsoft.Graph/Generated/Models/Security/FilteringTeamsMessageFileInfo.cs new file mode 100644 index 000000000000..aba9d23251de --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/FilteringTeamsMessageFileInfo.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Filtering Teams Message File Info events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FilteringTeamsMessageFileInfo : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public FilteringTeamsMessageFileInfo() : base() + { + OdataType = "#microsoft.graph.security.filteringTeamsMessageFileInfo"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.FilteringTeamsMessageFileInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.FilteringTeamsMessageFileInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/IncidentConfiguration.cs b/src/Microsoft.Graph/Generated/Models/Security/IncidentConfiguration.cs new file mode 100644 index 000000000000..b0849238e246 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/IncidentConfiguration.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class IncidentConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates whether alerts generated by the rule are excluded from automatic incident correlation. When true, each alert creates a standalone, single-alert incident. When false, alerts can be correlated with other related alerts. The default is false. On create, null or omission defaults to false. On update, null or omission leaves the existing value unchanged. + public bool? IsExcludedFromIncidentCorrelation + { + get { return BackingStore?.Get("isExcludedFromIncidentCorrelation"); } + set { BackingStore?.Set("isExcludedFromIncidentCorrelation", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public IncidentConfiguration() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Security.IncidentConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.IncidentConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isExcludedFromIncidentCorrelation", n => { IsExcludedFromIncidentCorrelation = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("isExcludedFromIncidentCorrelation", IsExcludedFromIncidentCorrelation); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/McsRawEmailContentMetadata.cs b/src/Microsoft.Graph/Generated/Models/Security/McsRawEmailContentMetadata.cs new file mode 100644 index 000000000000..f12e22e1c27b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/McsRawEmailContentMetadata.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for MCS Raw Email Content Metadata events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class McsRawEmailContentMetadata : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public McsRawEmailContentMetadata() : base() + { + OdataType = "#microsoft.graph.security.mcsRawEmailContentMetadata"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.McsRawEmailContentMetadata CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.McsRawEmailContentMetadata(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/MesRawEmailContentMetadata.cs b/src/Microsoft.Graph/Generated/Models/Security/MesRawEmailContentMetadata.cs new file mode 100644 index 000000000000..4b32cdc9eeab --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/MesRawEmailContentMetadata.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for MES Raw Email Content Metadata events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MesRawEmailContentMetadata : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public MesRawEmailContentMetadata() : base() + { + OdataType = "#microsoft.graph.security.mesRawEmailContentMetadata"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.MesRawEmailContentMetadata CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.MesRawEmailContentMetadata(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/MicrosoftSecurityForAiConfiguration.cs b/src/Microsoft.Graph/Generated/Models/Security/MicrosoftSecurityForAiConfiguration.cs new file mode 100644 index 000000000000..93602a48ae50 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/MicrosoftSecurityForAiConfiguration.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Microsoft Security for AI Configuration events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftSecurityForAiConfiguration : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public MicrosoftSecurityForAiConfiguration() : base() + { + OdataType = "#microsoft.graph.security.microsoftSecurityForAiConfiguration"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.MicrosoftSecurityForAiConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.MicrosoftSecurityForAiConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/MicrosoftSecurityForAiRealTimeProtection.cs b/src/Microsoft.Graph/Generated/Models/Security/MicrosoftSecurityForAiRealTimeProtection.cs new file mode 100644 index 000000000000..b6b2f35c5764 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/MicrosoftSecurityForAiRealTimeProtection.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Microsoft Security for AI Real-Time Protection events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftSecurityForAiRealTimeProtection : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public MicrosoftSecurityForAiRealTimeProtection() : base() + { + OdataType = "#microsoft.graph.security.microsoftSecurityForAiRealTimeProtection"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.MicrosoftSecurityForAiRealTimeProtection CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.MicrosoftSecurityForAiRealTimeProtection(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/MicrosoftTeamsMoveMessages.cs b/src/Microsoft.Graph/Generated/Models/Security/MicrosoftTeamsMoveMessages.cs new file mode 100644 index 000000000000..68108b9d0962 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/MicrosoftTeamsMoveMessages.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Microsoft Teams Move Messages events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftTeamsMoveMessages : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public MicrosoftTeamsMoveMessages() : base() + { + OdataType = "#microsoft.graph.security.microsoftTeamsMoveMessages"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.MicrosoftTeamsMoveMessages CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.MicrosoftTeamsMoveMessages(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/MtpContentMetadata.cs b/src/Microsoft.Graph/Generated/Models/Security/MtpContentMetadata.cs new file mode 100644 index 000000000000..a8a9db40ea87 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/MtpContentMetadata.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for MTP Content Metadata events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MtpContentMetadata : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public MtpContentMetadata() : base() + { + OdataType = "#microsoft.graph.security.mtpContentMetadata"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.MtpContentMetadata CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.MtpContentMetadata(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/OnDemandExchangeClassification.cs b/src/Microsoft.Graph/Generated/Models/Security/OnDemandExchangeClassification.cs new file mode 100644 index 000000000000..d8ce70f74e10 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/OnDemandExchangeClassification.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for On-Demand Exchange Classification events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OnDemandExchangeClassification : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public OnDemandExchangeClassification() : base() + { + OdataType = "#microsoft.graph.security.onDemandExchangeClassification"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.OnDemandExchangeClassification CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.OnDemandExchangeClassification(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/P4AiDagSitePermissionsRecord.cs b/src/Microsoft.Graph/Generated/Models/Security/P4AiDagSitePermissionsRecord.cs new file mode 100644 index 000000000000..65ba3916140f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/P4AiDagSitePermissionsRecord.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for P4 AI DAG Site Permissions events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class P4AiDagSitePermissionsRecord : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public P4AiDagSitePermissionsRecord() : base() + { + OdataType = "#microsoft.graph.security.p4AiDagSitePermissionsRecord"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.P4AiDagSitePermissionsRecord CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.P4AiDagSitePermissionsRecord(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/PeopleSkillsAdmin.cs b/src/Microsoft.Graph/Generated/Models/Security/PeopleSkillsAdmin.cs new file mode 100644 index 000000000000..bccf1f021a21 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/PeopleSkillsAdmin.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for People Skills Admin events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PeopleSkillsAdmin : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public PeopleSkillsAdmin() : base() + { + OdataType = "#microsoft.graph.security.peopleSkillsAdmin"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.PeopleSkillsAdmin CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.PeopleSkillsAdmin(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/PeopleSkillsUser.cs b/src/Microsoft.Graph/Generated/Models/Security/PeopleSkillsUser.cs new file mode 100644 index 000000000000..e7a747a2422c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/PeopleSkillsUser.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for People Skills User events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PeopleSkillsUser : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public PeopleSkillsUser() : base() + { + OdataType = "#microsoft.graph.security.peopleSkillsUser"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.PeopleSkillsUser CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.PeopleSkillsUser(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/PlannerCustomFieldDefinition.cs b/src/Microsoft.Graph/Generated/Models/Security/PlannerCustomFieldDefinition.cs new file mode 100644 index 000000000000..6a8b4585d5ea --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/PlannerCustomFieldDefinition.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Planner Custom Field Definition events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerCustomFieldDefinition : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public PlannerCustomFieldDefinition() : base() + { + OdataType = "#microsoft.graph.security.plannerCustomFieldDefinition"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.PlannerCustomFieldDefinition CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.PlannerCustomFieldDefinition(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/PlannerCustomFieldDefinitionList.cs b/src/Microsoft.Graph/Generated/Models/Security/PlannerCustomFieldDefinitionList.cs new file mode 100644 index 000000000000..2b1af96a9215 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/PlannerCustomFieldDefinitionList.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Planner Custom Field Definition List events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerCustomFieldDefinitionList : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public PlannerCustomFieldDefinitionList() : base() + { + OdataType = "#microsoft.graph.security.plannerCustomFieldDefinitionList"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.PlannerCustomFieldDefinitionList CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.PlannerCustomFieldDefinitionList(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/PlannerDependency.cs b/src/Microsoft.Graph/Generated/Models/Security/PlannerDependency.cs new file mode 100644 index 000000000000..901e8bc1de9b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/PlannerDependency.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Planner Dependency events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerDependency : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public PlannerDependency() : base() + { + OdataType = "#microsoft.graph.security.plannerDependency"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.PlannerDependency CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.PlannerDependency(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/PlannerDependencyList.cs b/src/Microsoft.Graph/Generated/Models/Security/PlannerDependencyList.cs new file mode 100644 index 000000000000..b99e657c0ad2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/PlannerDependencyList.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Planner Dependency List events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerDependencyList : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public PlannerDependencyList() : base() + { + OdataType = "#microsoft.graph.security.plannerDependencyList"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.PlannerDependencyList CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.PlannerDependencyList(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/SharePointFileArchivePolicy.cs b/src/Microsoft.Graph/Generated/Models/Security/SharePointFileArchivePolicy.cs new file mode 100644 index 000000000000..bce9c990c31f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/SharePointFileArchivePolicy.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for SharePoint File Archive Policy events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointFileArchivePolicy : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public SharePointFileArchivePolicy() : base() + { + OdataType = "#microsoft.graph.security.sharePointFileArchivePolicy"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.SharePointFileArchivePolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.SharePointFileArchivePolicy(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/SyntheticMediaDetectionEvent.cs b/src/Microsoft.Graph/Generated/Models/Security/SyntheticMediaDetectionEvent.cs new file mode 100644 index 000000000000..43fcbd8308d7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/SyntheticMediaDetectionEvent.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Synthetic Media Detection events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SyntheticMediaDetectionEvent : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public SyntheticMediaDetectionEvent() : base() + { + OdataType = "#microsoft.graph.security.syntheticMediaDetectionEvent"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.SyntheticMediaDetectionEvent CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.SyntheticMediaDetectionEvent(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/UniversalPrintSecureScan.cs b/src/Microsoft.Graph/Generated/Models/Security/UniversalPrintSecureScan.cs new file mode 100644 index 000000000000..a4ced33d41e5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/UniversalPrintSecureScan.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Universal Print Secure Scan events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UniversalPrintSecureScan : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public UniversalPrintSecureScan() : base() + { + OdataType = "#microsoft.graph.security.universalPrintSecureScan"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.UniversalPrintSecureScan CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.UniversalPrintSecureScan(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/VivaGlintClientConfiguration.cs b/src/Microsoft.Graph/Generated/Models/Security/VivaGlintClientConfiguration.cs new file mode 100644 index 000000000000..6c5d377e9e60 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/VivaGlintClientConfiguration.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Viva Glint Client Configuration events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VivaGlintClientConfiguration : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public VivaGlintClientConfiguration() : base() + { + OdataType = "#microsoft.graph.security.vivaGlintClientConfiguration"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.VivaGlintClientConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.VivaGlintClientConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/VivaGlintDataRetention.cs b/src/Microsoft.Graph/Generated/Models/Security/VivaGlintDataRetention.cs new file mode 100644 index 000000000000..e4817dfde987 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/VivaGlintDataRetention.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Viva Glint Data Retention events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VivaGlintDataRetention : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public VivaGlintDataRetention() : base() + { + OdataType = "#microsoft.graph.security.vivaGlintDataRetention"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.VivaGlintDataRetention CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.VivaGlintDataRetention(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/VivaGlintVivaInsightsIntegration.cs b/src/Microsoft.Graph/Generated/Models/Security/VivaGlintVivaInsightsIntegration.cs new file mode 100644 index 000000000000..67036de0b58d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/VivaGlintVivaInsightsIntegration.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Viva Glint Viva Insights Integration events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VivaGlintVivaInsightsIntegration : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public VivaGlintVivaInsightsIntegration() : base() + { + OdataType = "#microsoft.graph.security.vivaGlintVivaInsightsIntegration"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.VivaGlintVivaInsightsIntegration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.VivaGlintVivaInsightsIntegration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/WorkIQAdminActivity.cs b/src/Microsoft.Graph/Generated/Models/Security/WorkIQAdminActivity.cs new file mode 100644 index 000000000000..d47c559f46df --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/WorkIQAdminActivity.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// Audit data for Work IQ Admin Activity events. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkIQAdminActivity : global::Microsoft.Graph.Beta.Models.Security.AuditData, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public WorkIQAdminActivity() : base() + { + OdataType = "#microsoft.graph.security.workIQAdminActivity"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.WorkIQAdminActivity CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.WorkIQAdminActivity(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/Workbook.cs b/src/Microsoft.Graph/Generated/Models/Security/Workbook.cs new file mode 100644 index 000000000000..830cc7af6cdc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/Workbook.cs @@ -0,0 +1,148 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// A tenant-scoped Microsoft Security workbook containing a display name and arbitrary JSON content. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Workbook : global::Microsoft.Graph.Beta.Models.Entity, IParsable + { + /// The workbook's JSON document. Required when creating or replacing a workbook. Supply a JSON object, not a JSON-encoded string. Replaced as a whole on update. Omitted from collection responses by default; use $select to include it. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Security.WorkbookContent? Content + { + get { return BackingStore?.Get("content"); } + set { BackingStore?.Set("content", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Security.WorkbookContent Content + { + get { return BackingStore?.Get("content"); } + set { BackingStore?.Set("content", value); } + } +#endif + /// The date and time when the workbook was created. Set by the service and preserved on update. Read-only. + public DateTimeOffset? CreatedAtDateTime + { + get { return BackingStore?.Get("createdAtDateTime"); } + set { BackingStore?.Set("createdAtDateTime", value); } + } + /// The user principal name recorded when the workbook was created. Set by the service and preserved on update. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CreatedByUpn + { + get { return BackingStore?.Get("createdByUpn"); } + set { BackingStore?.Set("createdByUpn", value); } + } +#nullable restore +#else + public string CreatedByUpn + { + get { return BackingStore?.Get("createdByUpn"); } + set { BackingStore?.Set("createdByUpn", value); } + } +#endif + /// The opaque concurrency token derived from the workbook's storage ETag. Set by the service. Read-only. For conditional updates, use the value returned in the HTTP ETag response header. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Etag + { + get { return BackingStore?.Get("etag"); } + set { BackingStore?.Set("etag", value); } + } +#nullable restore +#else + public string Etag + { + get { return BackingStore?.Get("etag"); } + set { BackingStore?.Set("etag", value); } + } +#endif + /// The user principal name recorded for the most recent update. Set by the service. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LastUpdatedByUpn + { + get { return BackingStore?.Get("lastUpdatedByUpn"); } + set { BackingStore?.Set("lastUpdatedByUpn", value); } + } +#nullable restore +#else + public string LastUpdatedByUpn + { + get { return BackingStore?.Get("lastUpdatedByUpn"); } + set { BackingStore?.Set("lastUpdatedByUpn", value); } + } +#endif + /// The display name of the workbook. Required when creating or replacing a workbook. Maximum length is 256 characters. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#nullable restore +#else + public string Name + { + get { return BackingStore?.Get("name"); } + set { BackingStore?.Set("name", value); } + } +#endif + /// The date and time of the most recent update. Set by the service. Read-only. + public DateTimeOffset? UpdatedAtDateTime + { + get { return BackingStore?.Get("updatedAtDateTime"); } + set { BackingStore?.Set("updatedAtDateTime", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.Workbook CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.Workbook(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "content", n => { Content = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Security.WorkbookContent.CreateFromDiscriminatorValue); } }, + { "createdAtDateTime", n => { CreatedAtDateTime = n.GetDateTimeOffsetValue(); } }, + { "createdByUpn", n => { CreatedByUpn = n.GetStringValue(); } }, + { "etag", n => { Etag = n.GetStringValue(); } }, + { "lastUpdatedByUpn", n => { LastUpdatedByUpn = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "updatedAtDateTime", n => { UpdatedAtDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("content", Content); + writer.WriteStringValue("name", Name); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/WorkbookCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/Security/WorkbookCollectionResponse.cs new file mode 100644 index 000000000000..cd16b556103e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/WorkbookCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WorkbookCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.WorkbookCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.WorkbookCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Security.Workbook.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/WorkbookContent.cs b/src/Microsoft.Graph/Generated/Models/Security/WorkbookContent.cs new file mode 100644 index 000000000000..57fb5f715d81 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/WorkbookContent.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Security +{ + /// + /// An open dictionary containing the workbook JSON document. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkbookContent : global::Microsoft.Graph.Beta.Models.Dictionary, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public WorkbookContent() : base() + { + OdataType = "#microsoft.graph.security.workbookContent"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.Security.WorkbookContent CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Security.WorkbookContent(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SelectedGroupsSpendingPolicy.cs b/src/Microsoft.Graph/Generated/Models/SelectedGroupsSpendingPolicy.cs new file mode 100644 index 000000000000..ed50d49775a5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SelectedGroupsSpendingPolicy.cs @@ -0,0 +1,72 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// A spending policy that governs only the users in its assigned groups. Omitting assignedGroupsor supplying an empty collection creates a disabled policy that is not enforced. The policytakes effect after at least one valid group is assigned and its other requirements are satisfied. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SelectedGroupsSpendingPolicy : global::Microsoft.Graph.Beta.Models.SpendingPolicy, IParsable + { + /// The groups the policy is assigned to. On create, omit this property or supply an emptycollection to create a disabled policy. Add the first group later through theassignedGroups/$ref operation to activate the policy when its other requirements are satisfied. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AssignedGroups + { + get { return BackingStore?.Get?>("assignedGroups"); } + set { BackingStore?.Set("assignedGroups", value); } + } +#nullable restore +#else + public List AssignedGroups + { + get { return BackingStore?.Get>("assignedGroups"); } + set { BackingStore?.Set("assignedGroups", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SelectedGroupsSpendingPolicy() : base() + { + OdataType = "#microsoft.graph.selectedGroupsSpendingPolicy"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.SelectedGroupsSpendingPolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.SelectedGroupsSpendingPolicy(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "assignedGroups", n => { AssignedGroups = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Group.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("assignedGroups", AssignedGroups); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SelectionDataStatus.cs b/src/Microsoft.Graph/Generated/Models/SelectionDataStatus.cs new file mode 100644 index 000000000000..a500f5505431 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SelectionDataStatus.cs @@ -0,0 +1,114 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// Freshness of each source that contributed to a computed balance or selection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SelectionDataStatus : IAdditionalDataHolder, IBackedModel, IParsable + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// When the result was evaluated. Always present. + public DateTimeOffset? EvaluatedDateTime + { + get { return BackingStore?.Get("evaluatedDateTime"); } + set { BackingStore?.Set("evaluatedDateTime", value); } + } + /// As-of time of the group membership used. + public DateTimeOffset? GroupMembershipAsOfDateTime + { + get { return BackingStore?.Get("groupMembershipAsOfDateTime"); } + set { BackingStore?.Set("groupMembershipAsOfDateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// As-of time of the policy configuration used. + public DateTimeOffset? PolicyConfigurationAsOfDateTime + { + get { return BackingStore?.Get("policyConfigurationAsOfDateTime"); } + set { BackingStore?.Set("policyConfigurationAsOfDateTime", value); } + } + /// As-of time of the usage data used. Omitted when no usage read was performed. + public DateTimeOffset? UsageAsOfDateTime + { + get { return BackingStore?.Get("usageAsOfDateTime"); } + set { BackingStore?.Set("usageAsOfDateTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SelectionDataStatus() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.SelectionDataStatus CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.SelectionDataStatus(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "evaluatedDateTime", n => { EvaluatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "groupMembershipAsOfDateTime", n => { GroupMembershipAsOfDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "policyConfigurationAsOfDateTime", n => { PolicyConfigurationAsOfDateTime = n.GetDateTimeOffsetValue(); } }, + { "usageAsOfDateTime", n => { UsageAsOfDateTime = n.GetDateTimeOffsetValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteDateTimeOffsetValue("evaluatedDateTime", EvaluatedDateTime); + writer.WriteDateTimeOffsetValue("groupMembershipAsOfDateTime", GroupMembershipAsOfDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteDateTimeOffsetValue("policyConfigurationAsOfDateTime", PolicyConfigurationAsOfDateTime); + writer.WriteDateTimeOffsetValue("usageAsOfDateTime", UsageAsOfDateTime); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs index 49f96c02d938..8d8aeb6b9df0 100644 --- a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs +++ b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs @@ -1,5 +1,6 @@ // #pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using System.Collections.Generic; @@ -467,6 +468,22 @@ public bool? IsDisabled get { return BackingStore?.Get>("licenseDetails"); } set { BackingStore?.Set("licenseDetails", value); } } +#endif + /// The lifecycle governance state of the agent identity backed by this service principal. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle? Lifecycle + { + get { return BackingStore?.Get("lifecycle"); } + set { BackingStore?.Set("lifecycle", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle Lifecycle + { + get { return BackingStore?.Get("lifecycle"); } + set { BackingStore?.Set("lifecycle", value); } + } #endif /// 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. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -990,6 +1007,7 @@ public override IDictionary> GetFieldDeserializers() { "isDisabled", n => { IsDisabled = n.GetBoolValue(); } }, { "keyCredentials", n => { KeyCredentials = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.KeyCredential.CreateFromDiscriminatorValue)?.AsList(); } }, { "licenseDetails", n => { LicenseDetails = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.LicenseDetails.CreateFromDiscriminatorValue)?.AsList(); } }, + { "lifecycle", n => { Lifecycle = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle.CreateFromDiscriminatorValue); } }, { "loginUrl", n => { LoginUrl = n.GetStringValue(); } }, { "logoutUrl", n => { LogoutUrl = n.GetStringValue(); } }, { "memberOf", n => { MemberOf = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -1061,6 +1079,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteBoolValue("isDisabled", IsDisabled); writer.WriteCollectionOfObjectValues("keyCredentials", KeyCredentials); writer.WriteCollectionOfObjectValues("licenseDetails", LicenseDetails); + writer.WriteObjectValue("lifecycle", Lifecycle); writer.WriteStringValue("loginUrl", LoginUrl); writer.WriteStringValue("logoutUrl", LogoutUrl); writer.WriteCollectionOfObjectValues("memberOf", MemberOf); diff --git a/src/Microsoft.Graph/Generated/Models/ServiceSettingState.cs b/src/Microsoft.Graph/Generated/Models/ServiceSettingState.cs new file mode 100644 index 000000000000..aa18de2e4cfe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ServiceSettingState.cs @@ -0,0 +1,20 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// Desired state of a governed service within a spending policy. + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public enum ServiceSettingState + { + /// The service is governed by the policy. + [EnumMember(Value = "enabled")] + Enabled, + /// The service is excluded from the policy. + [EnumMember(Value = "disabled")] + Disabled, + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/SpendingPolicy.cs b/src/Microsoft.Graph/Generated/Models/SpendingPolicy.cs new file mode 100644 index 000000000000..179268d31d93 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SpendingPolicy.cs @@ -0,0 +1,209 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// A policy that governs Copilot Credits consumption for an audience. Every policy is one ofits derived types, identified by @odata.type on create. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SpendingPolicy : global::Microsoft.Graph.Beta.Models.Entity, IParsable + { + /// How Copilot consumption is billed when more than one method may apply. This is a flags enum,so combined values such as prepaidCredits,payAsYouGo are valid. + public global::Microsoft.Graph.Beta.Models.CostManagementBillingMethods? BillingMethods + { + get { return BackingStore?.Get("billingMethods"); } + set { BackingStore?.Set("billingMethods", value); } + } + /// The createdBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// When the policy was created. Read-only. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The policy display name. Must be 10-64 characters, letters, digits, and spaces only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Notify-only email threshold configuration for the policy. Alerts are delivered by emailonly. Addressed beneath the policy rather than returned inline in the policy response. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CostManagementAlertSetting? EmailThresholdSettings + { + get { return BackingStore?.Get("emailThresholdSettings"); } + set { BackingStore?.Set("emailThresholdSettings", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CostManagementAlertSetting EmailThresholdSettings + { + get { return BackingStore?.Get("emailThresholdSettings"); } + set { BackingStore?.Set("emailThresholdSettings", value); } + } +#endif + /// The lastModifiedBy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#endif + /// When the policy was last modified. Read-only. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// A unit-bearing quantity that is either limited to a value or unlimited. Every quantity isone of its derived types, identified by @odata.type on create. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CostManagementQuantity? PeriodLimit + { + get { return BackingStore?.Get("periodLimit"); } + set { BackingStore?.Set("periodLimit", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CostManagementQuantity PeriodLimit + { + get { return BackingStore?.Get("periodLimit"); } + set { BackingStore?.Set("periodLimit", value); } + } +#endif + /// A unit-bearing quantity that is either limited to a value or unlimited. Every quantity isone of its derived types, identified by @odata.type on create. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CostManagementQuantity? PerUserLimit + { + get { return BackingStore?.Get("perUserLimit"); } + set { BackingStore?.Set("perUserLimit", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CostManagementQuantity PerUserLimit + { + get { return BackingStore?.Get("perUserLimit"); } + set { BackingStore?.Set("perUserLimit", value); } + } +#endif + /// Per-service settings contained by the policy. Add a service with POST; remove one bysetting its state to disabled, which retains the entry in that state. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ServiceSettings + { + get { return BackingStore?.Get?>("serviceSettings"); } + set { BackingStore?.Set("serviceSettings", value); } + } +#nullable restore +#else + public List ServiceSettings + { + get { return BackingStore?.Get>("serviceSettings"); } + set { BackingStore?.Set("serviceSettings", value); } + } +#endif + /// Lifecycle status of a spending policy. + public global::Microsoft.Graph.Beta.Models.SpendingPolicyStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.SpendingPolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.allUsersSpendingPolicy" => new global::Microsoft.Graph.Beta.Models.AllUsersSpendingPolicy(), + "#microsoft.graph.selectedGroupsSpendingPolicy" => new global::Microsoft.Graph.Beta.Models.SelectedGroupsSpendingPolicy(), + _ => new global::Microsoft.Graph.Beta.Models.SpendingPolicy(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "billingMethods", n => { BillingMethods = n.GetEnumValue(); } }, + { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "emailThresholdSettings", n => { EmailThresholdSettings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CostManagementAlertSetting.CreateFromDiscriminatorValue); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "perUserLimit", n => { PerUserLimit = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CostManagementQuantity.CreateFromDiscriminatorValue); } }, + { "periodLimit", n => { PeriodLimit = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CostManagementQuantity.CreateFromDiscriminatorValue); } }, + { "serviceSettings", n => { ServiceSettings = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.SpendingPolicyServiceSetting.CreateFromDiscriminatorValue)?.AsList(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteEnumValue("billingMethods", BillingMethods); + writer.WriteObjectValue("createdBy", CreatedBy); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteObjectValue("emailThresholdSettings", EmailThresholdSettings); + writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); + writer.WriteObjectValue("periodLimit", PeriodLimit); + writer.WriteObjectValue("perUserLimit", PerUserLimit); + writer.WriteCollectionOfObjectValues("serviceSettings", ServiceSettings); + writer.WriteEnumValue("status", Status); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SpendingPolicyServiceSetting.cs b/src/Microsoft.Graph/Generated/Models/SpendingPolicyServiceSetting.cs new file mode 100644 index 000000000000..bd5b9c7072b3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SpendingPolicyServiceSetting.cs @@ -0,0 +1,133 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// Desired governance state for a single service within a spending policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SpendingPolicyServiceSetting : IAdditionalDataHolder, IBackedModel, IParsable + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The containing policy's ETag. Use this value in If-Match for concurrency control onservice-setting changes. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ParentEtag + { + get { return BackingStore?.Get("parentEtag"); } + set { BackingStore?.Set("parentEtag", value); } + } +#nullable restore +#else + public string ParentEtag + { + get { return BackingStore?.Get("parentEtag"); } + set { BackingStore?.Set("parentEtag", value); } + } +#endif + /// Lifecycle status of a spending policy. + public global::Microsoft.Graph.Beta.Models.SpendingPolicyStatus? ParentStatus + { + get { return BackingStore?.Get("parentStatus"); } + set { BackingStore?.Set("parentStatus", value); } + } + /// The identifier of the AI service this setting governs, such as cowork or workIQ. Severalbillable services can share one identifier and are governed together. Discover validvalues from the service catalog using a category identifier, not the catalog entry'sown id. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ServiceId + { + get { return BackingStore?.Get("serviceId"); } + set { BackingStore?.Set("serviceId", value); } + } +#nullable restore +#else + public string ServiceId + { + get { return BackingStore?.Get("serviceId"); } + set { BackingStore?.Set("serviceId", value); } + } +#endif + /// Desired state of a governed service within a spending policy. + public global::Microsoft.Graph.Beta.Models.ServiceSettingState? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public SpendingPolicyServiceSetting() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.SpendingPolicyServiceSetting CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.SpendingPolicyServiceSetting(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "parentEtag", n => { ParentEtag = n.GetStringValue(); } }, + { "parentStatus", n => { ParentStatus = n.GetEnumValue(); } }, + { "serviceId", n => { ServiceId = n.GetStringValue(); } }, + { "state", n => { State = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("parentStatus", ParentStatus); + writer.WriteStringValue("serviceId", ServiceId); + writer.WriteEnumValue("state", State); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SpendingPolicyStatus.cs b/src/Microsoft.Graph/Generated/Models/SpendingPolicyStatus.cs new file mode 100644 index 000000000000..f21575066fc6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SpendingPolicyStatus.cs @@ -0,0 +1,26 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// Lifecycle status of a spending policy. + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public enum SpendingPolicyStatus + { + /// The policy is active and enforced. + [EnumMember(Value = "enabled")] + Enabled, + /// The policy is not enforced. This is the initial state of a newly created policy. A policyis also disabled when every group assigned to it has been deleted, or when the servicedisables it in response to a change in the tenant's subscription. + [EnumMember(Value = "disabled")] + Disabled, + /// The policy is being created or transitioned; group links and validation are in progress. + [EnumMember(Value = "provisioning")] + Provisioning, + /// The most recent provisioning attempt failed; the policy is not enforced. + [EnumMember(Value = "provisioningFailed")] + ProvisioningFailed, + /// A marker value for members added after the release of this API. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue, + } +} diff --git a/src/Microsoft.Graph/Generated/Models/SubjectSet.cs b/src/Microsoft.Graph/Generated/Models/SubjectSet.cs index 9ac0aeee3ed5..fa40cabc6f43 100644 --- a/src/Microsoft.Graph/Generated/Models/SubjectSet.cs +++ b/src/Microsoft.Graph/Generated/Models/SubjectSet.cs @@ -57,8 +57,12 @@ public SubjectSet() var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); return mappingValue switch { + "#microsoft.graph.identityGovernance.allExcludingAgentBuilderPlatformsSubjectSet" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AllExcludingAgentBuilderPlatformsSubjectSet(), + "#microsoft.graph.identityGovernance.allExcludingGroupsSubjectSet" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AllExcludingGroupsSubjectSet(), + "#microsoft.graph.identityGovernance.allExcludingSpecificObjectsSubjectSet" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.AllExcludingSpecificObjectsSubjectSet(), "#microsoft.graph.identityGovernance.groupBasedSubjectSet" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.GroupBasedSubjectSet(), "#microsoft.graph.identityGovernance.ruleBasedSubjectSet" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.RuleBasedSubjectSet(), + "#microsoft.graph.identityGovernance.selectedObjectsSubjectSet" => new global::Microsoft.Graph.Beta.Models.IdentityGovernance.SelectedObjectsSubjectSet(), _ => new global::Microsoft.Graph.Beta.Models.SubjectSet(), }; } diff --git a/src/Microsoft.Graph/Generated/Models/TaskCapability.cs b/src/Microsoft.Graph/Generated/Models/TaskCapability.cs new file mode 100644 index 000000000000..cc22d6438b09 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TaskCapability.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TaskCapability : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Indicates whether assigned priority is shown in the task's personal view. + public bool? AssignedPriorityForTaskPersonalView + { + get { return BackingStore?.Get("assignedPriorityForTaskPersonalView"); } + set { BackingStore?.Set("assignedPriorityForTaskPersonalView", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates whether dependencies are enabled for the task. + public bool? Dependencies + { + get { return BackingStore?.Get("dependencies"); } + set { BackingStore?.Set("dependencies", value); } + } + /// Indicates whether history tracking is enabled for the task. + public bool? History + { + get { return BackingStore?.Get("history"); } + set { BackingStore?.Set("history", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TaskCapability() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.TaskCapability CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.TaskCapability(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "assignedPriorityForTaskPersonalView", n => { AssignedPriorityForTaskPersonalView = n.GetBoolValue(); } }, + { "dependencies", n => { Dependencies = n.GetBoolValue(); } }, + { "history", n => { History = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("assignedPriorityForTaskPersonalView", AssignedPriorityForTaskPersonalView); + writer.WriteBoolValue("dependencies", Dependencies); + writer.WriteBoolValue("history", History); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TaskCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/TaskCollectionResponse.cs new file mode 100644 index 000000000000..6c229b0479d8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TaskCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TaskCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.TaskCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.TaskCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.TaskObject.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TaskObject.cs b/src/Microsoft.Graph/Generated/Models/TaskObject.cs new file mode 100644 index 000000000000..bcbae78bccd7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TaskObject.cs @@ -0,0 +1,522 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TaskObject : global::Microsoft.Graph.Beta.Models.PlannerDelta, IParsable + #pragma warning restore CS1591 + { + /// Information about whether the entity is archived, and when it was archived. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.PlannerArchivalInfo? ArchivalInfo + { + get { return BackingStore?.Get("archivalInfo"); } + set { BackingStore?.Set("archivalInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.PlannerArchivalInfo ArchivalInfo + { + get { return BackingStore?.Get("archivalInfo"); } + set { BackingStore?.Set("archivalInfo", value); } + } +#endif + /// ID of the bucket that the task belongs to. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BucketId + { + get { return BackingStore?.Get("bucketId"); } + set { BackingStore?.Set("bucketId", value); } + } +#nullable restore +#else + public string BucketId + { + get { return BackingStore?.Get("bucketId"); } + set { BackingStore?.Set("bucketId", value); } + } +#endif + /// Server-computed, read-only capability flags indicating which optional features are enabled for the entity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.TaskCapability? Capabilities + { + get { return BackingStore?.Get("capabilities"); } + set { BackingStore?.Set("capabilities", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.TaskCapability Capabilities + { + get { return BackingStore?.Get("capabilities"); } + set { BackingStore?.Set("capabilities", value); } + } +#endif + /// The collection of checklist items on the task. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Checklist + { + get { return BackingStore?.Get?>("checklist"); } + set { BackingStore?.Set("checklist", value); } + } +#nullable restore +#else + public List Checklist + { + get { return BackingStore?.Get>("checklist"); } + set { BackingStore?.Set("checklist", value); } + } +#endif + /// Identity of the user who marked the task complete. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? CompletedBy + { + get { return BackingStore?.Get("completedBy"); } + set { BackingStore?.Set("completedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet CompletedBy + { + get { return BackingStore?.Get("completedBy"); } + set { BackingStore?.Set("completedBy", value); } + } +#endif + /// Date and time the task was completed. + public DateTimeOffset? CompletedDateTime + { + get { return BackingStore?.Get("completedDateTime"); } + set { BackingStore?.Set("completedDateTime", value); } + } + /// Read-only creation metadata for the entity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.CreationInfo? CreationInfo + { + get { return BackingStore?.Get("creationInfo"); } + set { BackingStore?.Set("creationInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.CreationInfo CreationInfo + { + get { return BackingStore?.Get("creationInfo"); } + set { BackingStore?.Set("creationInfo", value); } + } +#endif + /// The collection of custom field values set on the task. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CustomFieldValues + { + get { return BackingStore?.Get?>("customFieldValues"); } + set { BackingStore?.Set("customFieldValues", value); } + } +#nullable restore +#else + public List CustomFieldValues + { + get { return BackingStore?.Get>("customFieldValues"); } + set { BackingStore?.Set("customFieldValues", value); } + } +#endif + /// Title of the task. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// Date and, optionally, time the task is due. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.DateWithOptionalTime? DueDateTime + { + get { return BackingStore?.Get("dueDateTime"); } + set { BackingStore?.Set("dueDateTime", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.DateWithOptionalTime DueDateTime + { + get { return BackingStore?.Get("dueDateTime"); } + set { BackingStore?.Set("dueDateTime", value); } + } +#endif + /// Custom extension field values set on the entity. Supports $select. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection? Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#endif + /// Date and, optionally, time the task was finished. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.DateWithOptionalTime? FinishDateTime + { + get { return BackingStore?.Get("finishDateTime"); } + set { BackingStore?.Set("finishDateTime", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.DateWithOptionalTime FinishDateTime + { + get { return BackingStore?.Get("finishDateTime"); } + set { BackingStore?.Set("finishDateTime", value); } + } +#endif + /// IDs of the goals that the task is associated with. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? GoalIds + { + get { return BackingStore?.Get?>("goalIds"); } + set { BackingStore?.Set("goalIds", value); } + } +#nullable restore +#else + public List GoalIds + { + get { return BackingStore?.Get>("goalIds"); } + set { BackingStore?.Set("goalIds", value); } + } +#endif + /// Indicates whether the task has an associated chat. + public bool? HasChat + { + get { return BackingStore?.Get("hasChat"); } + set { BackingStore?.Set("hasChat", value); } + } + /// Indicates whether the task has subtasks. + public bool? HasChildren + { + get { return BackingStore?.Get("hasChildren"); } + set { BackingStore?.Set("hasChildren", value); } + } + /// Indicates whether the task is on the critical path, as computed from its dependencies. + public bool? IsCritical + { + get { return BackingStore?.Get("isCritical"); } + set { BackingStore?.Set("isCritical", value); } + } + /// Identity of the user (or application) who last modified the entity. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet LastModifiedBy + { + get { return BackingStore?.Get("lastModifiedBy"); } + set { BackingStore?.Set("lastModifiedBy", value); } + } +#endif + /// Date and time the entity was last modified. The value is represented in ISO 8601 format and is always in UTC time. Read-only. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// The collection of content links attached to the task. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Links + { + get { return BackingStore?.Get?>("links"); } + set { BackingStore?.Set("links", value); } + } +#nullable restore +#else + public List Links + { + get { return BackingStore?.Get>("links"); } + set { BackingStore?.Set("links", value); } + } +#endif + /// The collection of chat messages associated with the task. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Messages + { + get { return BackingStore?.Get?>("messages"); } + set { BackingStore?.Set("messages", value); } + } +#nullable restore +#else + public List Messages + { + get { return BackingStore?.Get>("messages"); } + set { BackingStore?.Set("messages", value); } + } +#endif + /// Additional details or notes about the task. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.ItemBody? Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.ItemBody Notes + { + get { return BackingStore?.Get("notes"); } + set { BackingStore?.Set("notes", value); } + } +#endif + /// ID of the parent task, if this task is a subtask. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ParentTaskId + { + get { return BackingStore?.Get("parentTaskId"); } + set { BackingStore?.Set("parentTaskId", value); } + } +#nullable restore +#else + public string ParentTaskId + { + get { return BackingStore?.Get("parentTaskId"); } + set { BackingStore?.Set("parentTaskId", value); } + } +#endif + /// Percentage of the task's completion, ranging from 0 to 100. + public int? PercentComplete + { + get { return BackingStore?.Get("percentComplete"); } + set { BackingStore?.Set("percentComplete", value); } + } + /// Per-user personal view settings for the task, such as My Day membership. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.TaskPersonalView? PersonalView + { + get { return BackingStore?.Get("personalView"); } + set { BackingStore?.Set("personalView", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.TaskPersonalView PersonalView + { + get { return BackingStore?.Get("personalView"); } + set { BackingStore?.Set("personalView", value); } + } +#endif + /// ID of the plan that contains the task. Immutable after creation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PlanId + { + get { return BackingStore?.Get("planId"); } + set { BackingStore?.Set("planId", value); } + } +#nullable restore +#else + public string PlanId + { + get { return BackingStore?.Get("planId"); } + set { BackingStore?.Set("planId", value); } + } +#endif + /// Task view settings scoped to the plan, such as applied category IDs. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.TaskPlanView? PlanView + { + get { return BackingStore?.Get("planView"); } + set { BackingStore?.Set("planView", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.TaskPlanView PlanView + { + get { return BackingStore?.Get("planView"); } + set { BackingStore?.Set("planView", value); } + } +#endif + /// Priority of the task. Supported values range from 0 (urgent) to 10 (low). + public int? Priority + { + get { return BackingStore?.Get("priority"); } + set { BackingStore?.Set("priority", value); } + } + /// Recurrence pattern for the task, if it repeats. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.PlannerTaskRecurrence? Recurrence + { + get { return BackingStore?.Get("recurrence"); } + set { BackingStore?.Set("recurrence", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.PlannerTaskRecurrence Recurrence + { + get { return BackingStore?.Get("recurrence"); } + set { BackingStore?.Set("recurrence", value); } + } +#endif + /// Date and, optionally, time the task is scheduled to start. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.DateWithOptionalTime? StartDateTime + { + get { return BackingStore?.Get("startDateTime"); } + set { BackingStore?.Set("startDateTime", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.DateWithOptionalTime StartDateTime + { + get { return BackingStore?.Get("startDateTime"); } + set { BackingStore?.Set("startDateTime", value); } + } +#endif + /// Indicates progress on the task. The possible values are: notStarted, inProgress, completed, blocked, unknownFutureValue. + public global::Microsoft.Graph.Beta.Models.PlannerTaskStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// The collection of user assignments on the task. Read-only. Nullable. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? UserAssignments + { + get { return BackingStore?.Get?>("userAssignments"); } + set { BackingStore?.Set("userAssignments", value); } + } +#nullable restore +#else + public List UserAssignments + { + get { return BackingStore?.Get>("userAssignments"); } + set { BackingStore?.Set("userAssignments", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.TaskObject CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.TaskObject(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "archivalInfo", n => { ArchivalInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PlannerArchivalInfo.CreateFromDiscriminatorValue); } }, + { "bucketId", n => { BucketId = n.GetStringValue(); } }, + { "capabilities", n => { Capabilities = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.TaskCapability.CreateFromDiscriminatorValue); } }, + { "checklist", n => { Checklist = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ChecklistItemV4.CreateFromDiscriminatorValue)?.AsList(); } }, + { "completedBy", n => { CompletedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "completedDateTime", n => { CompletedDateTime = n.GetDateTimeOffsetValue(); } }, + { "creationInfo", n => { CreationInfo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CreationInfo.CreateFromDiscriminatorValue); } }, + { "customFieldValues", n => { CustomFieldValues = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CustomFieldValue.CreateFromDiscriminatorValue)?.AsList(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "dueDateTime", n => { DueDateTime = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DateWithOptionalTime.CreateFromDiscriminatorValue); } }, + { "extensions", n => { Extensions = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ExtensionFieldCollection.CreateFromDiscriminatorValue); } }, + { "finishDateTime", n => { FinishDateTime = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DateWithOptionalTime.CreateFromDiscriminatorValue); } }, + { "goalIds", n => { GoalIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "hasChat", n => { HasChat = n.GetBoolValue(); } }, + { "hasChildren", n => { HasChildren = n.GetBoolValue(); } }, + { "isCritical", n => { IsCritical = n.GetBoolValue(); } }, + { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "links", n => { Links = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ContentLink.CreateFromDiscriminatorValue)?.AsList(); } }, + { "messages", n => { Messages = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerChatMessage.CreateFromDiscriminatorValue)?.AsList(); } }, + { "notes", n => { Notes = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.ItemBody.CreateFromDiscriminatorValue); } }, + { "parentTaskId", n => { ParentTaskId = n.GetStringValue(); } }, + { "percentComplete", n => { PercentComplete = n.GetIntValue(); } }, + { "personalView", n => { PersonalView = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.TaskPersonalView.CreateFromDiscriminatorValue); } }, + { "planId", n => { PlanId = n.GetStringValue(); } }, + { "planView", n => { PlanView = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.TaskPlanView.CreateFromDiscriminatorValue); } }, + { "priority", n => { Priority = n.GetIntValue(); } }, + { "recurrence", n => { Recurrence = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.PlannerTaskRecurrence.CreateFromDiscriminatorValue); } }, + { "startDateTime", n => { StartDateTime = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DateWithOptionalTime.CreateFromDiscriminatorValue); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "userAssignments", n => { UserAssignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.UserAssignment.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("archivalInfo", ArchivalInfo); + writer.WriteStringValue("bucketId", BucketId); + writer.WriteCollectionOfObjectValues("checklist", Checklist); + writer.WriteObjectValue("completedBy", CompletedBy); + writer.WriteDateTimeOffsetValue("completedDateTime", CompletedDateTime); + writer.WriteCollectionOfObjectValues("customFieldValues", CustomFieldValues); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteObjectValue("dueDateTime", DueDateTime); + writer.WriteObjectValue("extensions", Extensions); + writer.WriteObjectValue("finishDateTime", FinishDateTime); + writer.WriteCollectionOfPrimitiveValues("goalIds", GoalIds); + writer.WriteBoolValue("hasChat", HasChat); + writer.WriteBoolValue("hasChildren", HasChildren); + writer.WriteBoolValue("isCritical", IsCritical); + writer.WriteObjectValue("lastModifiedBy", LastModifiedBy); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteCollectionOfObjectValues("links", Links); + writer.WriteCollectionOfObjectValues("messages", Messages); + writer.WriteObjectValue("notes", Notes); + writer.WriteStringValue("parentTaskId", ParentTaskId); + writer.WriteIntValue("percentComplete", PercentComplete); + writer.WriteObjectValue("personalView", PersonalView); + writer.WriteStringValue("planId", PlanId); + writer.WriteObjectValue("planView", PlanView); + writer.WriteIntValue("priority", Priority); + writer.WriteObjectValue("recurrence", Recurrence); + writer.WriteObjectValue("startDateTime", StartDateTime); + writer.WriteEnumValue("status", Status); + writer.WriteCollectionOfObjectValues("userAssignments", UserAssignments); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TaskPersonalView.cs b/src/Microsoft.Graph/Generated/Models/TaskPersonalView.cs new file mode 100644 index 000000000000..10645eb39fc1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TaskPersonalView.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TaskPersonalView : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates whether the task is included in the user's My Day view. + public bool? IsOnMyDay + { + get { return BackingStore?.Get("isOnMyDay"); } + set { BackingStore?.Set("isOnMyDay", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TaskPersonalView() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.TaskPersonalView CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.TaskPersonalView(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isOnMyDay", n => { IsOnMyDay = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("isOnMyDay", IsOnMyDay); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TaskPlanView.cs b/src/Microsoft.Graph/Generated/Models/TaskPlanView.cs new file mode 100644 index 000000000000..d57281d14f19 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TaskPlanView.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TaskPlanView : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// IDs of the categories applied to the task within this plan. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AppliedCategoryIds + { + get { return BackingStore?.Get?>("appliedCategoryIds"); } + set { BackingStore?.Set("appliedCategoryIds", value); } + } +#nullable restore +#else + public List AppliedCategoryIds + { + get { return BackingStore?.Get>("appliedCategoryIds"); } + set { BackingStore?.Set("appliedCategoryIds", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TaskPlanView() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.TaskPlanView CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.TaskPlanView(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "appliedCategoryIds", n => { AppliedCategoryIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfPrimitiveValues("appliedCategoryIds", AppliedCategoryIds); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/TeamsChannelPlanner.cs b/src/Microsoft.Graph/Generated/Models/TeamsChannelPlanner.cs index 392642844513..4f87d6dd96dc 100644 --- a/src/Microsoft.Graph/Generated/Models/TeamsChannelPlanner.cs +++ b/src/Microsoft.Graph/Generated/Models/TeamsChannelPlanner.cs @@ -27,6 +27,22 @@ public partial class TeamsChannelPlanner : global::Microsoft.Graph.Beta.Models.E get { return BackingStore?.Get>("plans"); } set { BackingStore?.Set("plans", value); } } +#endif + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PlansV2 + { + get { return BackingStore?.Get?>("plans_v2"); } + set { BackingStore?.Set("plans_v2", value); } + } +#nullable restore +#else + public List PlansV2 + { + get { return BackingStore?.Get>("plans_v2"); } + set { BackingStore?.Set("plans_v2", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -47,6 +63,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "plans", n => { Plans = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerPlan.CreateFromDiscriminatorValue)?.AsList(); } }, + { "plans_v2", n => { PlansV2 = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -58,6 +75,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteCollectionOfObjectValues("plans", Plans); + writer.WriteCollectionOfObjectValues("plans_v2", PlansV2); } } } diff --git a/src/Microsoft.Graph/Generated/Models/UnlimitedCostManagementQuantity.cs b/src/Microsoft.Graph/Generated/Models/UnlimitedCostManagementQuantity.cs new file mode 100644 index 000000000000..d024488e43a1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UnlimitedCostManagementQuantity.cs @@ -0,0 +1,54 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// A quantity that is not limited. Carries no numeric value. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnlimitedCostManagementQuantity : global::Microsoft.Graph.Beta.Models.CostManagementQuantity, IParsable + { + /// + /// Instantiates a new and sets the default values. + /// + public UnlimitedCostManagementQuantity() : base() + { + OdataType = "#microsoft.graph.unlimitedCostManagementQuantity"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.UnlimitedCostManagementQuantity CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.UnlimitedCostManagementQuantity(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/User.cs b/src/Microsoft.Graph/Generated/Models/User.cs index 1c741e33c953..21a91b272910 100644 --- a/src/Microsoft.Graph/Generated/Models/User.cs +++ b/src/Microsoft.Graph/Generated/Models/User.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.CloudLicensing; +using Microsoft.Graph.Beta.Models.IdentityGovernance; using Microsoft.Graph.Beta.Models.Security; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -1247,6 +1248,22 @@ public string LegalAgeGroupClassification get { return BackingStore?.Get>("licenseDetails"); } set { BackingStore?.Set("licenseDetails", value); } } +#endif + /// Lifecycle information for the user. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle? Lifecycle + { + get { return BackingStore?.Get("lifecycle"); } + set { BackingStore?.Set("lifecycle", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle Lifecycle + { + get { return BackingStore?.Get("lifecycle"); } + set { BackingStore?.Set("lifecycle", value); } + } #endif /// The SMTP address for the user, for example, admin@contoso.com. Changes to this property also update the user's proxyAddresses collection to include the value as an SMTP address. This property can't contain accent characters. NOTE: We don't recommend updating this property for Azure AD B2C user profiles. Use the otherMails property instead. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -2624,6 +2641,7 @@ public override IDictionary> GetFieldDeserializers() { "legalAgeGroupClassification", n => { LegalAgeGroupClassification = n.GetStringValue(); } }, { "licenseAssignmentStates", n => { LicenseAssignmentStates = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.LicenseAssignmentState.CreateFromDiscriminatorValue)?.AsList(); } }, { "licenseDetails", n => { LicenseDetails = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.LicenseDetails.CreateFromDiscriminatorValue)?.AsList(); } }, + { "lifecycle", n => { Lifecycle = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle.CreateFromDiscriminatorValue); } }, { "mail", n => { Mail = n.GetStringValue(); } }, { "mailFolders", n => { MailFolders = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MailFolder.CreateFromDiscriminatorValue)?.AsList(); } }, { "mailNickname", n => { MailNickname = n.GetStringValue(); } }, @@ -2800,6 +2818,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("legalAgeGroupClassification", LegalAgeGroupClassification); writer.WriteCollectionOfObjectValues("licenseAssignmentStates", LicenseAssignmentStates); writer.WriteCollectionOfObjectValues("licenseDetails", LicenseDetails); + writer.WriteObjectValue("lifecycle", Lifecycle); writer.WriteStringValue("mail", Mail); writer.WriteObjectValue("mailboxSettings", MailboxSettings); writer.WriteCollectionOfObjectValues("mailFolders", MailFolders); diff --git a/src/Microsoft.Graph/Generated/Models/UserAssignment.cs b/src/Microsoft.Graph/Generated/Models/UserAssignment.cs new file mode 100644 index 000000000000..2d474a328cae --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UserAssignment.cs @@ -0,0 +1,107 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UserAssignment : global::Microsoft.Graph.Beta.Models.PlannerDelta, IParsable + #pragma warning restore CS1591 + { + /// Identity of the user (or application) that made the assignment. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.IdentitySet? AssignedBy + { + get { return BackingStore?.Get("assignedBy"); } + set { BackingStore?.Set("assignedBy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.IdentitySet AssignedBy + { + get { return BackingStore?.Get("assignedBy"); } + set { BackingStore?.Set("assignedBy", value); } + } +#endif + /// Date and time the assignment was made. + public DateTimeOffset? AssignedDateTime + { + get { return BackingStore?.Get("assignedDateTime"); } + set { BackingStore?.Set("assignedDateTime", value); } + } + /// Server-computed, read-only capability flags indicating which optional features are enabled for the entity. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.UserAssignmentCapability? Capabilities + { + get { return BackingStore?.Get("capabilities"); } + set { BackingStore?.Set("capabilities", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.UserAssignmentCapability Capabilities + { + get { return BackingStore?.Get("capabilities"); } + set { BackingStore?.Set("capabilities", value); } + } +#endif + /// The user property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Identity? User + { + get { return BackingStore?.Get("user"); } + set { BackingStore?.Set("user", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Identity User + { + get { return BackingStore?.Get("user"); } + set { BackingStore?.Set("user", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.UserAssignment CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.UserAssignment(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "assignedBy", n => { AssignedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, + { "assignedDateTime", n => { AssignedDateTime = n.GetDateTimeOffsetValue(); } }, + { "capabilities", n => { Capabilities = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.UserAssignmentCapability.CreateFromDiscriminatorValue); } }, + { "user", n => { User = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("assignedBy", AssignedBy); + writer.WriteDateTimeOffsetValue("assignedDateTime", AssignedDateTime); + writer.WriteObjectValue("user", User); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/UserAssignmentCapability.cs b/src/Microsoft.Graph/Generated/Models/UserAssignmentCapability.cs new file mode 100644 index 000000000000..5384a8876c82 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UserAssignmentCapability.cs @@ -0,0 +1,89 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UserAssignmentCapability : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates whether custom extension fields are enabled for the user assignment. + public bool? Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public UserAssignmentCapability() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.UserAssignmentCapability CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.UserAssignmentCapability(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "extensions", n => { Extensions = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("extensions", Extensions); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/UserAssignmentCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/UserAssignmentCollectionResponse.cs new file mode 100644 index 000000000000..43f869c307e1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UserAssignmentCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class UserAssignmentCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.Models.UserAssignmentCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.UserAssignmentCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.UserAssignment.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Win32LobAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/Models/Win32LobAppAssignmentSettings.cs index 078ccf9498ef..90bdb1274103 100644 --- a/src/Microsoft.Graph/Generated/Models/Win32LobAppAssignmentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/Win32LobAppAssignmentSettings.cs @@ -50,6 +50,22 @@ public partial class Win32LobAppAssignmentSettings : global::Microsoft.Graph.Bet get { return BackingStore?.Get("installTimeSettings"); } set { BackingStore?.Set("installTimeSettings", value); } } +#endif + /// The in-use deferral and countdown settings for the associated app assignment. These settings are only applied when the app's `installExperience.inUseBehavior` is set to `terminateWithUserInteraction`. When `inUseBehavior` is set to any other value, this property is ignored. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Win32LobAppInUseSettings? InUseSettings + { + get { return BackingStore?.Get("inUseSettings"); } + set { BackingStore?.Set("inUseSettings", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Win32LobAppInUseSettings InUseSettings + { + get { return BackingStore?.Get("inUseSettings"); } + set { BackingStore?.Set("inUseSettings", value); } + } #endif /// Contains value for notification status. public global::Microsoft.Graph.Beta.Models.Win32LobAppNotification? Notifications @@ -105,6 +121,7 @@ public override IDictionary> GetFieldDeserializers() { { "autoUpdateSettings", n => { AutoUpdateSettings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Win32LobAppAutoUpdateSettings.CreateFromDiscriminatorValue); } }, { "deliveryOptimizationPriority", n => { DeliveryOptimizationPriority = n.GetEnumValue(); } }, + { "inUseSettings", n => { InUseSettings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Win32LobAppInUseSettings.CreateFromDiscriminatorValue); } }, { "installTimeSettings", n => { InstallTimeSettings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.MobileAppInstallTimeSettings.CreateFromDiscriminatorValue); } }, { "notifications", n => { Notifications = n.GetEnumValue(); } }, { "restartSettings", n => { RestartSettings = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Win32LobAppRestartSettings.CreateFromDiscriminatorValue); } }, @@ -121,6 +138,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("autoUpdateSettings", AutoUpdateSettings); writer.WriteEnumValue("deliveryOptimizationPriority", DeliveryOptimizationPriority); writer.WriteObjectValue("installTimeSettings", InstallTimeSettings); + writer.WriteObjectValue("inUseSettings", InUseSettings); writer.WriteEnumValue("notifications", Notifications); writer.WriteObjectValue("restartSettings", RestartSettings); } diff --git a/src/Microsoft.Graph/Generated/Models/Win32LobAppInUseSettings.cs b/src/Microsoft.Graph/Generated/Models/Win32LobAppInUseSettings.cs new file mode 100644 index 000000000000..bfc90e597e77 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Win32LobAppInUseSettings.cs @@ -0,0 +1,106 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + /// + /// Contains in-use deferral and prompt countdown settings for Required and Available Win32 app installation assignments. These settings apply only when the app's `installExperience.inUseBehavior` is `terminateWithUserInteraction`. They are not supported for Uninstall assignments. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Win32LobAppInUseSettings : IAdditionalDataHolder, IBackedModel, IParsable + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Indicates the prompt countdown duration in minutes before installation is enforced. For Required assignments, the countdown starts after the final deferral and valid values are 1 to 240 (4 hours). Available assignments require a fixed value of 5. + public int? CountdownMinutes + { + get { return BackingStore?.Get("countdownMinutes"); } + set { BackingStore?.Set("countdownMinutes", value); } + } + /// Indicates the duration in minutes between deferral attempts. For Required assignments, valid values are 1 to 1440 (24 hours). Available assignments require 1 as a fixed placeholder because deferrals are not supported. + public int? MinutesBetweenDeferrals + { + get { return BackingStore?.Get("minutesBetweenDeferrals"); } + set { BackingStore?.Set("minutesBetweenDeferrals", value); } + } + /// Indicates the maximum number of times the user can defer installation. For Required assignments, valid values are 0 to 5. Available assignments require 0. + public int? NumberOfDeferrals + { + get { return BackingStore?.Get("numberOfDeferrals"); } + set { BackingStore?.Set("numberOfDeferrals", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public Win32LobAppInUseSettings() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Win32LobAppInUseSettings CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Win32LobAppInUseSettings(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "countdownMinutes", n => { CountdownMinutes = n.GetIntValue(); } }, + { "minutesBetweenDeferrals", n => { MinutesBetweenDeferrals = n.GetIntValue(); } }, + { "numberOfDeferrals", n => { NumberOfDeferrals = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteIntValue("countdownMinutes", CountdownMinutes); + writer.WriteIntValue("minutesBetweenDeferrals", MinutesBetweenDeferrals); + writer.WriteIntValue("numberOfDeferrals", NumberOfDeferrals); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WorkDayDefaults.cs b/src/Microsoft.Graph/Generated/Models/WorkDayDefaults.cs new file mode 100644 index 000000000000..0dc532b44788 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WorkDayDefaults.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WorkDayDefaults : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Default end time of the working day. + public Time? EndTime + { + get { return BackingStore?.Get("endTime"); } + set { BackingStore?.Set("endTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Default start time of the working day. + public Time? StartTime + { + get { return BackingStore?.Get("startTime"); } + set { BackingStore?.Set("startTime", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public WorkDayDefaults() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.WorkDayDefaults CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.WorkDayDefaults(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "endTime", n => { EndTime = n.GetTimeValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "startTime", n => { StartTime = n.GetTimeValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteTimeValue("endTime", EndTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteTimeValue("startTime", StartTime); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/X509CertificateAuthenticationMethodConfiguration.cs b/src/Microsoft.Graph/Generated/Models/X509CertificateAuthenticationMethodConfiguration.cs index 9c257d7a3456..8eebe66c8fa4 100644 --- a/src/Microsoft.Graph/Generated/Models/X509CertificateAuthenticationMethodConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/X509CertificateAuthenticationMethodConfiguration.cs @@ -92,6 +92,12 @@ public partial class X509CertificateAuthenticationMethodConfiguration : global:: set { BackingStore?.Set("issuerHintsConfiguration", value); } } #endif + /// When set to true, Microsoft Entra ID matches the SID in the Security Identifier (SID) extension or the SAN URI SID value from the user's X.509 certificate to the user's on-premises SID attribute for hybrid users and cloud SID for cloud-only users. Certificate-based authentication fails if the values don't match. The value can't be null. The default value is false. + public bool? RequireCertificateSidAlignment + { + get { return BackingStore?.Get("requireCertificateSidAlignment"); } + set { BackingStore?.Set("requireCertificateSidAlignment", value); } + } /// /// Instantiates a new and sets the default values. /// @@ -122,6 +128,7 @@ public override IDictionary> GetFieldDeserializers() { "certificateUserBindings", n => { CertificateUserBindings = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.X509CertificateUserBinding.CreateFromDiscriminatorValue)?.AsList(); } }, { "includeTargets", n => { IncludeTargets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AuthenticationMethodTarget.CreateFromDiscriminatorValue)?.AsList(); } }, { "issuerHintsConfiguration", n => { IssuerHintsConfiguration = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.X509CertificateIssuerHintsConfiguration.CreateFromDiscriminatorValue); } }, + { "requireCertificateSidAlignment", n => { RequireCertificateSidAlignment = n.GetBoolValue(); } }, }; } /// @@ -137,6 +144,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("certificateUserBindings", CertificateUserBindings); writer.WriteCollectionOfObjectValues("includeTargets", IncludeTargets); writer.WriteObjectValue("issuerHintsConfiguration", IssuerHintsConfiguration); + writer.WriteBoolValue("requireCertificateSidAlignment", RequireCertificateSidAlignment); } } } diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId/GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId/GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponse.cs similarity index 81% rename from src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId/GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse.cs rename to src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId/GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponse.cs index 26934c7faec6..909c256c3095 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId/GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId/GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponse.cs @@ -7,11 +7,11 @@ using System.Collections.Generic; using System.IO; using System; -namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId { [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public partial class GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + public partial class GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable #pragma warning restore CS1591 { /// The value property @@ -33,12 +33,12 @@ public partial class GetDiscoveredApplicationSegmentReportWithStartDateTimeWithE /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse(); + return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponse(); } /// /// The deserialization information for the current model diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId/GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId/GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdResponse.cs similarity index 57% rename from src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId/GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdResponse.cs rename to src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId/GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdResponse.cs index 88512a6a5230..16b74360b6a3 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId/GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdResponse.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId/GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdResponse.cs @@ -5,23 +5,23 @@ using System.Collections.Generic; using System.IO; using System; -namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId { - [Obsolete("This class is obsolete. Use GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse instead.")] + [Obsolete("This class is obsolete. Use GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponse instead.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] #pragma warning disable CS1591 - public partial class GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdResponse : global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse, IParsable + public partial class GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdResponse : global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponse, IParsable #pragma warning restore CS1591 { /// /// Creates a new instance of the appropriate class based on discriminator value /// - /// A + /// A /// The parse node to use to read the discriminator value and create the object - public static new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdResponse CreateFromDiscriminatorValue(IParseNode parseNode) + public static new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdResponse CreateFromDiscriminatorValue(IParseNode parseNode) { if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); - return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdResponse(); + return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdResponse(); } } } diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder.cs similarity index 55% rename from src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder.cs rename to src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder.cs index 73e6ae04ceec..73daa8506f01 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId/MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder.cs @@ -9,49 +9,49 @@ using System.Threading.Tasks; using System.Threading; using System; -namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId +namespace Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId { /// /// Provides operations to call the getDiscoveredApplicationSegmentReport method. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder : BaseRequestBuilder + public partial class MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder : BaseRequestBuilder { /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// Usage: endDateTime={endDateTime} /// Path parameters for the request /// The request adapter to use to execute the requests. /// Usage: startDateTime={startDateTime} - public MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, DateTimeOffset? endDateTime = default, DateTimeOffset? startDateTime = default) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.getDiscoveredApplicationSegmentReport(startDateTime={startDateTime},endDateTime={endDateTime},userId='@userId'){?%24count,%24filter,%24search,%24skip,%24top,userId*}", pathParameters) + public MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, DateTimeOffset? endDateTime = default, DateTimeOffset? startDateTime = default) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.getDiscoveredApplicationSegmentReport(startDateTime={startDateTime},endDateTime={endDateTime},userId='@userId',groupingId='@groupingId'){?%24count,%24filter,%24search,%24skip,%24top,groupingId*,userId*}", pathParameters) { if (endDateTime != null) PathParameters.Add("endDateTime", endDateTime); if (startDateTime != null) PathParameters.Add("startDateTime", startDateTime); } /// - /// Instantiates a new and sets the default values. + /// Instantiates a new and sets the default values. /// /// The raw URL to use for the request builder. /// The request adapter to use to execute the requests. - public MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.getDiscoveredApplicationSegmentReport(startDateTime={startDateTime},endDateTime={endDateTime},userId='@userId'){?%24count,%24filter,%24search,%24skip,%24top,userId*}", rawUrl) + public MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.getDiscoveredApplicationSegmentReport(startDateTime={startDateTime},endDateTime={endDateTime},userId='@userId',groupingId='@groupingId'){?%24count,%24filter,%24search,%24skip,%24top,groupingId*,userId*}", rawUrl) { } /// /// Returns a collection of discovered application segments based on aggregated traffic logs for a given period. /// Find more info here /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); @@ -59,24 +59,24 @@ public MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStart { { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Returns a collection of discovered application segments based on aggregated traffic logs for a given period. /// Find more info here /// - /// A + /// A /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code - [Obsolete("This method is obsolete. Use GetAsGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponseAsync instead.")] + [Obsolete("This method is obsolete. Use GetAsGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponseAsync instead.")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) { #endif var requestInfo = ToGetRequestInformation(requestConfiguration); @@ -84,7 +84,7 @@ public MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStart { { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, }; - return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Returns a collection of discovered application segments based on aggregated traffic logs for a given period. @@ -93,11 +93,11 @@ public MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStart /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) { #endif var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); @@ -108,17 +108,17 @@ public RequestInformation ToGetRequestInformation(Action /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. /// - /// A + /// A /// The raw URL to use for the request builder. - public global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder WithUrl(string rawUrl) + public global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder WithUrl(string rawUrl) { - return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder(rawUrl, RequestAdapter); + return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder(rawUrl, RequestAdapter); } /// /// Returns a collection of discovered application segments based on aggregated traffic logs for a given period. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilderGetQueryParameters + public partial class MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilderGetQueryParameters { /// Include count of items [QueryParameter("%24count")] @@ -132,6 +132,16 @@ public partial class MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentR #else [QueryParameter("%24filter")] public string Filter { get; set; } +#endif + /// Usage: groupingId='@groupingId' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("groupingId")] + public string? GroupingId { get; set; } +#nullable restore +#else + [QueryParameter("groupingId")] + public string GroupingId { get; set; } #endif /// Search items by search phrases #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -165,7 +175,7 @@ public partial class MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentR /// [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] - public partial class MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilderGetRequestConfiguration : RequestConfiguration + public partial class MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilderGetRequestConfiguration : RequestConfiguration { } } diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs index 2d19c732b053..e0c371cdf190 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Reports/ReportsRequestBuilder.cs @@ -12,7 +12,7 @@ using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTime; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedBy; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTime; -using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId; +using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetEnterpriseApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserId; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTime; using Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessUsageProfilingWithStartDateTimeWithEndDateTimeWithAggregatedBydiscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdAiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDestinationUrlDestinationUrl; @@ -226,14 +226,14 @@ public async Task DeleteAsync(Action /// Provides operations to call the getDiscoveredApplicationSegmentReport method. /// - /// A + /// A /// Usage: endDateTime={endDateTime} /// Usage: startDateTime={startDateTime} - public global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId(DateTimeOffset? endDateTime, DateTimeOffset? startDateTime) + public global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId(DateTimeOffset? endDateTime, DateTimeOffset? startDateTime) { if(ReferenceEquals(endDateTime, null)) throw new ArgumentNullException(nameof(endDateTime)); if(ReferenceEquals(startDateTime, null)) throw new ArgumentNullException(nameof(startDateTime)); - return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); + return new global::Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); } /// /// Provides operations to call the getEnterpriseApplicationReport method. diff --git a/src/Microsoft.Graph/Generated/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/PlannerRequestBuilder.cs index 83a2eaea7bad..d8d9741c2670 100644 --- a/src/Microsoft.Graph/Generated/Planner/PlannerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/PlannerRequestBuilder.cs @@ -5,8 +5,10 @@ using Microsoft.Graph.Beta.Planner.Buckets; using Microsoft.Graph.Beta.Planner.Goals; using Microsoft.Graph.Beta.Planner.Plans; +using Microsoft.Graph.Beta.Planner.Plans_v2; using Microsoft.Graph.Beta.Planner.Rosters; using Microsoft.Graph.Beta.Planner.Tasks; +using Microsoft.Graph.Beta.Planner.Tasks_v2; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -38,6 +40,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Planner.Plans.PlansRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.planner entity. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Plans_v2RequestBuilder Plans_v2 + { + get => new global::Microsoft.Graph.Beta.Planner.Plans_v2.Plans_v2RequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the rosters property of the microsoft.graph.planner entity. public global::Microsoft.Graph.Beta.Planner.Rosters.RostersRequestBuilder Rosters { @@ -48,6 +55,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Planner.Tasks.TasksRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the tasks_v2 property of the microsoft.graph.planner entity. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Tasks_v2RequestBuilder Tasks_v2 + { + get => new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Tasks_v2RequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// @@ -65,7 +77,8 @@ public PlannerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Get planner + /// Read the properties and relationships of planner object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -88,7 +101,8 @@ public PlannerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Planner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update planner + /// Update the properties of a planner object. + /// Find more info here /// /// A /// The request body @@ -113,7 +127,7 @@ public PlannerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Planner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get planner + /// Read the properties and relationships of planner object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -132,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update planner + /// Update the properties of a planner object. /// /// A /// The request body @@ -163,7 +177,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta return new global::Microsoft.Graph.Beta.Planner.PlannerRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get planner + /// Read the properties and relationships of planner object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PlannerRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs new file mode 100644 index 000000000000..5a26f8b82dc2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans.Item.ExtendExpiry +{ + /// + /// Provides operations to call the extendExpiry method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl) + { + } + /// + /// Invoke action extendExpiry + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action extendExpiry + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 0590c0526940..2b2693b943d7 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Planner.Plans.Item.Archive; using Microsoft.Graph.Beta.Planner.Plans.Item.Buckets; using Microsoft.Graph.Beta.Planner.Plans.Item.Details; +using Microsoft.Graph.Beta.Planner.Plans.Item.ExtendExpiry; using Microsoft.Graph.Beta.Planner.Plans.Item.GetUsageRights; using Microsoft.Graph.Beta.Planner.Plans.Item.Goals; using Microsoft.Graph.Beta.Planner.Plans.Item.HistoryItems; @@ -42,6 +43,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Planner.Plans.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the extendExpiry method. + public global::Microsoft.Graph.Beta.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder ExtendExpiry + { + get => new global::Microsoft.Graph.Beta.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the getUsageRights method. public global::Microsoft.Graph.Beta.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder GetUsageRights { diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..ed1c30ab73c4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Buckets/BucketsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Buckets/BucketsRequestBuilder.cs new file mode 100644 index 000000000000..e9daed3c5661 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Buckets/BucketsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Count; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets +{ + /// + /// Provides operations to manage the buckets property of the microsoft.graph.plan entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BucketsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the buckets property of the microsoft.graph.plan entity. + /// The unique identifier of bucket + /// A + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("bucket%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public BucketsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/buckets{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public BucketsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/buckets{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of buckets in the plan. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.BucketCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to buckets for planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Bucket body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Bucket body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Bucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of buckets in the plan. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to buckets for planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Bucket body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Bucket body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.BucketsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.BucketsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of buckets in the plan. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BucketsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BucketsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BucketsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Buckets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Buckets/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..82823c66d88a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Buckets/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/buckets/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/buckets/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Buckets/Item/BucketItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Buckets/Item/BucketItemRequestBuilder.cs new file mode 100644 index 000000000000..3eb6015a395d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Buckets/Item/BucketItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item +{ + /// + /// Provides operations to manage the buckets property of the microsoft.graph.plan entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BucketItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public BucketItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/buckets/{bucket%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public BucketItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/buckets/{bucket%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property buckets for planner + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of buckets in the plan. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Bucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property buckets in planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Bucket body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Bucket body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Bucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property buckets for planner + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The collection of buckets in the plan. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property buckets in planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Bucket body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Bucket body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BucketItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The collection of buckets in the plan. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BucketItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BucketItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BucketItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Contexts/ContextsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Contexts/ContextsRequestBuilder.cs new file mode 100644 index 000000000000..d09ff3ec1692 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Contexts/ContextsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Count; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts +{ + /// + /// Provides operations to manage the contexts property of the microsoft.graph.plan entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContextsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the contexts property of the microsoft.graph.plan entity. + /// The unique identifier of planContextLink + /// A + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("planContextLink%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContextsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/contexts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ContextsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/contexts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of context links describing where the plan is surfaced. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlanContextLinkCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to contexts for planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlanContextLink body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlanContextLink body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlanContextLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of context links describing where the plan is surfaced. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to contexts for planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlanContextLink body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlanContextLink body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.ContextsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.ContextsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of context links describing where the plan is surfaced. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContextsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContextsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContextsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Contexts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Contexts/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..3f762d87ff71 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Contexts/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/contexts/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/contexts/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Contexts/Item/PlanContextLinkItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Contexts/Item/PlanContextLinkItemRequestBuilder.cs new file mode 100644 index 000000000000..f5c1933eaac8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Contexts/Item/PlanContextLinkItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item +{ + /// + /// Provides operations to manage the contexts property of the microsoft.graph.plan entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanContextLinkItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PlanContextLinkItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/contexts/{planContextLink%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PlanContextLinkItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/contexts/{planContextLink%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property contexts for planner + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of context links describing where the plan is surfaced. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlanContextLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property contexts in planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlanContextLink body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlanContextLink body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlanContextLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property contexts for planner + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The collection of context links describing where the plan is surfaced. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property contexts in planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlanContextLink body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlanContextLink body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanContextLinkItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The collection of context links describing where the plan is surfaced. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanContextLinkItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanContextLinkItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanContextLinkItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/CustomFieldDefinitions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/CustomFieldDefinitions/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..55e6db2a07c4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/CustomFieldDefinitions/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/customFieldDefinitions/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/customFieldDefinitions/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/CustomFieldDefinitions/CustomFieldDefinitionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/CustomFieldDefinitions/CustomFieldDefinitionsRequestBuilder.cs new file mode 100644 index 000000000000..ce0b9a0fd6f5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/CustomFieldDefinitions/CustomFieldDefinitionsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Count; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions +{ + /// + /// Provides operations to manage the customFieldDefinitions property of the microsoft.graph.plan entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CustomFieldDefinitionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the customFieldDefinitions property of the microsoft.graph.plan entity. + /// The unique identifier of customFieldDefinition + /// A + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Item.CustomFieldDefinitionItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("customFieldDefinition%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Item.CustomFieldDefinitionItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CustomFieldDefinitionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/customFieldDefinitions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CustomFieldDefinitionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/customFieldDefinitions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of custom field definitions in the plan. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CustomFieldDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of custom field definitions in the plan. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.CustomFieldDefinitionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.CustomFieldDefinitionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of custom field definitions in the plan. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CustomFieldDefinitionsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CustomFieldDefinitionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/CustomFieldDefinitions/Item/CustomFieldDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/CustomFieldDefinitions/Item/CustomFieldDefinitionItemRequestBuilder.cs new file mode 100644 index 000000000000..ad9a9484bb2b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/CustomFieldDefinitions/Item/CustomFieldDefinitionItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Item +{ + /// + /// Provides operations to manage the customFieldDefinitions property of the microsoft.graph.plan entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CustomFieldDefinitionItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CustomFieldDefinitionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/customFieldDefinitions/{customFieldDefinition%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CustomFieldDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/customFieldDefinitions/{customFieldDefinition%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of custom field definitions in the plan. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CustomFieldDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of custom field definitions in the plan. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Item.CustomFieldDefinitionItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Item.CustomFieldDefinitionItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of custom field definitions in the plan. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CustomFieldDefinitionItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CustomFieldDefinitionItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Dependencies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Dependencies/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..7ad2953cc842 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Dependencies/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/dependencies/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/dependencies/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Dependencies/DependenciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Dependencies/DependenciesRequestBuilder.cs new file mode 100644 index 000000000000..12827132f47e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Dependencies/DependenciesRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Count; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies +{ + /// + /// Provides operations to manage the dependencies property of the microsoft.graph.plan entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DependenciesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the dependencies property of the microsoft.graph.plan entity. + /// The unique identifier of dependency + /// A + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Item.DependencyItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("dependency%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Item.DependencyItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DependenciesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/dependencies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DependenciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/dependencies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of dependencies between items in the plan. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DependencyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of dependencies between items in the plan. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.DependenciesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.DependenciesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of dependencies between items in the plan. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DependenciesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DependenciesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Dependencies/Item/DependencyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Dependencies/Item/DependencyItemRequestBuilder.cs new file mode 100644 index 000000000000..c233e545ff98 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Dependencies/Item/DependencyItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Item +{ + /// + /// Provides operations to manage the dependencies property of the microsoft.graph.plan entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DependencyItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DependencyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/dependencies/{dependency%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DependencyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/dependencies/{dependency%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of dependencies between items in the plan. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Dependency.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of dependencies between items in the plan. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Item.DependencyItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Item.DependencyItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of dependencies between items in the plan. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DependencyItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DependencyItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Goals/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Goals/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..92f6aa721e4a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Goals/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/goals/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/goals/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Goals/GoalsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Goals/GoalsRequestBuilder.cs new file mode 100644 index 000000000000..9d43b59d1e2f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Goals/GoalsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Count; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals +{ + /// + /// Provides operations to manage the goals property of the microsoft.graph.plan entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GoalsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the goals property of the microsoft.graph.plan entity. + /// The unique identifier of goal + /// A + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Item.GoalItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("goal%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Item.GoalItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GoalsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/goals{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GoalsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/goals{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of goals in the plan. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.GoalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of goals in the plan. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.GoalsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.GoalsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of goals in the plan. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GoalsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GoalsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Goals/Item/GoalItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Goals/Item/GoalItemRequestBuilder.cs new file mode 100644 index 000000000000..36f88a216974 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Goals/Item/GoalItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Item +{ + /// + /// Provides operations to manage the goals property of the microsoft.graph.plan entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GoalItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GoalItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/goals/{goal%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public GoalItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/goals/{goal%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of goals in the plan. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Goal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of goals in the plan. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Item.GoalItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Item.GoalItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of goals in the plan. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GoalItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GoalItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/HistoryItems/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/HistoryItems/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..73ddf5a3eac0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/HistoryItems/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/historyItems/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/historyItems/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/HistoryItems/HistoryItemsRequestBuilder.cs new file mode 100644 index 000000000000..e41e6645b9cf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/HistoryItems/HistoryItemsRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Count; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems +{ + /// + /// Provides operations to manage the historyItems property of the microsoft.graph.plan entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HistoryItemsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the historyItems property of the microsoft.graph.plan entity. + /// The unique identifier of historyItem + /// A + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Item.HistoryItemItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("historyItem%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Item.HistoryItemItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public HistoryItemsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/historyItems{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/historyItems{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of history (audit) items for the plan. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.HistoryItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of history (audit) items for the plan. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.HistoryItemsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.HistoryItemsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of history (audit) items for the plan. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HistoryItemsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HistoryItemsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/HistoryItems/Item/HistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/HistoryItems/Item/HistoryItemItemRequestBuilder.cs new file mode 100644 index 000000000000..6e952907d84e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/HistoryItems/Item/HistoryItemItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Item +{ + /// + /// Provides operations to manage the historyItems property of the microsoft.graph.plan entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HistoryItemItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public HistoryItemItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/historyItems/{historyItem%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public HistoryItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/historyItems/{historyItem%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of history (audit) items for the plan. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.HistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of history (audit) items for the plan. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Item.HistoryItemItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Item.HistoryItemItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of history (audit) items for the plan. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HistoryItemItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HistoryItemItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Links/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Links/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..329bd6e1b2d6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Links/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/links/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/links/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Links/Item/ContentLinkItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Links/Item/ContentLinkItemRequestBuilder.cs new file mode 100644 index 000000000000..c498797914c6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Links/Item/ContentLinkItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item +{ + /// + /// Provides operations to manage the links property of the microsoft.graph.plan entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentLinkItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentLinkItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/links/{contentLink%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ContentLinkItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/links/{contentLink%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property links for planner + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of content links attached to the plan. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ContentLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property links in planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ContentLink body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ContentLink body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ContentLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property links for planner + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The collection of content links attached to the plan. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property links in planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ContentLink body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ContentLink body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentLinkItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The collection of content links attached to the plan. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentLinkItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentLinkItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentLinkItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Links/LinksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Links/LinksRequestBuilder.cs new file mode 100644 index 000000000000..d03c68c26866 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Links/LinksRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Count; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links +{ + /// + /// Provides operations to manage the links property of the microsoft.graph.plan entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LinksRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the links property of the microsoft.graph.plan entity. + /// The unique identifier of contentLink + /// A + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("contentLink%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LinksRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/links{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LinksRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/links{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of content links attached to the plan. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ContentLinkCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to links for planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ContentLink body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ContentLink body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ContentLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of content links attached to the plan. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to links for planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ContentLink body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ContentLink body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.LinksRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.LinksRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of content links attached to the plan. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LinksRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LinksRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LinksRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs new file mode 100644 index 000000000000..dee65915c603 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs @@ -0,0 +1,280 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.planner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the buckets property of the microsoft.graph.plan entity. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.BucketsRequestBuilder Buckets + { + get => new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.BucketsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the contexts property of the microsoft.graph.plan entity. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.ContextsRequestBuilder Contexts + { + get => new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.ContextsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the customFieldDefinitions property of the microsoft.graph.plan entity. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.CustomFieldDefinitionsRequestBuilder CustomFieldDefinitions + { + get => new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.CustomFieldDefinitionsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the dependencies property of the microsoft.graph.plan entity. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.DependenciesRequestBuilder Dependencies + { + get => new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.DependenciesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the goals property of the microsoft.graph.plan entity. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.GoalsRequestBuilder Goals + { + get => new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the historyItems property of the microsoft.graph.plan entity. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.HistoryItemsRequestBuilder HistoryItems + { + get => new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.HistoryItemsRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the links property of the microsoft.graph.plan entity. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.LinksRequestBuilder Links + { + get => new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.LinksRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the tasks property of the microsoft.graph.plan entity. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.TasksRequestBuilder Tasks + { + get => new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.TasksRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a plan object. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of plan object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a plan object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Plan body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Plan body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a plan object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of plan object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a plan object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Plan body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Plan body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of plan object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Tasks/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..eeafd3a37c07 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Tasks/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/tasks/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/tasks/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Tasks/Item/TaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Tasks/Item/TaskItemRequestBuilder.cs new file mode 100644 index 000000000000..58613f6f98f2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Tasks/Item/TaskItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Item +{ + /// + /// Provides operations to manage the tasks property of the microsoft.graph.plan entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TaskItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TaskItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/tasks/{task%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TaskItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/tasks/{task%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of tasks in the plan. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of tasks in the plan. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Item.TaskItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Item.TaskItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of tasks in the plan. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TaskItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TaskItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Tasks/TasksRequestBuilder.cs new file mode 100644 index 000000000000..7a63f9423726 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Item/Tasks/TasksRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Count; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks +{ + /// + /// Provides operations to manage the tasks property of the microsoft.graph.plan entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TasksRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the tasks property of the microsoft.graph.plan entity. + /// The unique identifier of task + /// A + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Item.TaskItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("task%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Item.TaskItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TasksRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/tasks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TasksRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2/{plan%2Did}/tasks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of tasks in the plan. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of tasks in the plan. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.TasksRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.TasksRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of tasks in the plan. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TasksRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TasksRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Plans_v2/Plans_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Plans_v2RequestBuilder.cs new file mode 100644 index 000000000000..3491b5c61d35 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Plans_v2/Plans_v2RequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Plans_v2.Count; +using Microsoft.Graph.Beta.Planner.Plans_v2.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Plans_v2 +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.planner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Plans_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.planner entity. + /// The unique identifier of plan + /// A + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plan%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the plan objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new plan object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Plan body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Plan body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the plan objects and their properties. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new plan object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Plan body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Plan body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Plans_v2.Plans_v2RequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Plans_v2.Plans_v2RequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the plan objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..ef8e9a124b19 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks_v2.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Checklist/ChecklistRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Checklist/ChecklistRequestBuilder.cs new file mode 100644 index 000000000000..a1f47da03e8e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Checklist/ChecklistRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Count; +using Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist +{ + /// + /// Provides operations to manage the checklist property of the microsoft.graph.task entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChecklistRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the checklist property of the microsoft.graph.task entity. + /// The unique identifier of checklistItemV4 + /// A + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("checklistItemV4%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ChecklistRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/checklist{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ChecklistRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/checklist{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of checklist items on the task. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChecklistItemV4CollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to checklist for planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ChecklistItemV4 body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ChecklistItemV4 body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChecklistItemV4.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of checklist items on the task. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to checklist for planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ChecklistItemV4 body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ChecklistItemV4 body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.ChecklistRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.ChecklistRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of checklist items on the task. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChecklistRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChecklistRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChecklistRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Checklist/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Checklist/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..2f3596acf1b8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Checklist/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/checklist/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/checklist/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Checklist/Item/ChecklistItemV4ItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Checklist/Item/ChecklistItemV4ItemRequestBuilder.cs new file mode 100644 index 000000000000..aab9dd1ae909 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Checklist/Item/ChecklistItemV4ItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item +{ + /// + /// Provides operations to manage the checklist property of the microsoft.graph.task entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChecklistItemV4ItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ChecklistItemV4ItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/checklist/{checklistItemV4%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ChecklistItemV4ItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/checklist/{checklistItemV4%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property checklist for planner + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of checklist items on the task. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChecklistItemV4.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property checklist in planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ChecklistItemV4 body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ChecklistItemV4 body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChecklistItemV4.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property checklist for planner + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The collection of checklist items on the task. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property checklist in planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ChecklistItemV4 body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ChecklistItemV4 body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChecklistItemV4ItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The collection of checklist items on the task. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChecklistItemV4ItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChecklistItemV4ItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ChecklistItemV4ItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/CustomFieldValues/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/CustomFieldValues/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..52edca3eeeb4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/CustomFieldValues/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/customFieldValues/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/customFieldValues/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/CustomFieldValues/CustomFieldValuesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/CustomFieldValues/CustomFieldValuesRequestBuilder.cs new file mode 100644 index 000000000000..ce70e20dad65 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/CustomFieldValues/CustomFieldValuesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Count; +using Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues +{ + /// + /// Provides operations to manage the customFieldValues property of the microsoft.graph.task entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CustomFieldValuesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the customFieldValues property of the microsoft.graph.task entity. + /// The unique identifier of customFieldValue + /// A + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("customFieldValue%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CustomFieldValuesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/customFieldValues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CustomFieldValuesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/customFieldValues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of custom field values set on the task. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CustomFieldValueCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to customFieldValues for planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CustomFieldValue body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CustomFieldValue body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CustomFieldValue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of custom field values set on the task. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to customFieldValues for planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CustomFieldValue body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CustomFieldValue body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.CustomFieldValuesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.CustomFieldValuesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of custom field values set on the task. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CustomFieldValuesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CustomFieldValuesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CustomFieldValuesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/CustomFieldValues/Item/CustomFieldValueItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/CustomFieldValues/Item/CustomFieldValueItemRequestBuilder.cs new file mode 100644 index 000000000000..2fb1ef5c0715 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/CustomFieldValues/Item/CustomFieldValueItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item +{ + /// + /// Provides operations to manage the customFieldValues property of the microsoft.graph.task entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CustomFieldValueItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CustomFieldValueItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/customFieldValues/{customFieldValue%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CustomFieldValueItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/customFieldValues/{customFieldValue%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property customFieldValues for planner + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of custom field values set on the task. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CustomFieldValue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property customFieldValues in planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CustomFieldValue body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CustomFieldValue body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CustomFieldValue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property customFieldValues for planner + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The collection of custom field values set on the task. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property customFieldValues in planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CustomFieldValue body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CustomFieldValue body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CustomFieldValueItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The collection of custom field values set on the task. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CustomFieldValueItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CustomFieldValueItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CustomFieldValueItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Links/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Links/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..55cfb5b47898 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Links/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/links/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/links/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Links/Item/ContentLinkItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Links/Item/ContentLinkItemRequestBuilder.cs new file mode 100644 index 000000000000..b22c1bb1488c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Links/Item/ContentLinkItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item +{ + /// + /// Provides operations to manage the links property of the microsoft.graph.task entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentLinkItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ContentLinkItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/links/{contentLink%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ContentLinkItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/links/{contentLink%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property links for planner + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of content links attached to the task. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ContentLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property links in planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ContentLink body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ContentLink body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ContentLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property links for planner + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The collection of content links attached to the task. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property links in planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ContentLink body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ContentLink body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentLinkItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The collection of content links attached to the task. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentLinkItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentLinkItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ContentLinkItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Links/LinksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Links/LinksRequestBuilder.cs new file mode 100644 index 000000000000..417b4b850ba8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Links/LinksRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Count; +using Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links +{ + /// + /// Provides operations to manage the links property of the microsoft.graph.task entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LinksRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the links property of the microsoft.graph.task entity. + /// The unique identifier of contentLink + /// A + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("contentLink%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LinksRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/links{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LinksRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/links{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of content links attached to the task. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ContentLinkCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to links for planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ContentLink body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ContentLink body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ContentLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of content links attached to the task. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to links for planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ContentLink body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ContentLink body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.LinksRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.LinksRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of content links attached to the task. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LinksRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LinksRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LinksRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Messages/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..c385f1430cc8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Messages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/messages/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/messages/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Messages/Item/PlannerChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Messages/Item/PlannerChatMessageItemRequestBuilder.cs new file mode 100644 index 000000000000..cb764368bb41 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Messages/Item/PlannerChatMessageItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.task entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerChatMessageItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PlannerChatMessageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/messages/{plannerChatMessage%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PlannerChatMessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/messages/{plannerChatMessage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property messages for planner + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of chat messages associated with the task. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property messages in planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property messages for planner + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The collection of chat messages associated with the task. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property messages in planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerChatMessageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The collection of chat messages associated with the task. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerChatMessageItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerChatMessageItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlannerChatMessageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Messages/MessagesRequestBuilder.cs new file mode 100644 index 000000000000..e78b71c4f37f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/Messages/MessagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Count; +using Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages +{ + /// + /// Provides operations to manage the messages property of the microsoft.graph.task entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MessagesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.task entity. + /// The unique identifier of plannerChatMessage + /// A + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plannerChatMessage%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MessagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/messages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of chat messages associated with the task. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to messages for planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerChatMessage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerChatMessage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of chat messages associated with the task. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to messages for planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerChatMessage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerChatMessage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.MessagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.MessagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of chat messages associated with the task. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MessagesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MessagesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MessagesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/TaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/TaskItemRequestBuilder.cs new file mode 100644 index 000000000000..49c991e4e7a8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/TaskItemRequestBuilder.cs @@ -0,0 +1,262 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist; +using Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues; +using Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links; +using Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages; +using Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks_v2.Item +{ + /// + /// Provides operations to manage the tasks_v2 property of the microsoft.graph.planner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TaskItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the checklist property of the microsoft.graph.task entity. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.ChecklistRequestBuilder Checklist + { + get => new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.ChecklistRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the customFieldValues property of the microsoft.graph.task entity. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.CustomFieldValuesRequestBuilder CustomFieldValues + { + get => new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.CustomFieldValuesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the links property of the microsoft.graph.task entity. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.LinksRequestBuilder Links + { + get => new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.LinksRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the messages property of the microsoft.graph.task entity. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.MessagesRequestBuilder Messages + { + get => new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the userAssignments property of the microsoft.graph.task entity. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.UserAssignmentsRequestBuilder UserAssignments + { + get => new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.UserAssignmentsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TaskItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TaskItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a task object. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of task object. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a task object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.TaskObject body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.TaskObject body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a task object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of task object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a task object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.TaskObject body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.TaskObject body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TaskItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of task object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TaskItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TaskItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TaskItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/UserAssignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/UserAssignments/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..09d4714f9e03 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/UserAssignments/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/userAssignments/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/userAssignments/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/UserAssignments/Item/UserAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/UserAssignments/Item/UserAssignmentItemRequestBuilder.cs new file mode 100644 index 000000000000..1ba37dc3b8e0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/UserAssignments/Item/UserAssignmentItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item +{ + /// + /// Provides operations to manage the userAssignments property of the microsoft.graph.task entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserAssignmentItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UserAssignmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/userAssignments/{userAssignment%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UserAssignmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/userAssignments/{userAssignment%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property userAssignments for planner + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of user assignments on the task. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UserAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property userAssignments in planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.UserAssignment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.UserAssignment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UserAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property userAssignments for planner + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The collection of user assignments on the task. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property userAssignments in planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.UserAssignment body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.UserAssignment body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserAssignmentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The collection of user assignments on the task. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserAssignmentItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserAssignmentItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserAssignmentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/UserAssignments/UserAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/UserAssignments/UserAssignmentsRequestBuilder.cs new file mode 100644 index 000000000000..ab2ef41edfc9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Item/UserAssignments/UserAssignmentsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Count; +using Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments +{ + /// + /// Provides operations to manage the userAssignments property of the microsoft.graph.task entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserAssignmentsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the userAssignments property of the microsoft.graph.task entity. + /// The unique identifier of userAssignment + /// A + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("userAssignment%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UserAssignmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/userAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UserAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2/{task%2Did}/userAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of user assignments on the task. Read-only. Nullable. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UserAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to userAssignments for planner + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.UserAssignment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.UserAssignment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UserAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of user assignments on the task. Read-only. Nullable. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to userAssignments for planner + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.UserAssignment body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.UserAssignment body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.UserAssignmentsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.UserAssignmentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of user assignments on the task. Read-only. Nullable. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserAssignmentsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserAssignmentsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UserAssignmentsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Tasks_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Tasks_v2RequestBuilder.cs new file mode 100644 index 000000000000..b415c876d50c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Planner/Tasks_v2/Tasks_v2RequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Planner.Tasks_v2.Count; +using Microsoft.Graph.Beta.Planner.Tasks_v2.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Planner.Tasks_v2 +{ + /// + /// Provides operations to manage the tasks_v2 property of the microsoft.graph.planner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Tasks_v2RequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the tasks_v2 property of the microsoft.graph.planner entity. + /// The unique identifier of task + /// A + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("task%2Did", position); + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public Tasks_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public Tasks_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/planner/tasks_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the task objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new task object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.TaskObject body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.TaskObject body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the task objects and their properties. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new task object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.TaskObject body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.TaskObject body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Planner.Tasks_v2.Tasks_v2RequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Planner.Tasks_v2.Tasks_v2RequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the task objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Tasks_v2RequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Tasks_v2RequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Tasks_v2RequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Reports/GetSharePointApiUsageWithDateWithAppIdreportTypeReportType/GetSharePointApiUsageWithDateWithAppIdreportTypeReportTypeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSharePointApiUsageWithDateWithAppIdreportTypeReportType/GetSharePointApiUsageWithDateWithAppIdreportTypeReportTypeRequestBuilder.cs index a44ca7ae477c..4b3c5fbbb731 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSharePointApiUsageWithDateWithAppIdreportTypeReportType/GetSharePointApiUsageWithDateWithAppIdreportTypeReportTypeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSharePointApiUsageWithDateWithAppIdreportTypeReportType/GetSharePointApiUsageWithDateWithAppIdreportTypeReportTypeRequestBuilder.cs @@ -38,7 +38,7 @@ public GetSharePointApiUsageWithDateWithAppIdreportTypeReportTypeRequestBuilder( { } /// - /// Get aggregated usage data for all applications in a tenant. Specify either a period or a date, but not both. Optionally filter the results by application ID. Data is returned in CSV format by default, or in JSON format when requested through the $format query parameter. Use the optional reportType parameter to choose which usage metrics to return: egressReport (default) includes usage (UsageMB in CSV, usageMB in JSON), and throttlingReport includes throttled request counts (ThrottledRequests in CSV, throttledRequests in JSON). Each report type must be enabled (onboarded) for the tenant before its data is available. Use enableApiUsageReport to enable a report metric, disableApiUsageReport to disable it, and List apiUsageReportMetrics to check the enablement status. If you request a report type that isn't enabled for the tenant, this method returns a 403 Forbidden response with the error code accessDenied and the message 'Tenant is not enabled for this report type.' CSV column headers use PascalCase (ThrottledRequests) while JSON properties use camelCase (throttledRequests) to maintain consistency with other Microsoft Graph reporting APIs. + /// Get aggregated usage data for all applications in a tenant. Specify either a period or a date, but not both. Optionally filter the results by application ID. Data is returned in CSV format by default, or in JSON format when requested through the $format query parameter. Use the optional reportType parameter to choose which usage metrics to return: The sharePointServicePrioritizationReport is intended for tenants that use SharePoint Service Prioritization. For details about the offering and onboarding, see SharePoint Service Prioritization. Each report type must be enabled (onboarded) for the tenant before its data is available. Use enableApiUsageReport to enable a report metric, disableApiUsageReport to disable it, and List apiUsageReportMetrics to check the enablement status. If you request a report type that isn't enabled for the tenant, this method returns a 403 Forbidden response with the error code accessDenied and the message 'Tenant is not enabled for this report type.' CSV column headers use PascalCase (for example, BilledStandardRequestCount), and JSON properties use camelCase (for example, billedStandardRequestCount) to maintain consistency with other Microsoft Graph reporting APIs. /// Find more info here /// /// A @@ -62,7 +62,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get aggregated usage data for all applications in a tenant. Specify either a period or a date, but not both. Optionally filter the results by application ID. Data is returned in CSV format by default, or in JSON format when requested through the $format query parameter. Use the optional reportType parameter to choose which usage metrics to return: egressReport (default) includes usage (UsageMB in CSV, usageMB in JSON), and throttlingReport includes throttled request counts (ThrottledRequests in CSV, throttledRequests in JSON). Each report type must be enabled (onboarded) for the tenant before its data is available. Use enableApiUsageReport to enable a report metric, disableApiUsageReport to disable it, and List apiUsageReportMetrics to check the enablement status. If you request a report type that isn't enabled for the tenant, this method returns a 403 Forbidden response with the error code accessDenied and the message 'Tenant is not enabled for this report type.' CSV column headers use PascalCase (ThrottledRequests) while JSON properties use camelCase (throttledRequests) to maintain consistency with other Microsoft Graph reporting APIs. + /// Get aggregated usage data for all applications in a tenant. Specify either a period or a date, but not both. Optionally filter the results by application ID. Data is returned in CSV format by default, or in JSON format when requested through the $format query parameter. Use the optional reportType parameter to choose which usage metrics to return: The sharePointServicePrioritizationReport is intended for tenants that use SharePoint Service Prioritization. For details about the offering and onboarding, see SharePoint Service Prioritization. Each report type must be enabled (onboarded) for the tenant before its data is available. Use enableApiUsageReport to enable a report metric, disableApiUsageReport to disable it, and List apiUsageReportMetrics to check the enablement status. If you request a report type that isn't enabled for the tenant, this method returns a 403 Forbidden response with the error code accessDenied and the message 'Tenant is not enabled for this report type.' CSV column headers use PascalCase (for example, BilledStandardRequestCount), and JSON properties use camelCase (for example, billedStandardRequestCount) to maintain consistency with other Microsoft Graph reporting APIs. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -90,7 +90,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get aggregated usage data for all applications in a tenant. Specify either a period or a date, but not both. Optionally filter the results by application ID. Data is returned in CSV format by default, or in JSON format when requested through the $format query parameter. Use the optional reportType parameter to choose which usage metrics to return: egressReport (default) includes usage (UsageMB in CSV, usageMB in JSON), and throttlingReport includes throttled request counts (ThrottledRequests in CSV, throttledRequests in JSON). Each report type must be enabled (onboarded) for the tenant before its data is available. Use enableApiUsageReport to enable a report metric, disableApiUsageReport to disable it, and List apiUsageReportMetrics to check the enablement status. If you request a report type that isn't enabled for the tenant, this method returns a 403 Forbidden response with the error code accessDenied and the message 'Tenant is not enabled for this report type.' CSV column headers use PascalCase (ThrottledRequests) while JSON properties use camelCase (throttledRequests) to maintain consistency with other Microsoft Graph reporting APIs. + /// Get aggregated usage data for all applications in a tenant. Specify either a period or a date, but not both. Optionally filter the results by application ID. Data is returned in CSV format by default, or in JSON format when requested through the $format query parameter. Use the optional reportType parameter to choose which usage metrics to return: The sharePointServicePrioritizationReport is intended for tenants that use SharePoint Service Prioritization. For details about the offering and onboarding, see SharePoint Service Prioritization. Each report type must be enabled (onboarded) for the tenant before its data is available. Use enableApiUsageReport to enable a report metric, disableApiUsageReport to disable it, and List apiUsageReportMetrics to check the enablement status. If you request a report type that isn't enabled for the tenant, this method returns a 403 Forbidden response with the error code accessDenied and the message 'Tenant is not enabled for this report type.' CSV column headers use PascalCase (for example, BilledStandardRequestCount), and JSON properties use camelCase (for example, billedStandardRequestCount) to maintain consistency with other Microsoft Graph reporting APIs. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetSharePointApiUsageWithDateWithAppIdreportTypeReportTypeRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/Partners/Billing/AggregatedUsage/AggregatedUsageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/Partners/Billing/AggregatedUsage/AggregatedUsageRequestBuilder.cs new file mode 100644 index 000000000000..3b1d2dfd3320 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Reports/Partners/Billing/AggregatedUsage/AggregatedUsageRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Partners.Billing; +using Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage +{ + /// + /// Provides operations to manage the aggregatedUsage property of the microsoft.graph.partners.billing.billing entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AggregatedUsageRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the billed property of the microsoft.graph.partners.billing.azureAggregatedUsage entity. + public global::Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.BilledRequestBuilder Billed + { + get => new global::Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.BilledRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AggregatedUsageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/partners/billing/aggregatedUsage{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AggregatedUsageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/partners/billing/aggregatedUsage{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property aggregatedUsage for reports + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Represents aggregated Azure usage data for partner billing. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Partners.Billing.AzureAggregatedUsage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property aggregatedUsage in reports + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Partners.Billing.AzureAggregatedUsage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Partners.Billing.AzureAggregatedUsage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Partners.Billing.AzureAggregatedUsage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property aggregatedUsage for reports + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Represents aggregated Azure usage data for partner billing. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property aggregatedUsage in reports + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Partners.Billing.AzureAggregatedUsage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Partners.Billing.AzureAggregatedUsage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.AggregatedUsageRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.AggregatedUsageRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AggregatedUsageRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Represents aggregated Azure usage data for partner billing. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AggregatedUsageRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AggregatedUsageRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AggregatedUsageRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Reports/Partners/Billing/AggregatedUsage/Billed/BilledRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/Partners/Billing/AggregatedUsage/Billed/BilledRequestBuilder.cs new file mode 100644 index 000000000000..95bb3e8bc855 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Reports/Partners/Billing/AggregatedUsage/Billed/BilledRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Partners.Billing; +using Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed +{ + /// + /// Provides operations to manage the billed property of the microsoft.graph.partners.billing.azureAggregatedUsage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BilledRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the export method. + public global::Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder MicrosoftGraphPartnersBillingExport + { + get => new global::Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public BilledRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/partners/billing/aggregatedUsage/billed{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public BilledRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/partners/billing/aggregatedUsage/billed{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property billed for reports + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The billed aggregated usage data that can be exported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Partners.Billing.BilledAggregatedUsage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property billed in reports + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Partners.Billing.BilledAggregatedUsage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Partners.Billing.BilledAggregatedUsage body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Partners.Billing.BilledAggregatedUsage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property billed for reports + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The billed aggregated usage data that can be exported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property billed in reports + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Partners.Billing.BilledAggregatedUsage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Partners.Billing.BilledAggregatedUsage body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.BilledRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.BilledRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BilledRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The billed aggregated usage data that can be exported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BilledRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BilledRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BilledRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Reports/Partners/Billing/AggregatedUsage/Billed/MicrosoftGraphPartnersBillingExport/ExportPostRequestBody.cs b/src/Microsoft.Graph/Generated/Reports/Partners/Billing/AggregatedUsage/Billed/MicrosoftGraphPartnersBillingExport/ExportPostRequestBody.cs new file mode 100644 index 000000000000..e3ea48e361f2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Reports/Partners/Billing/AggregatedUsage/Billed/MicrosoftGraphPartnersBillingExport/ExportPostRequestBody.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ExportPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + public IDictionary AdditionalData + { + get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } + set { BackingStore.Set("AdditionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The invoiceId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? InvoiceId + { + get { return BackingStore?.Get("invoiceId"); } + set { BackingStore?.Set("invoiceId", value); } + } +#nullable restore +#else + public string InvoiceId + { + get { return BackingStore?.Get("invoiceId"); } + set { BackingStore?.Set("invoiceId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ExportPostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.ExportPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.ExportPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "invoiceId", n => { InvoiceId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("invoiceId", InvoiceId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Reports/Partners/Billing/AggregatedUsage/Billed/MicrosoftGraphPartnersBillingExport/MicrosoftGraphPartnersBillingExportRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/Partners/Billing/AggregatedUsage/Billed/MicrosoftGraphPartnersBillingExport/MicrosoftGraphPartnersBillingExportRequestBuilder.cs new file mode 100644 index 000000000000..d9ba6ef0c52f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Reports/Partners/Billing/AggregatedUsage/Billed/MicrosoftGraphPartnersBillingExport/MicrosoftGraphPartnersBillingExportRequestBuilder.cs @@ -0,0 +1,104 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Partners.Billing; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport +{ + /// + /// Provides operations to call the export method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphPartnersBillingExportRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphPartnersBillingExportRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/partners/billing/aggregatedUsage/billed/microsoft.graph.partners.billing.export", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphPartnersBillingExportRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/reports/partners/billing/aggregatedUsage/billed/microsoft.graph.partners.billing.export", rawUrl) + { + } + /// + /// Export billed aggregated Azure usage data for a specific invoice from a billedAggregatedUsage resource. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.ExportPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.ExportPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Partners.Billing.Operation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Export billed aggregated Azure usage data for a specific invoice from a billedAggregatedUsage resource. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.ExportPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.ExportPostRequestBody body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Reports/Partners/Billing/BillingRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/Partners/Billing/BillingRequestBuilder.cs index b731d225e929..0b8fe896eb23 100644 --- a/src/Microsoft.Graph/Generated/Reports/Partners/Billing/BillingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/Partners/Billing/BillingRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models.Partners.Billing; +using Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage; using Microsoft.Graph.Beta.Reports.Partners.Billing.Manifests; using Microsoft.Graph.Beta.Reports.Partners.Billing.Operations; using Microsoft.Graph.Beta.Reports.Partners.Billing.Reconciliation; @@ -22,6 +23,11 @@ namespace Microsoft.Graph.Beta.Reports.Partners.Billing [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class BillingRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the aggregatedUsage property of the microsoft.graph.partners.billing.billing entity. + public global::Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.AggregatedUsageRequestBuilder AggregatedUsage + { + get => new global::Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.AggregatedUsageRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the manifests property of the microsoft.graph.partners.billing.billing entity. public global::Microsoft.Graph.Beta.Reports.Partners.Billing.Manifests.ManifestsRequestBuilder Manifests { diff --git a/src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..23f64a6a7817 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/cloudPC/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/cloudPC/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index da7f6663fbbb..4bc9883cccb3 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; +using Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilde { get => new global::Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..2bc850b92f07 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/cloudPC/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/cloudPC/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index d658f4197b34..a5595afc9759 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/CloudPC/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; using Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom; +using Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -30,6 +31,11 @@ public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilde { get => new global::Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// @@ -47,7 +53,7 @@ public UnifiedRoleDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter re { } /// - /// Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra ID) + /// Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. For the directory provider, deleting an active custom role definition soft-deletes it. You can then restore the role or permanently delete it from the deleted-items collection. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra ID) /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -70,7 +76,7 @@ public async Task DeleteAsync(Action - /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) + /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. For the directory provider, you can also get a soft-deleted custom role definition from the deleted-items collection. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) /// Find more info here /// /// A @@ -120,7 +126,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra ID) + /// Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. For the directory provider, deleting an active custom role definition soft-deletes it. You can then restore the role or permanently delete it from the deleted-items collection. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra ID) /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -139,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) + /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. For the directory provider, you can also get a soft-deleted custom role definition from the deleted-items collection. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -197,7 +203,7 @@ public partial class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfigu { } /// - /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) + /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. For the directory provider, you can also get a soft-deleted custom role definition from the deleted-items collection. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/RoleManagement/Defender/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/Defender/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..61bdf6bb46d4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/Defender/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/defender/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/defender/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/Defender/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/Defender/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index a8d8563df6db..add76fad7761 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/Defender/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/Defender/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; +using Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilde { get => new global::Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/RoleManagement/Defender/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/Defender/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..55fdcf3b98ce --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/Defender/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/defender/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/defender/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/Defender/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/Defender/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index b397435f9a1f..acc2accaf597 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/Defender/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/Defender/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; using Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom; +using Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -30,6 +31,11 @@ public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilde { get => new global::Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// @@ -47,7 +53,7 @@ public UnifiedRoleDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter re { } /// - /// Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra ID) + /// Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. For the directory provider, deleting an active custom role definition soft-deletes it. You can then restore the role or permanently delete it from the deleted-items collection. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra ID) /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -70,7 +76,7 @@ public async Task DeleteAsync(Action - /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) + /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. For the directory provider, you can also get a soft-deleted custom role definition from the deleted-items collection. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) /// Find more info here /// /// A @@ -119,7 +125,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra ID) + /// Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. For the directory provider, deleting an active custom role definition soft-deletes it. You can then restore the role or permanently delete it from the deleted-items collection. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra ID) /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -138,7 +144,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) + /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. For the directory provider, you can also get a soft-deleted custom role definition from the deleted-items collection. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -196,7 +202,7 @@ public partial class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfigu { } /// - /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) + /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. For the directory provider, you can also get a soft-deleted custom role definition from the deleted-items collection. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..1deaab60f6f2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/deviceManagement/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/deviceManagement/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index 847cda0f8644..796610f506b3 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; +using Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilde { get => new global::Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..d5713b45423e --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/deviceManagement/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/deviceManagement/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index be156aabe6e9..8a2e2e86a929 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DeviceManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; using Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom; +using Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -30,6 +31,11 @@ public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilde { get => new global::Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs new file mode 100644 index 000000000000..3fd28d9cd2d7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems +{ + /// + /// Provides operations to manage the deletedItems property of the microsoft.graph.rbacApplication entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the roleDefinitions property of the microsoft.graph.directoryRoleManagementDeletedItemContainer entity. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.RoleDefinitionsRequestBuilder RoleDefinitions + { + get => new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.RoleDefinitionsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeletedItemsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeletedItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property deletedItems for roleManagement + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Container for soft-deleted directory role management resources. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property deletedItems in roleManagement + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property deletedItems for roleManagement + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Container for soft-deleted directory role management resources. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property deletedItems in roleManagement + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.DeletedItemsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.DeletedItemsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Container for soft-deleted directory role management resources. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..8d056d94f0ad --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs new file mode 100644 index 000000000000..5a09ac342f52 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs new file mode 100644 index 000000000000..9cea4c428595 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs @@ -0,0 +1,212 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId +{ + /// + /// Provides operations to call the assignedPrincipals method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/assignedPrincipals(transitive=@transitive,directoryScopeType='@directoryScopeType',directoryScopeId='@directoryScopeId'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,directoryScopeId*,directoryScopeType*,transitive*}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/assignedPrincipals(transitive=@transitive,directoryScopeType='@directoryScopeType',directoryScopeId='@directoryScopeId'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,directoryScopeId*,directoryScopeType*,transitive*}", rawUrl) + { + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Usage: directoryScopeId='@directoryScopeId' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("directoryScopeId")] + public string? DirectoryScopeId { get; set; } +#nullable restore +#else + [QueryParameter("directoryScopeId")] + public string DirectoryScopeId { get; set; } +#endif + /// Usage: directoryScopeType='@directoryScopeType' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("directoryScopeType")] + public string? DirectoryScopeType { get; set; } +#nullable restore +#else + [QueryParameter("directoryScopeType")] + public string DirectoryScopeType { get; set; } +#endif + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + /// Usage: transitive=@transitive + [QueryParameter("transitive")] + public bool? Transitive { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs new file mode 100644 index 000000000000..b1b944500ad5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId +{ + [Obsolete("This class is obsolete. Use AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse : global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..5a7c9c9cc662 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs new file mode 100644 index 000000000000..e22bd325ebb9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count; +using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom +{ + /// + /// Provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class InheritsPermissionsFromRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. + /// The unique identifier of unifiedRoleDefinition + /// A + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("unifiedRoleDefinition%2Did1", position); + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public InheritsPermissionsFromRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public InheritsPermissionsFromRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to inheritsPermissionsFrom for roleManagement + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to inheritsPermissionsFrom for roleManagement + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class InheritsPermissionsFromRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class InheritsPermissionsFromRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class InheritsPermissionsFromRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs new file mode 100644 index 000000000000..4699f3949a45 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs new file mode 100644 index 000000000000..45a2a41dc0a4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs @@ -0,0 +1,212 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId +{ + /// + /// Provides operations to call the assignedPrincipals method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/assignedPrincipals(transitive=@transitive,directoryScopeType='@directoryScopeType',directoryScopeId='@directoryScopeId'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,directoryScopeId*,directoryScopeType*,transitive*}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/assignedPrincipals(transitive=@transitive,directoryScopeType='@directoryScopeType',directoryScopeId='@directoryScopeId'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,directoryScopeId*,directoryScopeType*,transitive*}", rawUrl) + { + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Usage: directoryScopeId='@directoryScopeId' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("directoryScopeId")] + public string? DirectoryScopeId { get; set; } +#nullable restore +#else + [QueryParameter("directoryScopeId")] + public string DirectoryScopeId { get; set; } +#endif + /// Usage: directoryScopeType='@directoryScopeType' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("directoryScopeType")] + public string? DirectoryScopeType { get; set; } +#nullable restore +#else + [QueryParameter("directoryScopeType")] + public string DirectoryScopeType { get; set; } +#endif + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + /// Usage: transitive=@transitive + [QueryParameter("transitive")] + public bool? Transitive { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs new file mode 100644 index 000000000000..975059099b01 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId +{ + [Obsolete("This class is obsolete. Use AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse : global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..fea4f4a7347f --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs new file mode 100644 index 000000000000..1948cbaae261 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; +using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item +{ + /// + /// Provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the assignedPrincipals method. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId + { + get => new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UnifiedRoleDefinitionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UnifiedRoleDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property inheritsPermissionsFrom for roleManagement + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property inheritsPermissionsFrom in roleManagement + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property inheritsPermissionsFrom for roleManagement + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property inheritsPermissionsFrom in roleManagement + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..e95b29a666ae --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs new file mode 100644 index 000000000000..d0420d2b3fd2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -0,0 +1,249 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; +using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom; +using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.Restore; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item +{ + /// + /// Provides operations to manage the roleDefinitions property of the microsoft.graph.directoryRoleManagementDeletedItemContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the assignedPrincipals method. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId + { + get => new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder InheritsPermissionsFrom + { + get => new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UnifiedRoleDefinitionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UnifiedRoleDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. For the directory provider, deleting an active custom role definition soft-deletes it. You can then restore the role or permanently delete it from the deleted-items collection. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra ID) + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. For the directory provider, you can also get a soft-deleted custom role definition from the deleted-items collection. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property roleDefinitions in roleManagement + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. For the directory provider, deleting an active custom role definition soft-deletes it. You can then restore the role or permanently delete it from the deleted-items collection. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra ID) + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. For the directory provider, you can also get a soft-deleted custom role definition from the deleted-items collection. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property roleDefinitions in roleManagement + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. For the directory provider, you can also get a soft-deleted custom role definition from the deleted-items collection. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/RoleDefinitionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/RoleDefinitionsRequestBuilder.cs new file mode 100644 index 000000000000..3e2075310a62 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DeletedItems/RoleDefinitions/RoleDefinitionsRequestBuilder.cs @@ -0,0 +1,239 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Count; +using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions +{ + /// + /// Provides operations to manage the roleDefinitions property of the microsoft.graph.directoryRoleManagementDeletedItemContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RoleDefinitionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the roleDefinitions property of the microsoft.graph.directoryRoleManagementDeletedItemContainer entity. + /// The unique identifier of unifiedRoleDefinition + /// A + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("unifiedRoleDefinition%2Did", position); + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RoleDefinitionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RoleDefinitionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/deletedItems/roleDefinitions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// List custom unifiedRoleDefinition objects that have been soft-deleted from Microsoft Entra directory role management. Built-in role definitions can't be deleted and aren't returned. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to roleDefinitions for roleManagement + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// List custom unifiedRoleDefinition objects that have been soft-deleted from Microsoft Entra directory role management. Built-in role definitions can't be deleted and aren't returned. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to roleDefinitions for roleManagement + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.RoleDefinitionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.RoleDefinitionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// List custom unifiedRoleDefinition objects that have been soft-deleted from Microsoft Entra directory role management. Built-in role definitions can't be deleted and aren't returned. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RoleDefinitionsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RoleDefinitionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RoleDefinitionsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DirectoryRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DirectoryRequestBuilder.cs index 925dbec35db2..99aa498f46f3 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DirectoryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DirectoryRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems; using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.ResourceNamespaces; using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentApprovals; using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleAssignmentScheduleInstances; @@ -31,6 +32,11 @@ namespace Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DirectoryRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the deletedItems property of the microsoft.graph.rbacApplication entity. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.DeletedItemsRequestBuilder DeletedItems + { + get => new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.DeletedItemsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplication entity. public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.ResourceNamespaces.ResourceNamespacesRequestBuilder ResourceNamespaces { diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..ebd930d813bc --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index a1e918880291..0e993479695b 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; +using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilde { get => new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..41bf2a87284a --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/directory/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index b93719b949a0..122b9f2d47e4 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom; +using Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -30,6 +31,11 @@ public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilde { get => new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// @@ -47,7 +53,7 @@ public UnifiedRoleDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter re { } /// - /// Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra ID) + /// Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. For the directory provider, deleting an active custom role definition soft-deletes it. You can then restore the role or permanently delete it from the deleted-items collection. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra ID) /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -70,7 +76,7 @@ public async Task DeleteAsync(Action - /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) + /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. For the directory provider, you can also get a soft-deleted custom role definition from the deleted-items collection. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) /// Find more info here /// /// A @@ -120,7 +126,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra ID) + /// Delete a unifiedRoleDefinition object for an RBAC provider. You cannot delete built-in roles. For the directory provider, deleting an active custom role definition soft-deletes it. You can then restore the role or permanently delete it from the deleted-items collection. This feature requires a Microsoft Entra ID P1 or P2 license. The following RBAC providers are currently supported:- Cloud PC- device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra ID) /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -139,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) + /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. For the directory provider, you can also get a soft-deleted custom role definition from the deleted-items collection. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -197,7 +203,7 @@ public partial class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfigu { } /// - /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) + /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. For the directory provider, you can also get a soft-deleted custom role definition from the deleted-items collection. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/DeletedItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/DeletedItemsRequestBuilder.cs new file mode 100644 index 000000000000..606fc791d5c2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/DeletedItemsRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems +{ + /// + /// Provides operations to manage the deletedItems property of the microsoft.graph.rbacApplication entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the roleDefinitions property of the microsoft.graph.directoryRoleManagementDeletedItemContainer entity. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.RoleDefinitionsRequestBuilder RoleDefinitions + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.RoleDefinitionsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeletedItemsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeletedItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property deletedItems for roleManagement + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Container for soft-deleted directory role management resources. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property deletedItems in roleManagement + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property deletedItems for roleManagement + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Container for soft-deleted directory role management resources. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property deletedItems in roleManagement + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.DeletedItemsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.DeletedItemsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Container for soft-deleted directory role management resources. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..9c63dc93603b --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs new file mode 100644 index 000000000000..161019ee0c95 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs new file mode 100644 index 000000000000..63bc8d8eecb5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs @@ -0,0 +1,212 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId +{ + /// + /// Provides operations to call the assignedPrincipals method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/assignedPrincipals(transitive=@transitive,directoryScopeType='@directoryScopeType',directoryScopeId='@directoryScopeId'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,directoryScopeId*,directoryScopeType*,transitive*}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/assignedPrincipals(transitive=@transitive,directoryScopeType='@directoryScopeType',directoryScopeId='@directoryScopeId'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,directoryScopeId*,directoryScopeType*,transitive*}", rawUrl) + { + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Usage: directoryScopeId='@directoryScopeId' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("directoryScopeId")] + public string? DirectoryScopeId { get; set; } +#nullable restore +#else + [QueryParameter("directoryScopeId")] + public string DirectoryScopeId { get; set; } +#endif + /// Usage: directoryScopeType='@directoryScopeType' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("directoryScopeType")] + public string? DirectoryScopeType { get; set; } +#nullable restore +#else + [QueryParameter("directoryScopeType")] + public string DirectoryScopeType { get; set; } +#endif + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + /// Usage: transitive=@transitive + [QueryParameter("transitive")] + public bool? Transitive { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs new file mode 100644 index 000000000000..edadf3a8594c --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId +{ + [Obsolete("This class is obsolete. Use AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse : global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..41f812d49262 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs new file mode 100644 index 000000000000..aca59d57efb5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count; +using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom +{ + /// + /// Provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class InheritsPermissionsFromRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. + /// The unique identifier of unifiedRoleDefinition + /// A + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("unifiedRoleDefinition%2Did1", position); + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public InheritsPermissionsFromRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public InheritsPermissionsFromRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to inheritsPermissionsFrom for roleManagement + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to inheritsPermissionsFrom for roleManagement + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class InheritsPermissionsFromRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class InheritsPermissionsFromRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class InheritsPermissionsFromRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs new file mode 100644 index 000000000000..76af2a9c2f00 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs new file mode 100644 index 000000000000..8c39d10ad489 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs @@ -0,0 +1,212 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId +{ + /// + /// Provides operations to call the assignedPrincipals method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/assignedPrincipals(transitive=@transitive,directoryScopeType='@directoryScopeType',directoryScopeId='@directoryScopeId'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,directoryScopeId*,directoryScopeType*,transitive*}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/assignedPrincipals(transitive=@transitive,directoryScopeType='@directoryScopeType',directoryScopeId='@directoryScopeId'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,directoryScopeId*,directoryScopeType*,transitive*}", rawUrl) + { + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Usage: directoryScopeId='@directoryScopeId' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("directoryScopeId")] + public string? DirectoryScopeId { get; set; } +#nullable restore +#else + [QueryParameter("directoryScopeId")] + public string DirectoryScopeId { get; set; } +#endif + /// Usage: directoryScopeType='@directoryScopeType' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("directoryScopeType")] + public string? DirectoryScopeType { get; set; } +#nullable restore +#else + [QueryParameter("directoryScopeType")] + public string DirectoryScopeType { get; set; } +#endif + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + /// Usage: transitive=@transitive + [QueryParameter("transitive")] + public bool? Transitive { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs new file mode 100644 index 000000000000..8a54e9d2530e --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId +{ + [Obsolete("This class is obsolete. Use AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse : global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..ab2cfc5124b4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs new file mode 100644 index 000000000000..e21d432cfbf8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; +using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item +{ + /// + /// Provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the assignedPrincipals method. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UnifiedRoleDefinitionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UnifiedRoleDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property inheritsPermissionsFrom for roleManagement + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property inheritsPermissionsFrom in roleManagement + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property inheritsPermissionsFrom for roleManagement + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property inheritsPermissionsFrom in roleManagement + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..d15574eede19 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs new file mode 100644 index 000000000000..10d25b0bf468 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -0,0 +1,247 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; +using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom; +using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.Restore; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item +{ + /// + /// Provides operations to manage the roleDefinitions property of the microsoft.graph.directoryRoleManagementDeletedItemContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the assignedPrincipals method. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder InheritsPermissionsFrom + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UnifiedRoleDefinitionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UnifiedRoleDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property roleDefinitions for roleManagement + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The soft-deleted custom role definitions in the directory. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property roleDefinitions in roleManagement + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property roleDefinitions for roleManagement + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The soft-deleted custom role definitions in the directory. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property roleDefinitions in roleManagement + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The soft-deleted custom role definitions in the directory. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/RoleDefinitionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/RoleDefinitionsRequestBuilder.cs new file mode 100644 index 000000000000..bf938e31dbfe --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/DeletedItems/RoleDefinitions/RoleDefinitionsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Count; +using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions +{ + /// + /// Provides operations to manage the roleDefinitions property of the microsoft.graph.directoryRoleManagementDeletedItemContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RoleDefinitionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the roleDefinitions property of the microsoft.graph.directoryRoleManagementDeletedItemContainer entity. + /// The unique identifier of unifiedRoleDefinition + /// A + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("unifiedRoleDefinition%2Did", position); + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RoleDefinitionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RoleDefinitionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/deletedItems/roleDefinitions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The soft-deleted custom role definitions in the directory. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to roleDefinitions for roleManagement + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The soft-deleted custom role definitions in the directory. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to roleDefinitions for roleManagement + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.RoleDefinitionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.RoleDefinitionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The soft-deleted custom role definitions in the directory. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RoleDefinitionsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RoleDefinitionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RoleDefinitionsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RbacApplicationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RbacApplicationItemRequestBuilder.cs index 1d6584140b47..6cab57e84607 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RbacApplicationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RbacApplicationItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems; using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.ResourceNamespaces; using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentApprovals; using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleAssignmentScheduleInstances; @@ -31,6 +32,11 @@ namespace Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RbacApplicationItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the deletedItems property of the microsoft.graph.rbacApplication entity. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.DeletedItemsRequestBuilder DeletedItems + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.DeletedItemsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplication entity. public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.ResourceNamespaces.ResourceNamespacesRequestBuilder ResourceNamespaces { diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..2898eb6ad345 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index 54e1fdbc63c0..b2b9841cc6fa 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; +using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilde { get => new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..7ee4ec78d252 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/enterpriseApps/{rbacApplication%2Did}/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index a2fe6e647e86..48d9ff8ce18b 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EnterpriseApps/Item/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom; +using Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -30,6 +31,11 @@ public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilde { get => new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/DeletedItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/DeletedItemsRequestBuilder.cs new file mode 100644 index 000000000000..5eb686115e3b --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/DeletedItemsRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems +{ + /// + /// Provides operations to manage the deletedItems property of the microsoft.graph.rbacApplication entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the roleDefinitions property of the microsoft.graph.directoryRoleManagementDeletedItemContainer entity. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.RoleDefinitionsRequestBuilder RoleDefinitions + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.RoleDefinitionsRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeletedItemsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeletedItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property deletedItems for roleManagement + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Container for soft-deleted directory role management resources. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property deletedItems in roleManagement + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property deletedItems for roleManagement + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Container for soft-deleted directory role management resources. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property deletedItems in roleManagement + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.DeletedItemsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.DeletedItemsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Container for soft-deleted directory role management resources. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeletedItemsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..81387c6153e8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs new file mode 100644 index 000000000000..ccf5737666a6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs new file mode 100644 index 000000000000..04e946c95824 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs @@ -0,0 +1,212 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId +{ + /// + /// Provides operations to call the assignedPrincipals method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/assignedPrincipals(transitive=@transitive,directoryScopeType='@directoryScopeType',directoryScopeId='@directoryScopeId'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,directoryScopeId*,directoryScopeType*,transitive*}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/assignedPrincipals(transitive=@transitive,directoryScopeType='@directoryScopeType',directoryScopeId='@directoryScopeId'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,directoryScopeId*,directoryScopeType*,transitive*}", rawUrl) + { + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Usage: directoryScopeId='@directoryScopeId' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("directoryScopeId")] + public string? DirectoryScopeId { get; set; } +#nullable restore +#else + [QueryParameter("directoryScopeId")] + public string DirectoryScopeId { get; set; } +#endif + /// Usage: directoryScopeType='@directoryScopeType' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("directoryScopeType")] + public string? DirectoryScopeType { get; set; } +#nullable restore +#else + [QueryParameter("directoryScopeType")] + public string DirectoryScopeType { get; set; } +#endif + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + /// Usage: transitive=@transitive + [QueryParameter("transitive")] + public bool? Transitive { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs new file mode 100644 index 000000000000..5fa835aab890 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId +{ + [Obsolete("This class is obsolete. Use AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse : global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..4434a3b6702f --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs new file mode 100644 index 000000000000..8db7cd14e465 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count; +using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom +{ + /// + /// Provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class InheritsPermissionsFromRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. + /// The unique identifier of unifiedRoleDefinition + /// A + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("unifiedRoleDefinition%2Did1", position); + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public InheritsPermissionsFromRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public InheritsPermissionsFromRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to inheritsPermissionsFrom for roleManagement + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to inheritsPermissionsFrom for roleManagement + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class InheritsPermissionsFromRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class InheritsPermissionsFromRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class InheritsPermissionsFromRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs new file mode 100644 index 000000000000..00246d186577 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs new file mode 100644 index 000000000000..e1cd0e7c787c --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.cs @@ -0,0 +1,212 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId +{ + /// + /// Provides operations to call the assignedPrincipals method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/assignedPrincipals(transitive=@transitive,directoryScopeType='@directoryScopeType',directoryScopeId='@directoryScopeId'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,directoryScopeId*,directoryScopeType*,transitive*}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/assignedPrincipals(transitive=@transitive,directoryScopeType='@directoryScopeType',directoryScopeId='@directoryScopeId'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,directoryScopeId*,directoryScopeType*,transitive*}", rawUrl) + { + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the list of security principals (users, groups, and service principals) that are assigned to a specific role for different scopes either directly or transitively. You can use the $count query parameter to also get the count. This API is supported for the directory (Microsoft Entra ID) provider only. To list the direct and transitive role assignments for a specific principal, use the List transitiveRoleAssignments API. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Usage: directoryScopeId='@directoryScopeId' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("directoryScopeId")] + public string? DirectoryScopeId { get; set; } +#nullable restore +#else + [QueryParameter("directoryScopeId")] + public string DirectoryScopeId { get; set; } +#endif + /// Usage: directoryScopeType='@directoryScopeType' +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("directoryScopeType")] + public string? DirectoryScopeType { get; set; } +#nullable restore +#else + [QueryParameter("directoryScopeType")] + public string DirectoryScopeType { get; set; } +#endif + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + /// Usage: transitive=@transitive + [QueryParameter("transitive")] + public bool? Transitive { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs new file mode 100644 index 000000000000..5396f8dae964 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId/AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse.cs @@ -0,0 +1,28 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId +{ + [Obsolete("This class is obsolete. Use AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse : global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..0e73e786842e --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs new file mode 100644 index 000000000000..b7f4060498e8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; +using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item +{ + /// + /// Provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the assignedPrincipals method. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UnifiedRoleDefinitionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UnifiedRoleDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property inheritsPermissionsFrom for roleManagement + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property inheritsPermissionsFrom in roleManagement + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property inheritsPermissionsFrom for roleManagement + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property inheritsPermissionsFrom in roleManagement + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read-only collection of role definitions that the given role definition inherits from. Only Microsoft Entra built-in roles support this attribute. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..93494a94faef --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs new file mode 100644 index 000000000000..8b43a2287337 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -0,0 +1,247 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; +using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom; +using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.Restore; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item +{ + /// + /// Provides operations to manage the roleDefinitions property of the microsoft.graph.directoryRoleManagementDeletedItemContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the assignedPrincipals method. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the inheritsPermissionsFrom property of the microsoft.graph.unifiedRoleDefinition entity. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder InheritsPermissionsFrom + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UnifiedRoleDefinitionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UnifiedRoleDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions/{unifiedRoleDefinition%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property roleDefinitions for roleManagement + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The soft-deleted custom role definitions in the directory. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property roleDefinitions in roleManagement + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property roleDefinitions for roleManagement + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// The soft-deleted custom role definitions in the directory. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property roleDefinitions in roleManagement + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// The soft-deleted custom role definitions in the directory. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/RoleDefinitionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/RoleDefinitionsRequestBuilder.cs new file mode 100644 index 000000000000..0733e7c6af3e --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/DeletedItems/RoleDefinitions/RoleDefinitionsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Count; +using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions +{ + /// + /// Provides operations to manage the roleDefinitions property of the microsoft.graph.directoryRoleManagementDeletedItemContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RoleDefinitionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the roleDefinitions property of the microsoft.graph.directoryRoleManagementDeletedItemContainer entity. + /// The unique identifier of unifiedRoleDefinition + /// A + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("unifiedRoleDefinition%2Did", position); + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RoleDefinitionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RoleDefinitionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/deletedItems/roleDefinitions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The soft-deleted custom role definitions in the directory. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to roleDefinitions for roleManagement + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The soft-deleted custom role definitions in the directory. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to roleDefinitions for roleManagement + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.RoleDefinitionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.RoleDefinitionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The soft-deleted custom role definitions in the directory. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RoleDefinitionsRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RoleDefinitionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RoleDefinitionsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/EntitlementManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/EntitlementManagementRequestBuilder.cs index a03dc184cbba..aa9c2ce44f27 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/EntitlementManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/EntitlementManagementRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems; using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.ResourceNamespaces; using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentApprovals; using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleAssignmentScheduleInstances; @@ -31,6 +32,11 @@ namespace Microsoft.Graph.Beta.RoleManagement.EntitlementManagement [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class EntitlementManagementRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the deletedItems property of the microsoft.graph.rbacApplication entity. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.DeletedItemsRequestBuilder DeletedItems + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.DeletedItemsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplication entity. public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.ResourceNamespaces.ResourceNamespacesRequestBuilder ResourceNamespaces { diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..daadf479c96b --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index f2495bf2faca..f7a9c11cbe27 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; +using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilde { get => new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..9f805699b141 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index 781a77c5c1e8..f2952df8c183 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom; +using Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -30,6 +31,11 @@ public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilde { get => new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// @@ -69,7 +75,7 @@ public async Task DeleteAsync(Action - /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) + /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. For the directory provider, you can also get a soft-deleted custom role definition from the deleted-items collection. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) /// Find more info here /// /// A @@ -137,7 +143,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) + /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. For the directory provider, you can also get a soft-deleted custom role definition from the deleted-items collection. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -195,7 +201,7 @@ public partial class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfigu { } /// - /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) + /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. For the directory provider, you can also get a soft-deleted custom role definition from the deleted-items collection. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/RoleManagement/Exchange/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/Exchange/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..71074deeb41d --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/Exchange/RoleDefinitions/Item/InheritsPermissionsFrom/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/exchange/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/exchange/roleDefinitions/{unifiedRoleDefinition%2Did}/inheritsPermissionsFrom/{unifiedRoleDefinition%2Did1}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/Exchange/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/Exchange/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index 211bef23c38c..f915245c0736 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/Exchange/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/Exchange/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; +using Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilde { get => new global::Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/RoleManagement/Exchange/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/Exchange/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs new file mode 100644 index 000000000000..58e181283a75 --- /dev/null +++ b/src/Microsoft.Graph/Generated/RoleManagement/Exchange/RoleDefinitions/Item/Restore/RestoreRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.Restore +{ + /// + /// Provides operations to call the restore method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/exchange/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/roleManagement/exchange/roleDefinitions/{unifiedRoleDefinition%2Did}/restore", rawUrl) + { + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Restore a soft-deleted custom unifiedRoleDefinition object to the active role definitions collection for Microsoft Entra directory role management. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/RoleManagement/Exchange/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/Exchange/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index 989d84e1a442..31d5622c7d48 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/Exchange/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/Exchange/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId; using Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom; +using Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.Restore; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -30,6 +31,11 @@ public partial class UnifiedRoleDefinitionItemRequestBuilder : BaseRequestBuilde { get => new global::Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the restore method. + public global::Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.Restore.RestoreRequestBuilder Restore + { + get => new global::Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// @@ -69,7 +75,7 @@ public async Task DeleteAsync(Action - /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) + /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. For the directory provider, you can also get a soft-deleted custom role definition from the deleted-items collection. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) /// Find more info here /// /// A @@ -137,7 +143,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) + /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. For the directory provider, you can also get a soft-deleted custom role definition from the deleted-items collection. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -195,7 +201,7 @@ public partial class UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfigu { } /// - /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) + /// Get the properties and relationships of a unifiedRoleDefinition object of an RBAC provider. For the directory provider, you can also get a soft-deleted custom role definition from the deleted-items collection. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC)- directory (Microsoft Entra directory roles)- entitlement management (Microsoft Entra entitlement management)- Exchange Online (Except China operated by 21Vianet) /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs index 3bab4eda2840..2d31bddd31f8 100644 --- a/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs @@ -39,6 +39,7 @@ using Microsoft.Graph.Beta.Security.TriggerTypes; using Microsoft.Graph.Beta.Security.Triggers; using Microsoft.Graph.Beta.Security.UserSecurityProfiles; +using Microsoft.Graph.Beta.Security.Workbooks; using Microsoft.Graph.Beta.Security.Zones; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -236,6 +237,11 @@ public partial class SecurityRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Security.UserSecurityProfiles.UserSecurityProfilesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the workbooks property of the microsoft.graph.security entity. + public global::Microsoft.Graph.Beta.Security.Workbooks.WorkbooksRequestBuilder Workbooks + { + get => new global::Microsoft.Graph.Beta.Security.Workbooks.WorkbooksRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the zones property of the microsoft.graph.security entity. public global::Microsoft.Graph.Beta.Security.Zones.ZonesRequestBuilder Zones { diff --git a/src/Microsoft.Graph/Generated/Security/Workbooks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Workbooks/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..8571bfcd4205 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Workbooks/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.Workbooks.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/workbooks/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/workbooks/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.Workbooks.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.Workbooks.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Workbooks/Item/WorkbookItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Workbooks/Item/WorkbookItemRequestBuilder.cs new file mode 100644 index 000000000000..ac98d4092102 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Workbooks/Item/WorkbookItemRequestBuilder.cs @@ -0,0 +1,232 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.Workbooks.Item +{ + /// + /// Provides operations to manage the workbooks property of the microsoft.graph.security entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkbookItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public WorkbookItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/workbooks/{workbook%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public WorkbookItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/workbooks/{workbook%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a workbook by its ID. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a workbook by its ID. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.Workbook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create or replace a workbook using a client-selected ID. Supply a GUID in the request URL. Without a conditional header, this method creates the workbook if that ID doesn't exist, or replaces its name and content if it does. Reusing the same GUID preserves the workbook's identity. Updates preserve createdByUpn and createdAtDateTime. The content value replaces the complete JSON document. It isn't a partial update or a nested merge. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.Workbook body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Security.Workbook body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.Workbook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a workbook by its ID. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get a workbook by its ID. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create or replace a workbook using a client-selected ID. Supply a GUID in the request URL. Without a conditional header, this method creates the workbook if that ID doesn't exist, or replaces its name and content if it does. Reusing the same GUID preserves the workbook's identity. Updates preserve createdByUpn and createdAtDateTime. The content value replaces the complete JSON document. It isn't a partial update or a nested merge. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.Workbook body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Security.Workbook body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkbookItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get a workbook by its ID. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkbookItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkbookItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkbookItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Workbooks/WorkbooksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Workbooks/WorkbooksRequestBuilder.cs new file mode 100644 index 000000000000..c65e10d6c49f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Workbooks/WorkbooksRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models.Security; +using Microsoft.Graph.Beta.Security.Workbooks.Count; +using Microsoft.Graph.Beta.Security.Workbooks.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Security.Workbooks +{ + /// + /// Provides operations to manage the workbooks property of the microsoft.graph.security entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkbooksRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Security.Workbooks.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Security.Workbooks.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the workbooks property of the microsoft.graph.security entity. + /// The unique identifier of workbook + /// A + public global::Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("workbook%2Did", position); + return new global::Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public WorkbooksRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/workbooks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public WorkbooksRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/workbooks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get the workbooks in the tenant. The response omits content by default. To retrieve workbook documents in the collection response, explicitly select content, for example, $select=id,name,content. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.WorkbookCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a workbook with a server-generated ID. To deploy a workbook with a stable, client-selected GUID, use Update workbook instead. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Security.Workbook body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.Security.Workbook body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Security.Workbook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the workbooks in the tenant. The response omits content by default. To retrieve workbook documents in the collection response, explicitly select content, for example, $select=id,name,content. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a workbook with a server-generated ID. To deploy a workbook with a stable, client-selected GUID, use Update workbook instead. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Security.Workbook body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.Security.Workbook body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Security.Workbooks.WorkbooksRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Security.Workbooks.WorkbooksRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the workbooks in the tenant. The response omits content by default. To retrieve workbook documents in the collection response, explicitly select content, for example, $select=id,name,content. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkbooksRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkbooksRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class WorkbooksRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs new file mode 100644 index 000000000000..abeb1caa5283 --- /dev/null +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count; +using Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues +{ + /// + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssuesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// The unique identifier of complianceIssue + /// A + public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("complianceIssue%2Did", position); + return new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComplianceIssuesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComplianceIssuesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the complianceIssue objects and their properties for the identityLifecycle of a servicePrincipal. Each issue includes the ruleType that generated it. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssueCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the complianceIssue objects and their properties for the identityLifecycle of a servicePrincipal. Each issue includes the ruleType that generated it. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the complianceIssue objects and their properties for the identityLifecycle of a servicePrincipal. Each issue includes the ruleType that generated it. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssuesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssuesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..00512ae7dda0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs new file mode 100644 index 000000000000..b4495dca1214 --- /dev/null +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs @@ -0,0 +1,126 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item +{ + /// + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssueItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComplianceIssueItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues/{complianceIssue%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComplianceIssueItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/complianceIssues/{complianceIssue%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Read the properties and relationships of a microsoft.graph.identityGovernance.complianceIssue object for the identityLifecycle of a servicePrincipal. The ruleType property indicates which rule caused the noncompliance. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of a microsoft.graph.identityGovernance.complianceIssue object for the identityLifecycle of a servicePrincipal. The ruleType property indicates which rule caused the noncompliance. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read the properties and relationships of a microsoft.graph.identityGovernance.complianceIssue object for the identityLifecycle of a servicePrincipal. The ruleType property indicates which rule caused the noncompliance. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssueItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssueItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs new file mode 100644 index 000000000000..2f4931af7eba --- /dev/null +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy +{ + /// + /// Provides operations to manage the effectiveGoverningPolicy property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EffectiveGoverningPolicyRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EffectiveGoverningPolicyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/effectiveGoverningPolicy{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EffectiveGoverningPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle/effectiveGoverningPolicy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EffectiveGoverningPolicyRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EffectiveGoverningPolicyRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/LifecycleRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/LifecycleRequestBuilder.cs new file mode 100644 index 000000000000..0bcf6a31f881 --- /dev/null +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Lifecycle/LifecycleRequestBuilder.cs @@ -0,0 +1,243 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues; +using Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle +{ + /// + /// Provides operations to manage the lifecycle property of the microsoft.graph.servicePrincipal entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder ComplianceIssues + { + get => new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the effectiveGoverningPolicy property of the microsoft.graph.identityGovernance.identityLifecycle entity. + public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder EffectiveGoverningPolicy + { + get => new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecycleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecycleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/lifecycle{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property lifecycle for servicePrincipals + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of an microsoft.graph.identityGovernance.identityLifecycle object for a servicePrincipal. Use $expand=effectiveGoverningPolicy to retrieve the highest-priority policy governing the identity. The lastAttestationDateTime property can be null for an identity that hasn't yet been attested. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of an identityLifecycle object for a servicePrincipal. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property lifecycle for servicePrincipals + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of an microsoft.graph.identityGovernance.identityLifecycle object for a servicePrincipal. Use $expand=effectiveGoverningPolicy to retrieve the highest-priority policy governing the identity. The lastAttestationDateTime property can be null for an identity that hasn't yet been attested. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of an identityLifecycle object for a servicePrincipal. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.LifecycleRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.LifecycleRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of an microsoft.graph.identityGovernance.identityLifecycle object for a servicePrincipal. Use $expand=effectiveGoverningPolicy to retrieve the highest-priority policy governing the identity. The lastAttestationDateTime property can be null for an identity that hasn't yet been attested. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs new file mode 100644 index 000000000000..6f87b27f736d --- /dev/null +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest +{ + /// + /// Provides operations to call the attest method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceAttestRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceAttestRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/microsoft.graph.identityGovernance.attest", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceAttestRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/microsoft.graph.identityGovernance.attest", rawUrl) + { + } + /// + /// Attest an agent identity through its servicePrincipal to confirm it still meets the requirements of its governing lifecyclePolicy. Attestation updates the identity's lifecycle state and can clear attestation-related compliance issues. + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Attest an agent identity through its servicePrincipal to confirm it still meets the requirements of its governing lifecyclePolicy. Attestation updates the identity's lifecycle state and can clear attestation-related compliance issues. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceAttestRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.cs index 545b4d2fa3a3..3d301b084254 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.cs @@ -22,7 +22,9 @@ using Microsoft.Graph.Beta.ServicePrincipals.Item.GetPasswordSingleSignOnCredentials; using Microsoft.Graph.Beta.ServicePrincipals.Item.HomeRealmDiscoveryPolicies; using Microsoft.Graph.Beta.ServicePrincipals.Item.LicenseDetails; +using Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle; using Microsoft.Graph.Beta.ServicePrincipals.Item.MemberOf; +using Microsoft.Graph.Beta.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest; using Microsoft.Graph.Beta.ServicePrincipals.Item.Oauth2PermissionGrants; using Microsoft.Graph.Beta.ServicePrincipals.Item.OwnedObjects; using Microsoft.Graph.Beta.ServicePrincipals.Item.Owners; @@ -145,11 +147,21 @@ public partial class ServicePrincipalItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.ServicePrincipals.Item.LicenseDetails.LicenseDetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the lifecycle property of the microsoft.graph.servicePrincipal entity. + public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.LifecycleRequestBuilder Lifecycle + { + get => new global::Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.LifecycleRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the memberOf property of the microsoft.graph.servicePrincipal entity. public global::Microsoft.Graph.Beta.ServicePrincipals.Item.MemberOf.MemberOfRequestBuilder MemberOf { get => new global::Microsoft.Graph.Beta.ServicePrincipals.Item.MemberOf.MemberOfRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the attest method. + public global::Microsoft.Graph.Beta.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder MicrosoftGraphIdentityGovernanceAttest + { + get => new global::Microsoft.Graph.Beta.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the oauth2PermissionGrants property of the microsoft.graph.servicePrincipal entity. public global::Microsoft.Graph.Beta.ServicePrincipals.Item.Oauth2PermissionGrants.Oauth2PermissionGrantsRequestBuilder Oauth2PermissionGrants { diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs index f7cf0a94e9d8..53ebbf7a6491 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs @@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs index 9c23ee14779f..7b2a16f36409 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs @@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Shares/Item/Permission/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/Permission/RevokeGrants/RevokeGrantsRequestBuilder.cs index 4d34293ea168..a84d15f7dfd3 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/Permission/RevokeGrants/RevokeGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/Permission/RevokeGrants/RevokeGrantsRequestBuilder.cs @@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs index 8b6dd776e7c1..b565c5504ffd 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs @@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs index 08b30e2e6de1..6d36e7394330 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs @@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs index b4da21680660..8aa3ced98553 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs @@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ActivityLogs/ActivityLogsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ActivityLogs/ActivityLogsRequestBuilder.cs index 30435b255a4f..823c7790e55c 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ActivityLogs/ActivityLogsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ActivityLogs/ActivityLogsRequestBuilder.cs @@ -54,7 +54,8 @@ public ActivityLogsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get activityLogs from solutions + /// Get a list of activityLogBase objects and their properties. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +103,7 @@ public ActivityLogsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ActivityLogBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get activityLogs from solutions + /// Get a list of activityLogBase objects and their properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.ActivityLogs.ActivityLogsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get activityLogs from solutions + /// Get a list of activityLogBase objects and their properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ActivityLogsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ActivityLogs/Item/ActivityLogBaseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ActivityLogs/Item/ActivityLogBaseItemRequestBuilder.cs index fd902c284a5b..07f765ddc4ea 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ActivityLogs/Item/ActivityLogBaseItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/ActivityLogs/Item/ActivityLogBaseItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get activityLogs from solutions + /// The list of activity logs in the tenant. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get activityLogs from solutions + /// The list of activity logs in the tenant. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class ActivityLogBaseItemRequestBuilderDeleteRequestConfiguration { } /// - /// Get activityLogs from solutions + /// The list of activity logs in the tenant. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ActivityLogBaseItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs index e747cae30183..b2c7db9e73dc 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs @@ -11,6 +11,7 @@ using Microsoft.Graph.Beta.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs; using Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting; using Microsoft.Graph.Beta.Solutions.BackupRestore.Enable; +using Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies; using Microsoft.Graph.Beta.Solutions.BackupRestore.ExchangeProtectionPolicies; using Microsoft.Graph.Beta.Solutions.BackupRestore.ExchangeRestoreSessions; using Microsoft.Graph.Beta.Solutions.BackupRestore.ExclusionUnits; @@ -97,6 +98,11 @@ public partial class BackupRestoreRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Solutions.BackupRestore.Enable.EnableRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the entraProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. + public global::Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.EntraProtectionPoliciesRequestBuilder EntraProtectionPolicies + { + get => new global::Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.EntraProtectionPoliciesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the exchangeProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. public global::Microsoft.Graph.Beta.Solutions.BackupRestore.ExchangeProtectionPolicies.ExchangeProtectionPoliciesRequestBuilder ExchangeProtectionPolicies { diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/EntraProtectionPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/EntraProtectionPolicies/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..16e41885bc1e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/EntraProtectionPolicies/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/entraProtectionPolicies/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/entraProtectionPolicies/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/EntraProtectionPolicies/EntraProtectionPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/EntraProtectionPolicies/EntraProtectionPoliciesRequestBuilder.cs new file mode 100644 index 000000000000..42464f16d3d4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/EntraProtectionPolicies/EntraProtectionPoliciesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Count; +using Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies +{ + /// + /// Provides operations to manage the entraProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EntraProtectionPoliciesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the entraProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. + /// The unique identifier of entraProtectionPolicy + /// A + public global::Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("entraProtectionPolicy%2Did", position); + return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EntraProtectionPoliciesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/entraProtectionPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EntraProtectionPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/entraProtectionPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get entraProtectionPolicies from solutions + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EntraProtectionPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to entraProtectionPolicies for solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.EntraProtectionPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.EntraProtectionPolicy body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EntraProtectionPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get entraProtectionPolicies from solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to entraProtectionPolicies for solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.EntraProtectionPolicy body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.EntraProtectionPolicy body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.EntraProtectionPoliciesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.EntraProtectionPoliciesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get entraProtectionPolicies from solutions + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EntraProtectionPoliciesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EntraProtectionPoliciesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EntraProtectionPoliciesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/EntraProtectionPolicies/Item/EntraProtectionPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/EntraProtectionPolicies/Item/EntraProtectionPolicyItemRequestBuilder.cs new file mode 100644 index 000000000000..7399c423977d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/EntraProtectionPolicies/Item/EntraProtectionPolicyItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item +{ + /// + /// Provides operations to manage the entraProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EntraProtectionPolicyItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EntraProtectionPolicyItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/entraProtectionPolicies/{entraProtectionPolicy%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EntraProtectionPolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/entraProtectionPolicies/{entraProtectionPolicy%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property entraProtectionPolicies for solutions + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get entraProtectionPolicies from solutions + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EntraProtectionPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property entraProtectionPolicies in solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.EntraProtectionPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.EntraProtectionPolicy body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EntraProtectionPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property entraProtectionPolicies for solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get entraProtectionPolicies from solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property entraProtectionPolicies in solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.EntraProtectionPolicy body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.EntraProtectionPolicy body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EntraProtectionPolicyItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get entraProtectionPolicies from solutions + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EntraProtectionPolicyItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EntraProtectionPolicyItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EntraProtectionPolicyItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs index 0d0f2ad7ab85..32bafdd23616 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/ContainerTypes/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs @@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs index 59f94b16d09a..07976ec08dfd 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs @@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs index 098a89d3c6d2..55876ba18ead 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs @@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link. + /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs index 8a6851966c6a..6eab203a9f01 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index a46bd48b9bf6..f6179a22e394 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs index c3f4e9e86f4f..4acfa3428a54 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 0622d3fa0680..cdeb6c6cacc0 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/PlannerRequestBuilder.cs index f146b4f88daa..3cc2cb2fa18e 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/PlannerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/PlannerRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.PlansRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder Plans_v2 + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs new file mode 100644 index 000000000000..9ce36cd0eb74 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry +{ + /// + /// Provides operations to call the extendExpiry method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl) + { + } + /// + /// Invoke action extendExpiry + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action extendExpiry + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 7696d69b7a5f..e3edd881feaf 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Archive; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Details; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.GetUsageRights; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Goals; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.HistoryItems; @@ -42,6 +43,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the extendExpiry method. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder ExtendExpiry + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the getUsageRights method. public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder GetUsageRights { diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..6237e69c60f2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans_v2/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans_v2/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs new file mode 100644 index 000000000000..c8fb64a9e4aa --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs new file mode 100644 index 000000000000..9e19af988ae8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2 +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// The unique identifier of plan + /// A + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plan%2Did", position); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs index 71c5a3009619..5c84aa1af628 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 65e0416052d7..1be8dd02558c 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs index 8816a812d9f8..0a9ca0b08f50 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 4a430907dc3b..484644fed65c 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/PlannerRequestBuilder.cs index fe063d5f9d52..21e7cac920f0 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/PlannerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/PlannerRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.PlansRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder Plans_v2 + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs new file mode 100644 index 000000000000..1a2b121fd592 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry +{ + /// + /// Provides operations to call the extendExpiry method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl) + { + } + /// + /// Invoke action extendExpiry + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action extendExpiry + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 191e4e5c06d5..b9610bbbbaf4 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Archive; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Details; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.GetUsageRights; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Goals; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.HistoryItems; @@ -42,6 +43,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the extendExpiry method. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder ExtendExpiry + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the getUsageRights method. public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder GetUsageRights { diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..3b6ed398be4d --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans_v2/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans_v2/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs new file mode 100644 index 000000000000..83b8387645c2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs new file mode 100644 index 000000000000..d55fc35346b2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2 +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// The unique identifier of plan + /// A + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plan%2Did", position); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs index dbbea45cc93c..5bedc36ce201 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 97b65a12c7a6..dec83b3364d4 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs index 88f13f3805d7..24df087d83c1 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index cb93003d5fc4..ceb60e3e2e1b 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/PlannerRequestBuilder.cs index e27fe5dd7d26..d552a8e36dd7 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/PlannerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/PlannerRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.PlansRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder Plans_v2 + { + get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// @@ -41,7 +47,8 @@ public PlannerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Delete navigation property planner for teams + /// Delete a teamsChannelPlanner object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -63,7 +70,8 @@ public async Task DeleteAsync(Action - /// Selective Planner services available to this channel. Currently, only shared channels are supported. Read-only. Nullable. + /// Read the properties and relationships of teamsChannelPlanner object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -86,7 +94,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.TeamsChannelPlanner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the navigation property planner in teams + /// Update the properties of a teamsChannelPlanner object. + /// Find more info here /// /// A /// The request body @@ -111,7 +120,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.TeamsChannelPlanner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete navigation property planner for teams + /// Delete a teamsChannelPlanner object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -130,7 +139,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Selective Planner services available to this channel. Currently, only shared channels are supported. Read-only. Nullable. + /// Read the properties and relationships of teamsChannelPlanner object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -149,7 +158,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property planner in teams + /// Update the properties of a teamsChannelPlanner object. /// /// A /// The request body @@ -188,7 +197,7 @@ public partial class PlannerRequestBuilderDeleteRequestConfiguration : RequestCo { } /// - /// Selective Planner services available to this channel. Currently, only shared channels are supported. Read-only. Nullable. + /// Read the properties and relationships of teamsChannelPlanner object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PlannerRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs new file mode 100644 index 000000000000..781efdb3e4eb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry +{ + /// + /// Provides operations to call the extendExpiry method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl) + { + } + /// + /// Invoke action extendExpiry + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action extendExpiry + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 3c0abcc2e6c2..a68ca51d1634 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Archive; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Buckets; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Details; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.GetUsageRights; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Goals; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.HistoryItems; @@ -42,6 +43,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the extendExpiry method. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder ExtendExpiry + { + get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the getUsageRights method. public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder GetUsageRights { diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..af84c5937cdc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans_v2/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans_v2/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs new file mode 100644 index 000000000000..4f4b1813848e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Item +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs new file mode 100644 index 000000000000..b7cc7c013f51 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Count; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2 +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// The unique identifier of plan + /// A + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plan%2Did", position); + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the plan objects owned by the Teams channel. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the plan objects owned by the Teams channel. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the plan objects owned by the Teams channel. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs index 697848e8a0e7..2990af4e003e 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index ba5ddf31f197..ee5a49fa02f3 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs index 23b7e51d4c76..11aa0c509b8f 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index db37ed81b4f9..fba4bab91d37 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/PlannerRequestBuilder.cs index a5d93053084f..c943fdd85683 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/PlannerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/PlannerRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.PlansRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder Plans_v2 + { + get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs new file mode 100644 index 000000000000..792ade476187 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.ExtendExpiry +{ + /// + /// Provides operations to call the extendExpiry method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl) + { + } + /// + /// Invoke action extendExpiry + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action extendExpiry + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 1938fef3871c..12618a5029a6 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Archive; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Buckets; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Details; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.ExtendExpiry; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.GetUsageRights; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Goals; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.HistoryItems; @@ -42,6 +43,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the extendExpiry method. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder ExtendExpiry + { + get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the getUsageRights method. public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder GetUsageRights { diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..ff489abd43a5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/planner/plans_v2/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/planner/plans_v2/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs new file mode 100644 index 000000000000..1a472e984f13 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Item +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs new file mode 100644 index 000000000000..c0396805caa5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Count; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2 +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// The unique identifier of plan + /// A + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plan%2Did", position); + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs index 9099603f2416..85bc77975644 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 62cf0314a6ee..f6e1cc0fefce 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs index 021443ffd81d..f7cf5b97339c 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 7e0e68a60e4a..1d713296de3f 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/PlannerRequestBuilder.cs index 501b9309fe69..2d6edd2b1496 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/PlannerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/PlannerRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.PlansRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder Plans_v2 + { + get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs new file mode 100644 index 000000000000..0c99621c6298 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry +{ + /// + /// Provides operations to call the extendExpiry method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl) + { + } + /// + /// Invoke action extendExpiry + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action extendExpiry + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 1b54b0ee84d1..dad58919d071 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Archive; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Buckets; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Details; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.GetUsageRights; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Goals; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.HistoryItems; @@ -42,6 +43,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the extendExpiry method. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder ExtendExpiry + { + get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the getUsageRights method. public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder GetUsageRights { diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..83d781db2e24 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans_v2/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans_v2/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs new file mode 100644 index 000000000000..f260298cee5d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Item +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs new file mode 100644 index 000000000000..32e40b14cfff --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Count; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2 +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// The unique identifier of plan + /// A + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plan%2Did", position); + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs index 6ae2256194d9..866a5296166b 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 0c8c015579fb..4af8934a9ec3 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs index b052751aa2c1..d3768461f714 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 5bbe2554098e..ea8feff232a6 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/PlannerRequestBuilder.cs index 0090581fac6f..781b6998cf92 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/PlannerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/PlannerRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.PlansRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder Plans_v2 + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs new file mode 100644 index 000000000000..e126297a9619 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry +{ + /// + /// Provides operations to call the extendExpiry method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl) + { + } + /// + /// Invoke action extendExpiry + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action extendExpiry + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 9ede685d750b..c9c7f45ec210 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Archive; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Buckets; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Details; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.GetUsageRights; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Goals; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.HistoryItems; @@ -42,6 +43,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the extendExpiry method. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder ExtendExpiry + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the getUsageRights method. public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder GetUsageRights { diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..9b49bfcf7f47 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans_v2/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans_v2/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs new file mode 100644 index 000000000000..4fd1413b5a71 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs new file mode 100644 index 000000000000..140bc11f06c9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2 +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// The unique identifier of plan + /// A + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plan%2Did", position); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs index 087b67a8cf3d..ee153e61ddf4 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 7222c4c465dd..efb143ed786c 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs index 42cdda810018..d6458191227e 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 11063384db7e..6f7132b7838a 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/PlannerRequestBuilder.cs index c81ea1bcab1e..f506a05673a2 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/PlannerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/PlannerRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -24,6 +25,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.PlansRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder Plans_v2 + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs new file mode 100644 index 000000000000..db06f1165545 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry +{ + /// + /// Provides operations to call the extendExpiry method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl) + { + } + /// + /// Invoke action extendExpiry + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action extendExpiry + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 3d5dd21d6833..3dde766f19cf 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Archive; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Buckets; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Details; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.GetUsageRights; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Goals; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.HistoryItems; @@ -42,6 +43,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the extendExpiry method. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder ExtendExpiry + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the getUsageRights method. public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder GetUsageRights { diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..ae9bef447f17 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans_v2/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans_v2/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs new file mode 100644 index 000000000000..cce0c6d11147 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs new file mode 100644 index 000000000000..1f45d340274e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2 +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity. + /// The unique identifier of plan + /// A + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plan%2Did", position); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs index f29a1a9fdbdb..4b7a3f001ad9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Delta/DeltaRequestBuilder.cs @@ -34,7 +34,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.CalendarGroups.Item.Calendars.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Delta/DeltaRequestBuilder.cs index 15292c60d95e..9894a454b739 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Delta/DeltaRequestBuilder.cs @@ -34,7 +34,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Users.Item.Calendars.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. + /// Get a set of calendar resources added, updated, or deleted in a user's mailbox. Typically, synchronizing calendars in a mailbox in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). Using deltas allows you to incrementally maintain and synchronize a local store of calendars in the specified mailbox. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeltaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs index 552aedd45177..2618216ed346 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 65a8a224eac8..ef414b7070e1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs index 80a9a046a06b..71249230da33 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 738954efd3fc..8d6693877ff9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs index c7292ded1b90..3e466a456924 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs index 592ecc90c234..71793b8517ec 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs @@ -21,6 +21,38 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The reactionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#nullable restore +#else + public string ReactionId + { + get { return BackingStore?.Get("reactionId"); } + set { BackingStore?.Set("reactionId", value); } + } +#endif /// The reactionType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "reactionId", n => { ReactionId = n.GetStringValue(); } }, { "reactionType", n => { ReactionType = n.GetStringValue(); } }, }; } @@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("reactionId", ReactionId); writer.WriteStringValue("reactionType", ReactionType); writer.WriteAdditionalData(AdditionalData); } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs new file mode 100644 index 000000000000..2d65a16aa196 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/ComplianceIssuesRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Count; +using Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues +{ + /// + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssuesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// The unique identifier of complianceIssue + /// A + public global::Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("complianceIssue%2Did", position); + return new global::Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComplianceIssuesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/lifecycle/complianceIssues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComplianceIssuesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/lifecycle/complianceIssues{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssueCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssuesRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssuesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..1aa572434e30 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/lifecycle/complianceIssues/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/lifecycle/complianceIssues/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs new file mode 100644 index 000000000000..9e9adb3c5e1f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/ComplianceIssues/Item/ComplianceIssueItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Item +{ + /// + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssueItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ComplianceIssueItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/lifecycle/complianceIssues/{complianceIssue%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ComplianceIssueItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/lifecycle/complianceIssues/{complianceIssue%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The collection of compliance issues that describe why the identity is currently non-compliant with its governing policy. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssueItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ComplianceIssueItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs new file mode 100644 index 000000000000..4a378b5b664c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/EffectiveGoverningPolicy/EffectiveGoverningPolicyRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Lifecycle.EffectiveGoverningPolicy +{ + /// + /// Provides operations to manage the effectiveGoverningPolicy property of the microsoft.graph.identityGovernance.identityLifecycle entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EffectiveGoverningPolicyRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EffectiveGoverningPolicyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/lifecycle/effectiveGoverningPolicy{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public EffectiveGoverningPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/lifecycle/effectiveGoverningPolicy{?%24expand,%24select}", rawUrl) + { + } + /// + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The highest-priority lifecycle policy that currently governs the identity. Supports $expand. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EffectiveGoverningPolicyRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EffectiveGoverningPolicyRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/LifecycleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/LifecycleRequestBuilder.cs new file mode 100644 index 000000000000..ed77929b7fe0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Lifecycle/LifecycleRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.IdentityGovernance; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues; +using Microsoft.Graph.Beta.Users.Item.Lifecycle.EffectiveGoverningPolicy; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Lifecycle +{ + /// + /// Provides operations to manage the lifecycle property of the microsoft.graph.user entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the complianceIssues property of the microsoft.graph.identityGovernance.identityLifecycle entity. + public global::Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder ComplianceIssues + { + get => new global::Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the effectiveGoverningPolicy property of the microsoft.graph.identityGovernance.identityLifecycle entity. + public global::Microsoft.Graph.Beta.Users.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder EffectiveGoverningPolicy + { + get => new global::Microsoft.Graph.Beta.Users.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public LifecycleRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/lifecycle{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public LifecycleRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/lifecycle{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property lifecycle for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Lifecycle information for the user. Read-only. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property lifecycle in users + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property lifecycle for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Lifecycle information for the user. Read-only. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property lifecycle in users + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Lifecycle.LifecycleRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Lifecycle.LifecycleRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Lifecycle information for the user. Read-only. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class LifecycleRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/ImportMime/ImportMimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/ImportMime/ImportMimeRequestBuilder.cs new file mode 100644 index 000000000000..31e3dfeb2395 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/ImportMime/ImportMimeRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime +{ + /// + /// Provides operations to call the importMime method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ImportMimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ImportMimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/importMime", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ImportMimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/importMime", rawUrl) + { + } + /// + /// Invoke action importMime + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action importMime + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ImportMimeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs index be33043e0ca1..568ae0bc2eea 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Beta.Models.ODataErrors; using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Copy; +using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime; using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MessageRules; using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Messages; using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Move; @@ -31,6 +32,11 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Copy.CopyRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the importMime method. + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder ImportMime + { + get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MessageRules.MessageRulesRequestBuilder MessageRules { diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ImportMime/ImportMimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ImportMime/ImportMimeRequestBuilder.cs new file mode 100644 index 000000000000..64dfd7989a98 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ImportMime/ImportMimeRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ImportMime +{ + /// + /// Provides operations to call the importMime method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ImportMimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ImportMimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/importMime", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ImportMimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/importMime", rawUrl) + { + } + /// + /// Invoke action importMime + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action importMime + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ImportMime.ImportMimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ImportMime.ImportMimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ImportMimeRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs index 94df32c94a61..9c700354ee87 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders; using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Copy; +using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ImportMime; using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MessageRules; using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Messages; using Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Move; @@ -37,6 +38,11 @@ public partial class MailFolderItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Copy.CopyRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the importMime method. + public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ImportMime.ImportMimeRequestBuilder ImportMime + { + get => new global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ImportMime.ImportMimeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the messageRules property of the microsoft.graph.mailFolder entity. public global::Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MessageRules.MessageRulesRequestBuilder MessageRules { diff --git a/src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceAddSelfAsSponsor/MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceAddSelfAsSponsor/MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder.cs new file mode 100644 index 000000000000..01a93c202da7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceAddSelfAsSponsor/MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor +{ + /// + /// Provides operations to call the addSelfAsSponsor method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/microsoft.graph.identityGovernance.addSelfAsSponsor", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/microsoft.graph.identityGovernance.addSelfAsSponsor", rawUrl) + { + } + /// + /// Invoke action addSelfAsSponsor + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action addSelfAsSponsor + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs new file mode 100644 index 000000000000..fce170d4e9d8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceAttest/MicrosoftGraphIdentityGovernanceAttestRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAttest +{ + /// + /// Provides operations to call the attest method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceAttestRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceAttestRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/microsoft.graph.identityGovernance.attest", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceAttestRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/microsoft.graph.identityGovernance.attest", rawUrl) + { + } + /// + /// Invoke action attest + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action attest + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceAttestRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder.cs new file mode 100644 index 000000000000..c385dce42c33 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor/MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor +{ + /// + /// Provides operations to call the removeSelfAsSponsor method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/microsoft.graph.identityGovernance.removeSelfAsSponsor", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/microsoft.graph.identityGovernance.removeSelfAsSponsor", rawUrl) + { + } + /// + /// Invoke action removeSelfAsSponsor + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action removeSelfAsSponsor + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/PlannerRequestBuilder.cs index bfa1121a077c..ca5f8ab21a15 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/PlannerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/PlannerRequestBuilder.cs @@ -6,9 +6,11 @@ using Microsoft.Graph.Beta.Users.Item.Planner.FavoritePlans; using Microsoft.Graph.Beta.Users.Item.Planner.MyDayTasks; using Microsoft.Graph.Beta.Users.Item.Planner.Plans; +using Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2; using Microsoft.Graph.Beta.Users.Item.Planner.RecentPlans; using Microsoft.Graph.Beta.Users.Item.Planner.RosterPlans; using Microsoft.Graph.Beta.Users.Item.Planner.Tasks; +using Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -45,6 +47,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.PlansRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.plannerUser entity. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Plans_v2RequestBuilder Plans_v2 + { + get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Plans_v2RequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the recentPlans property of the microsoft.graph.plannerUser entity. public global::Microsoft.Graph.Beta.Users.Item.Planner.RecentPlans.RecentPlansRequestBuilder RecentPlans { @@ -60,6 +67,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks.TasksRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the tasks_v2 property of the microsoft.graph.plannerUser entity. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Tasks_v2RequestBuilder Tasks_v2 + { + get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Tasks_v2RequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs new file mode 100644 index 000000000000..99bd4268836d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.ExtendExpiry +{ + /// + /// Provides operations to call the extendExpiry method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public ExtendExpiryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl) + { + } + /// + /// Invoke action extendExpiry + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action extendExpiry + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ExtendExpiryRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index ea11f2381d84..fa317081e6b7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -5,6 +5,7 @@ using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Archive; using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Buckets; using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Details; +using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.ExtendExpiry; using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.GetUsageRights; using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Goals; using Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.HistoryItems; @@ -42,6 +43,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the extendExpiry method. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder ExtendExpiry + { + get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the getUsageRights method. public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder GetUsageRights { diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..28591b3637a7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/plans_v2/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/plans_v2/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs new file mode 100644 index 000000000000..2605fb999261 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Item +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.plannerUser entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public PlanItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans associated with the user. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans associated with the user. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 plans associated with the user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PlanItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs new file mode 100644 index 000000000000..85d7ba7bf79c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Count; +using Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2 +{ + /// + /// Provides operations to manage the plans_v2 property of the microsoft.graph.plannerUser entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the plans_v2 property of the microsoft.graph.plannerUser entity. + /// The unique identifier of plan + /// A + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("plan%2Did", position); + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public Plans_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the plan objects associated with the user. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the plan objects associated with the user. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Plans_v2RequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Plans_v2RequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the plan objects associated with the user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Plans_v2RequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks_v2/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks_v2/Count/CountRequestBuilder.cs new file mode 100644 index 000000000000..ece7319c7a23 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks_v2/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/tasks_v2/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/tasks_v2/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks_v2/Item/TaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks_v2/Item/TaskItemRequestBuilder.cs new file mode 100644 index 000000000000..4ea4d5bf24fd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks_v2/Item/TaskItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Item +{ + /// + /// Provides operations to manage the tasks_v2 property of the microsoft.graph.plannerUser entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TaskItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public TaskItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/tasks_v2/{task%2Did}{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public TaskItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/tasks_v2/{task%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 tasks assigned to the user. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 tasks assigned to the user. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Item.TaskItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Item.TaskItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Read-only. Nullable. The collection of Planner Graph V4 tasks assigned to the user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TaskItemRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class TaskItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks_v2/Tasks_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks_v2/Tasks_v2RequestBuilder.cs new file mode 100644 index 000000000000..901233222b4b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks_v2/Tasks_v2RequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Count; +using Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2 +{ + /// + /// Provides operations to manage the tasks_v2 property of the microsoft.graph.plannerUser entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Tasks_v2RequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the tasks_v2 property of the microsoft.graph.plannerUser entity. + /// The unique identifier of task + /// A + public global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Item.TaskItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("task%2Did", position); + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Item.TaskItemRequestBuilder(urlTplParams, RequestAdapter); + } + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public Tasks_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/tasks_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public Tasks_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/planner/tasks_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the task objects assigned to the user. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the task objects assigned to the user. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Tasks_v2RequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Tasks_v2RequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the task objects assigned to the user. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Tasks_v2RequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Order items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24orderby")] + public string[]? Orderby { get; set; } +#nullable restore +#else + [QueryParameter("%24orderby")] + public string[] Orderby { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class Tasks_v2RequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs index c263d27c3e3a..b8831f1e8005 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs @@ -70,6 +70,7 @@ using Microsoft.Graph.Beta.Users.Item.JoinedGroups; using Microsoft.Graph.Beta.Users.Item.JoinedTeams; using Microsoft.Graph.Beta.Users.Item.LicenseDetails; +using Microsoft.Graph.Beta.Users.Item.Lifecycle; using Microsoft.Graph.Beta.Users.Item.MailFolders; using Microsoft.Graph.Beta.Users.Item.MailboxSettings; using Microsoft.Graph.Beta.Users.Item.ManagedAppLogCollectionRequests; @@ -78,6 +79,9 @@ using Microsoft.Graph.Beta.Users.Item.Manager; using Microsoft.Graph.Beta.Users.Item.MemberOf; using Microsoft.Graph.Beta.Users.Item.Messages; +using Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor; +using Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAttest; +using Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor; using Microsoft.Graph.Beta.Users.Item.MobileAppIntentAndStates; using Microsoft.Graph.Beta.Users.Item.MobileAppTroubleshootingEvents; using Microsoft.Graph.Beta.Users.Item.Notifications; @@ -462,6 +466,11 @@ public partial class UserItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.LicenseDetails.LicenseDetailsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the lifecycle property of the microsoft.graph.user entity. + public global::Microsoft.Graph.Beta.Users.Item.Lifecycle.LifecycleRequestBuilder Lifecycle + { + get => new global::Microsoft.Graph.Beta.Users.Item.Lifecycle.LifecycleRequestBuilder(PathParameters, RequestAdapter); + } /// The mailboxSettings property public global::Microsoft.Graph.Beta.Users.Item.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings { @@ -502,6 +511,21 @@ public partial class UserItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the addSelfAsSponsor method. + public global::Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder MicrosoftGraphIdentityGovernanceAddSelfAsSponsor + { + get => new global::Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the attest method. + public global::Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder MicrosoftGraphIdentityGovernanceAttest + { + get => new global::Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the removeSelfAsSponsor method. + public global::Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor + { + get => new global::Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the mobileAppIntentAndStates property of the microsoft.graph.user entity. public global::Microsoft.Graph.Beta.Users.Item.MobileAppIntentAndStates.MobileAppIntentAndStatesRequestBuilder MobileAppIntentAndStates { diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index 193259cb8ab8..0dbd94ffbff4 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -12795,7 +12795,9 @@ Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.HostedContents.Item.V Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody @@ -12824,7 +12826,9 @@ Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete.undoSo Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -12878,7 +12882,9 @@ Microsoft.Graph.Beta.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWithQu Microsoft.Graph.Beta.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Chats.Item.Messages.Item.SetReaction.SetReactionPostRequestBody @@ -12907,7 +12913,9 @@ Microsoft.Graph.Beta.Chats.Item.Messages.Item.UndoSoftDelete.undoSoftDeleteReque Microsoft.Graph.Beta.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Chats.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -13411,7 +13419,9 @@ Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.HostedContent Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody @@ -13440,7 +13450,9 @@ Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDelet Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -50746,6 +50758,37 @@ Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item. Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BatchCleanupUserSettingsPersistenceProfile.batchCleanupUserSettingsPersistenceProfileRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BatchCleanupUserSettingsPersistenceProfile.BatchCleanupUserSettingsPersistenceProfilePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BatchCleanupUserSettingsPersistenceProfile.batchCleanupUserSettingsPersistenceProfileRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BatchCleanupUserSettingsPersistenceProfile.BatchCleanupUserSettingsPersistenceProfilePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BatchCleanupUserSettingsPersistenceProfile.batchCleanupUserSettingsPersistenceProfileRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BatchCleanupUserSettingsPersistenceProfile.BatchCleanupUserSettingsPersistenceProfileRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.bulkCreateUserProfileSnapshotPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.bulkCreateUserProfileSnapshotPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.bulkCreateUserProfileSnapshotPostRequestBody::|public|CloudProfileIds:List +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.bulkCreateUserProfileSnapshotPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.bulkCreateUserProfileSnapshotPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.bulkCreateUserProfileSnapshotPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.bulkCreateUserProfileSnapshotPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotPostRequestBody +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.bulkCreateUserProfileSnapshotPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.bulkCreateUserProfileSnapshotRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.bulkCreateUserProfileSnapshotRequestBuilder.bulkCreateUserProfileSnapshotRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.bulkCreateUserProfileSnapshotRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.bulkCreateUserProfileSnapshotRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.bulkCreateUserProfileSnapshotRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudPcUserProfileBulkActionResult +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.bulkCreateUserProfileSnapshotRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.bulkCreateUserProfileSnapshotRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.bulkExportUserProfileSnapshotPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.bulkExportUserProfileSnapshotPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.bulkExportUserProfileSnapshotPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.bulkExportUserProfileSnapshotPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.bulkExportUserProfileSnapshotPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.bulkExportUserProfileSnapshotPostRequestBody::|public|SnapshotIds:List +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.bulkExportUserProfileSnapshotPostRequestBody::|public|StorageDetail:global.Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotStorageDetail +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.bulkExportUserProfileSnapshotPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotPostRequestBody +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.bulkExportUserProfileSnapshotPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.bulkExportUserProfileSnapshotRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.bulkExportUserProfileSnapshotRequestBuilder.bulkExportUserProfileSnapshotRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.bulkExportUserProfileSnapshotRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.bulkExportUserProfileSnapshotRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.bulkExportUserProfileSnapshotRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudPcUserProfileBulkActionResult +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.bulkExportUserProfileSnapshotRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.bulkExportUserProfileSnapshotRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.RetrieveUserSettingsPersistenceProfilesWithConfigurationId.retrieveUserSettingsPersistenceProfilesWithConfigurationIdGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.RetrieveUserSettingsPersistenceProfilesWithConfigurationId.retrieveUserSettingsPersistenceProfilesWithConfigurationIdGetResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.RetrieveUserSettingsPersistenceProfilesWithConfigurationId.retrieveUserSettingsPersistenceProfilesWithConfigurationIdGetResponse::|public|Serialize(writer:ISerializationWriter):void @@ -50773,6 +50816,66 @@ Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item. Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.RetrieveUserSettingsPersistenceProfileUsageWithConfigurationId.retrieveUserSettingsPersistenceProfileUsageWithConfigurationIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceUsageResult Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.RetrieveUserSettingsPersistenceProfileUsageWithConfigurationId.retrieveUserSettingsPersistenceProfileUsageWithConfigurationIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.RetrieveUserSettingsPersistenceProfileUsageWithConfigurationId.retrieveUserSettingsPersistenceProfileUsageWithConfigurationIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.RetrieveUserSettingsPersistenceProfileUsageWithConfigurationId.RetrieveUserSettingsPersistenceProfileUsageWithConfigurationIdRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder.CloudPcUserProfileSnapshotItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder.CloudPcUserProfileSnapshotItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder.CloudPcUserProfileSnapshotItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder.CloudPcUserProfileSnapshotItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder.CloudPcUserProfileSnapshotItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.restorePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.restorePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.restorePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.restorePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.restorePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.restorePostRequestBody::|public|TargetAssignmentId:string +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.restorePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestorePostRequestBody +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.restorePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.restoreRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestorePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder.userProfileSnapshotsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder.userProfileSnapshotsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder.userProfileSnapshotsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder.userProfileSnapshotsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder.userProfileSnapshotsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder.userProfileSnapshotsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder.userProfileSnapshotsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder.userProfileSnapshotsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder.userProfileSnapshotsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder.userProfileSnapshotsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder::[CloudPcUserProfileSnapshotId:string]:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotCollectionResponse +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.userProfileSnapshotsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.UserProfileSnapshotsRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.userSettingsPersistenceDetailRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.userSettingsPersistenceDetailRequestBuilder.userSettingsPersistenceDetailRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.userSettingsPersistenceDetailRequestBuilder.userSettingsPersistenceDetailRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -50780,6 +50883,8 @@ Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item. Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.userSettingsPersistenceDetailRequestBuilder.userSettingsPersistenceDetailRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.userSettingsPersistenceDetailRequestBuilder.userSettingsPersistenceDetailRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.userSettingsPersistenceDetailRequestBuilder::|public|batchCleanupUserSettingsPersistenceProfile:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BatchCleanupUserSettingsPersistenceProfile.BatchCleanupUserSettingsPersistenceProfileRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.userSettingsPersistenceDetailRequestBuilder::|public|bulkCreateUserProfileSnapshot:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotRequestBuilder +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.userSettingsPersistenceDetailRequestBuilder::|public|bulkExportUserProfileSnapshot:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.userSettingsPersistenceDetailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.userSettingsPersistenceDetailRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.userSettingsPersistenceDetailRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void @@ -50790,6 +50895,7 @@ Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item. Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.userSettingsPersistenceDetailRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.userSettingsPersistenceDetailRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.userSettingsPersistenceDetailRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceDetail; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.userSettingsPersistenceDetailRequestBuilder::|public|userProfileSnapshots:global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.UserProfileSnapshotsRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.userSettingsPersistenceDetailRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserSettingsPersistenceDetailRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.CloudPcProvisioningPolicyItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.CloudPcProvisioningPolicyItemRequestBuilder.CloudPcProvisioningPolicyItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration @@ -96574,6 +96680,7 @@ Microsoft.Graph.Beta.Groups.Item.Planner.plannerRequestBuilder::|public|DeleteAs Microsoft.Graph.Beta.Groups.Item.Planner.plannerRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerGroup Microsoft.Graph.Beta.Groups.Item.Planner.plannerRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerGroup; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerGroup Microsoft.Graph.Beta.Groups.Item.Planner.plannerRequestBuilder::|public|plans:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.plannerRequestBuilder::|public|plans_v2:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Groups.Item.Planner.plannerRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Planner.plannerRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Planner.plannerRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerGroup; requestConfiguration?:Action>):RequestInformation @@ -96918,6 +97025,13 @@ Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Details.detailsRequestBuilde Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlanDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder.extendExpiryRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder.getUsageRightsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -97031,6 +97145,7 @@ Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilde Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|extendExpiry:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerPlan Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|getUsageRights:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|goals:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder @@ -97288,6 +97403,41 @@ Microsoft.Graph.Beta.Groups.Item.Planner.Plans.plansRequestBuilder::|public|Post Microsoft.Graph.Beta.Groups.Item.Planner.Plans.plansRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Planner.Plans.plansRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlan; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Planner.Plans.plansRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Plan +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.plans_v2RequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.plans_v2RequestBuilder::[PlanId:string]:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlanCollectionResponse +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Groups.Item.RejectedSenders.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.RejectedSenders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Groups.Item.RejectedSenders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -106941,7 +107091,9 @@ Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.H Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody @@ -106970,7 +107122,9 @@ Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.U Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -107024,7 +107178,9 @@ Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.Replies.ReplyW Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.SetReaction.SetReactionPostRequestBody @@ -107053,7 +107209,9 @@ Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.UndoSoftDelete Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -107116,6 +107274,7 @@ Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.plannerRequestBuilde Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.plannerRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.plannerRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.plannerRequestBuilder::|public|plans:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.plannerRequestBuilder::|public|plans_v2:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.plannerRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.plannerRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.plannerRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner; requestConfiguration?:Action>):RequestInformation @@ -107460,6 +107619,13 @@ Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Details.d Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlanDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder.extendExpiryRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder.getUsageRightsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -107573,6 +107739,7 @@ Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.PlannerPl Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|extendExpiry:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerPlan Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|getUsageRights:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|goals:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder @@ -107830,6 +107997,41 @@ Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.plansRequestBu Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.plansRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.plansRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlan; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.plansRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Plan +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::[PlanId:string]:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlanCollectionResponse +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder.provisionEmailRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -109142,7 +109344,9 @@ Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item. Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody @@ -109171,7 +109375,9 @@ Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item. Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -109225,7 +109431,9 @@ Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.Replies.Reply Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.SetReaction.SetReactionPostRequestBody @@ -109254,7 +109462,9 @@ Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.UndoSoftDelet Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -109317,6 +109527,7 @@ Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.plannerRequestBuild Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.plannerRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.plannerRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.plannerRequestBuilder::|public|plans:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.plannerRequestBuilder::|public|plans_v2:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.plannerRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.plannerRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.plannerRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner; requestConfiguration?:Action>):RequestInformation @@ -109661,6 +109872,13 @@ Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Details. Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlanDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder.extendExpiryRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder.getUsageRightsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -109774,6 +109992,7 @@ Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.PlannerP Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|extendExpiry:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerPlan Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|getUsageRights:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|goals:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder @@ -110031,6 +110250,41 @@ Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.plansRequestB Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.plansRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.plansRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlan; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.plansRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Plan +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::[PlanId:string]:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlanCollectionResponse +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -134345,10 +134599,337 @@ Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.deletedI Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.deletedItemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.deletedItemsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.deletedItemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DeletedItemContainer +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.deletedItemsRequestBuilder::|public|lifecyclePolicies:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.LifecyclePoliciesRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.deletedItemsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.deletedItemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.deletedItemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.DeletedItemsRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.deletedItemsRequestBuilder::|public|workflows:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.WorkflowsRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|createdBy:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|lastModifiedBy:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|report:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.ReportRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|rules:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.RulesRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|versions:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.VersionsRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|EndDateTime:DateTimeOffset? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|StartDateTime:DateTimeOffset? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsImpactWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder.microsoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder.reportRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder.reportRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder.reportRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReport +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|subjects:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.ReportRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReport +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::[LifecyclePolicySubjectReportId:string]:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder::[LifecyclePolicyRuleId:string]:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Rules.RulesRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|createdBy:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|lastModifiedBy:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|report:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|rules:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|EndDateTime:DateTimeOffset? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|StartDateTime:DateTimeOffset? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsImpactWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder.microsoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder.reportRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder.reportRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder.reportRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReport +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|subjects:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReport +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::[LifecyclePolicySubjectReportId:string]:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::[LifecyclePolicyRuleId:string]:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder::[LifecyclePolicyId1:string]:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyCollectionResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.Versions.VersionsRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder::[LifecyclePolicyId:string]:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyCollectionResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.LifecyclePolicies.LifecyclePoliciesRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -136521,6 +137102,373 @@ Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Insights.MicrosoftGra Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Insights.MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.WorkflowsInsightsSummary Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Insights.MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Insights.MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Insights.MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.createdByRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|createdBy:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.CreatedBy.CreatedByRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|lastModifiedBy:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LastModifiedBy.LastModifiedByRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|report:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.ReportRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|rules:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.RulesRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|versions:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.VersionsRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|EndDateTime:DateTimeOffset? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|StartDateTime:DateTimeOffset? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsImpactWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder.microsoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder.reportRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder.reportRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder.reportRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReport +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|subjects:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.reportRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.ReportRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReport +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::[LifecyclePolicySubjectReportId:string]:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.subjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Report.Subjects.SubjectsRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder::[LifecyclePolicyRuleId:string]:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.rulesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Rules.RulesRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder.createdByRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.createdByRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder.lastModifiedByRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.lastModifiedByRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder.LifecyclePolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|createdBy:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.CreatedBy.CreatedByRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|lastModifiedBy:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LastModifiedBy.LastModifiedByRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|report:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|rules:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.impactWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|EndDateTime:DateTimeOffset? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|StartDateTime:DateTimeOffset? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsImpactWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.ImpactWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.microsoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTime.MicrosoftGraphIdentityGovernanceImpactWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder.microsoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder.reportRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder.reportRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder.reportRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReport +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|subjects:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.reportRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.ReportRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder.LifecyclePolicySubjectReportItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReport +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder.subjectsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::[LifecyclePolicySubjectReportId:string]:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Item.LifecyclePolicySubjectReportItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.subjectsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Report.Subjects.SubjectsRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder.LifecyclePolicyRuleItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder.rulesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::[LifecyclePolicyRuleId:string]:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Item.LifecyclePolicyRuleItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.rulesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.Rules.RulesRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder.versionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder::[LifecyclePolicyId1:string]:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.Item.LifecyclePolicyItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyCollectionResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.versionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.Versions.VersionsRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder.lifecyclePoliciesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder::[LifecyclePolicyId:string]:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Item.LifecyclePolicyItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyCollectionResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.lifecyclePoliciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.LifecyclePoliciesRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.LifecyclePolicyPriorityConfigurationItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.LifecyclePolicyPriorityConfigurationItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.LifecyclePolicyPriorityConfigurationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder.LifecyclePolicyPriorityConfigurationItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder.lifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder.lifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder.lifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder.lifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder.lifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder.lifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder.lifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder.lifecyclePolicyPriorityConfigurationsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder.lifecyclePolicyPriorityConfigurationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder::[LifecyclePolicyPriorityConfigurationId:string]:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Item.LifecyclePolicyPriorityConfigurationItemRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.Count.CountRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfigurationCollectionResponse +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.lifecyclePolicyPriorityConfigurationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder.lifecycleWorkflowsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder.lifecycleWorkflowsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -136534,6 +137482,8 @@ Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsReq Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder::|public|deletedItems:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.DeletedItems.DeletedItemsRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecycleWorkflowsContainer Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder::|public|insights:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Insights.InsightsRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder::|public|lifecyclePolicies:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicies.LifecyclePoliciesRequestBuilder +Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder::|public|lifecyclePolicyPriorityConfigurations:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.LifecyclePolicyPriorityConfigurations.LifecyclePolicyPriorityConfigurationsRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecycleWorkflowsContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecycleWorkflowsContainer Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder::|public|settings:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.Settings.SettingsRequestBuilder Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.lifecycleWorkflowsRequestBuilder::|public|taskDefinitions:global.Microsoft.Graph.Beta.IdentityGovernance.LifecycleWorkflows.TaskDefinitions.TaskDefinitionsRequestBuilder @@ -146713,7 +147663,9 @@ Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.HostedContents.Ite Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody @@ -146742,7 +147694,9 @@ Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.UndoSoftDelete.und Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -146796,7 +147750,9 @@ Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.Replies.ReplyWithQuote.replyWit Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.SetReaction.SetReactionPostRequestBody @@ -146825,7 +147781,9 @@ Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.UndoSoftDelete.undoSoftDeleteRe Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Chats.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -147329,7 +148287,9 @@ Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.HostedCont Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody @@ -147358,7 +148318,9 @@ Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UndoSoftDe Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -152820,6 +153782,67 @@ Microsoft.Graph.Beta.Me.LicenseDetails.licenseDetailsRequestBuilder::|public|Pos Microsoft.Graph.Beta.Me.LicenseDetails.licenseDetailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.LicenseDetails.licenseDetailsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.LicenseDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.LicenseDetails.licenseDetailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.LicenseDetails.LicenseDetailsRequestBuilder +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::[ComplianceIssueId:string]:global.Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssueCollectionResponse +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssue +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder +Microsoft.Graph.Beta.Me.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder.effectiveGoverningPolicyRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder.effectiveGoverningPolicyRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder.effectiveGoverningPolicyRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Beta.Me.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder +Microsoft.Graph.Beta.Me.Lifecycle.lifecycleRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Lifecycle.lifecycleRequestBuilder::|public|complianceIssues:global.Microsoft.Graph.Beta.Me.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder +Microsoft.Graph.Beta.Me.Lifecycle.lifecycleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Lifecycle.lifecycleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Lifecycle.lifecycleRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Lifecycle.lifecycleRequestBuilder::|public|effectiveGoverningPolicy:global.Microsoft.Graph.Beta.Me.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder +Microsoft.Graph.Beta.Me.Lifecycle.lifecycleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle +Microsoft.Graph.Beta.Me.Lifecycle.lifecycleRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle +Microsoft.Graph.Beta.Me.Lifecycle.lifecycleRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Lifecycle.lifecycleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Lifecycle.lifecycleRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Lifecycle.lifecycleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Lifecycle.LifecycleRequestBuilder Microsoft.Graph.Beta.Me.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Me.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] @@ -152935,6 +153958,13 @@ Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuild Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder.importMimeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Message +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -152947,6 +153977,7 @@ Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequest Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|copy:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Copy.CopyRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolder +Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|importMime:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|messageRules:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MessageRules.MessageRulesRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|move:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ChildFolders.Item.Move.MoveRequestBuilder @@ -153563,6 +154594,13 @@ Microsoft.Graph.Beta.Me.MailFolders.Item.Copy.copyRequestBuilder::|public|constr Microsoft.Graph.Beta.Me.MailFolders.Item.Copy.copyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.MailFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolder Microsoft.Graph.Beta.Me.MailFolders.Item.Copy.copyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.MailFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.MailFolders.Item.Copy.copyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MailFolders.Item.Copy.CopyRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.ImportMime.importMimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.MailFolders.Item.ImportMime.importMimeRequestBuilder.importMimeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Message +Microsoft.Graph.Beta.Me.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MailFolders.Item.ImportMime.ImportMimeRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -153575,6 +154613,7 @@ Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|c Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|copy:global.Microsoft.Graph.Beta.Me.MailFolders.Item.Copy.CopyRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolder +Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|importMime:global.Microsoft.Graph.Beta.Me.MailFolders.Item.ImportMime.ImportMimeRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|messageRules:global.Microsoft.Graph.Beta.Me.MailFolders.Item.MessageRules.MessageRulesRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Me.MailFolders.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Me.MailFolders.Item.MailFolderItemRequestBuilder::|public|move:global.Microsoft.Graph.Beta.Me.MailFolders.Item.Move.MoveRequestBuilder @@ -155822,6 +156861,7 @@ Microsoft.Graph.Beta.Me.meRequestBuilder::|public|isManagedAppUserBlocked:global Microsoft.Graph.Beta.Me.meRequestBuilder::|public|joinedGroups:global.Microsoft.Graph.Beta.Me.JoinedGroups.JoinedGroupsRequestBuilder Microsoft.Graph.Beta.Me.meRequestBuilder::|public|joinedTeams:global.Microsoft.Graph.Beta.Me.JoinedTeams.JoinedTeamsRequestBuilder Microsoft.Graph.Beta.Me.meRequestBuilder::|public|licenseDetails:global.Microsoft.Graph.Beta.Me.LicenseDetails.LicenseDetailsRequestBuilder +Microsoft.Graph.Beta.Me.meRequestBuilder::|public|lifecycle:global.Microsoft.Graph.Beta.Me.Lifecycle.LifecycleRequestBuilder Microsoft.Graph.Beta.Me.meRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Beta.Me.MailboxSettings.MailboxSettingsRequestBuilder Microsoft.Graph.Beta.Me.meRequestBuilder::|public|mailFolders:global.Microsoft.Graph.Beta.Me.MailFolders.MailFoldersRequestBuilder Microsoft.Graph.Beta.Me.meRequestBuilder::|public|managedAppLogCollectionRequests:global.Microsoft.Graph.Beta.Me.ManagedAppLogCollectionRequests.ManagedAppLogCollectionRequestsRequestBuilder @@ -155830,6 +156870,9 @@ Microsoft.Graph.Beta.Me.meRequestBuilder::|public|managedDevices:global.Microsof Microsoft.Graph.Beta.Me.meRequestBuilder::|public|manager:global.Microsoft.Graph.Beta.Me.Manager.ManagerRequestBuilder Microsoft.Graph.Beta.Me.meRequestBuilder::|public|memberOf:global.Microsoft.Graph.Beta.Me.MemberOf.MemberOfRequestBuilder Microsoft.Graph.Beta.Me.meRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Me.Messages.MessagesRequestBuilder +Microsoft.Graph.Beta.Me.meRequestBuilder::|public|microsoftGraphIdentityGovernanceAddSelfAsSponsor:global.Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder +Microsoft.Graph.Beta.Me.meRequestBuilder::|public|microsoftGraphIdentityGovernanceAttest:global.Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder +Microsoft.Graph.Beta.Me.meRequestBuilder::|public|microsoftGraphIdentityGovernanceRemoveSelfAsSponsor:global.Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder Microsoft.Graph.Beta.Me.meRequestBuilder::|public|mobileAppIntentAndStates:global.Microsoft.Graph.Beta.Me.MobileAppIntentAndStates.MobileAppIntentAndStatesRequestBuilder Microsoft.Graph.Beta.Me.meRequestBuilder::|public|mobileAppTroubleshootingEvents:global.Microsoft.Graph.Beta.Me.MobileAppTroubleshootingEvents.MobileAppTroubleshootingEventsRequestBuilder Microsoft.Graph.Beta.Me.meRequestBuilder::|public|notifications:global.Microsoft.Graph.Beta.Me.Notifications.NotificationsRequestBuilder @@ -156322,6 +157365,27 @@ Microsoft.Graph.Beta.Me.Messages.messagesRequestBuilder::|public|PostAsync(body: Microsoft.Graph.Beta.Me.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Message; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Messages.MessagesRequestBuilder +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder.microsoftGraphIdentityGovernanceAttestRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder Microsoft.Graph.Beta.Me.MobileAppIntentAndStates.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.MobileAppIntentAndStates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Me.MobileAppIntentAndStates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -161283,9 +162347,11 @@ Microsoft.Graph.Beta.Me.Planner.plannerRequestBuilder::|public|GetAsync(requestC Microsoft.Graph.Beta.Me.Planner.plannerRequestBuilder::|public|myDayTasks:global.Microsoft.Graph.Beta.Me.Planner.MyDayTasks.MyDayTasksRequestBuilder Microsoft.Graph.Beta.Me.Planner.plannerRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerUser; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerUser Microsoft.Graph.Beta.Me.Planner.plannerRequestBuilder::|public|plans:global.Microsoft.Graph.Beta.Me.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Me.Planner.plannerRequestBuilder::|public|plans_v2:global.Microsoft.Graph.Beta.Me.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Me.Planner.plannerRequestBuilder::|public|recentPlans:global.Microsoft.Graph.Beta.Me.Planner.RecentPlans.RecentPlansRequestBuilder Microsoft.Graph.Beta.Me.Planner.plannerRequestBuilder::|public|rosterPlans:global.Microsoft.Graph.Beta.Me.Planner.RosterPlans.RosterPlansRequestBuilder Microsoft.Graph.Beta.Me.Planner.plannerRequestBuilder::|public|tasks:global.Microsoft.Graph.Beta.Me.Planner.Tasks.TasksRequestBuilder +Microsoft.Graph.Beta.Me.Planner.plannerRequestBuilder::|public|tasks_v2:global.Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Tasks_v2RequestBuilder Microsoft.Graph.Beta.Me.Planner.plannerRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Planner.plannerRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Planner.plannerRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerUser; requestConfiguration?:Action>):RequestInformation @@ -161630,6 +162696,13 @@ Microsoft.Graph.Beta.Me.Planner.Plans.Item.Details.detailsRequestBuilder::|publi Microsoft.Graph.Beta.Me.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlanDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Planner.Plans.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder.extendExpiryRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Me.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder.getUsageRightsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -161743,6 +162816,7 @@ Microsoft.Graph.Beta.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|publi Microsoft.Graph.Beta.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|extendExpiry:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerPlan Microsoft.Graph.Beta.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|getUsageRights:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder Microsoft.Graph.Beta.Me.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|goals:global.Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals.GoalsRequestBuilder @@ -162000,6 +163074,41 @@ Microsoft.Graph.Beta.Me.Planner.Plans.plansRequestBuilder::|public|PostAsync(bod Microsoft.Graph.Beta.Me.Planner.Plans.plansRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Planner.Plans.plansRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlan; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Planner.Plans.plansRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans_v2.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans_v2.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.Planner.Plans_v2.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans_v2.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans_v2.Item.PlanItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Plan +Microsoft.Graph.Beta.Me.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans_v2.plans_v2RequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Plans_v2.plans_v2RequestBuilder::[PlanId:string]:global.Microsoft.Graph.Beta.Me.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Plans_v2.plans_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Plans_v2.plans_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlanCollectionResponse +Microsoft.Graph.Beta.Me.Planner.Plans_v2.plans_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Plans_v2.plans_v2RequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Me.Planner.RecentPlans.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.Planner.RecentPlans.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Me.Planner.RecentPlans.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -162279,6 +163388,41 @@ Microsoft.Graph.Beta.Me.Planner.Tasks.tasksRequestBuilder::|public|PostAsync(bod Microsoft.Graph.Beta.Me.Planner.Tasks.tasksRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Planner.Tasks.tasksRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Planner.Tasks.tasksRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Tasks.TasksRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Item.TaskItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Item.TaskItemRequestBuilder.TaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Item.TaskItemRequestBuilder.TaskItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Item.TaskItemRequestBuilder.TaskItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TaskObject +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Item.TaskItemRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.tasks_v2RequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.tasks_v2RequestBuilder::[TaskId:string]:global.Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Item.TaskItemRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TaskCollectionResponse +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Planner.Tasks_v2.Tasks_v2RequestBuilder Microsoft.Graph.Beta.Me.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder.clearAutomaticLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Me.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -166028,6 +167172,13 @@ Microsoft.Graph.Beta.Models.aadUserNotificationRecipient::|public|OdataType:stri Microsoft.Graph.Beta.Models.aadUserNotificationRecipient::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.aadUserNotificationRecipient::|public|UserId:string Microsoft.Graph.Beta.Models.aadUserNotificationRecipient::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AadUserNotificationRecipient +Microsoft.Graph.Beta.Models.absoluteCostManagementAlertThreshold-->global.Microsoft.Graph.Beta.Models.CostManagementAlertThreshold +Microsoft.Graph.Beta.Models.absoluteCostManagementAlertThreshold::|public|constructor():void +Microsoft.Graph.Beta.Models.absoluteCostManagementAlertThreshold::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.absoluteCostManagementAlertThreshold::|public|OdataType:string +Microsoft.Graph.Beta.Models.absoluteCostManagementAlertThreshold::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.absoluteCostManagementAlertThreshold::|public|Unit:global.Microsoft.Graph.Beta.Models.CostManagementUnit? +Microsoft.Graph.Beta.Models.absoluteCostManagementAlertThreshold::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AbsoluteCostManagementAlertThreshold Microsoft.Graph.Beta.Models.accessAction::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.accessAction::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.accessAction::|public|constructor():void @@ -166036,6 +167187,10 @@ Microsoft.Graph.Beta.Models.accessAction::|public|OdataType:string Microsoft.Graph.Beta.Models.accessAction::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.accessAction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AccessAction Microsoft.Graph.Beta.Models.accessAction~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.accessDecisionReason::0000-allowed +Microsoft.Graph.Beta.Models.accessDecisionReason::0001-notEntitled +Microsoft.Graph.Beta.Models.accessDecisionReason::0002-limitExhausted +Microsoft.Graph.Beta.Models.accessDecisionReason::0003-unknownFutureValue Microsoft.Graph.Beta.Models.accessDriftDetail-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.accessDriftDetail::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.accessDriftDetail::|public|DriftSource:global.Microsoft.Graph.Beta.Models.AccessDriftSource? @@ -167974,6 +169129,10 @@ Microsoft.Graph.Beta.Models.agentIdentity::|public|CreatedDateTime:DateTimeOffse Microsoft.Graph.Beta.Models.agentIdentity::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.agentIdentity::|public|InheritedAppRoleAssignments:List Microsoft.Graph.Beta.Models.agentIdentity::|public|InheritedOauth2PermissionGrants:List +Microsoft.Graph.Beta.Models.agentIdentity::|public|LifecyclePolicyComplianceState:global.Microsoft.Graph.Beta.Models.LifecyclePolicyComplianceState? +Microsoft.Graph.Beta.Models.agentIdentity::|public|LifecyclePolicyComplianceStateLastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.agentIdentity::|public|LifecyclePolicyComplianceStateReason:string +Microsoft.Graph.Beta.Models.agentIdentity::|public|LifecyclePolicyNonComplianceDisablementDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.agentIdentity::|public|ManagerApplications:List Microsoft.Graph.Beta.Models.agentIdentity::|public|OdataType:string Microsoft.Graph.Beta.Models.agentIdentity::|public|Serialize(writer:ISerializationWriter):void @@ -167991,6 +169150,10 @@ Microsoft.Graph.Beta.Models.agentIdentityBlueprint::|static|public|CreateFromDis Microsoft.Graph.Beta.Models.agentIdentityBlueprintPrincipal-->global.Microsoft.Graph.Beta.Models.ServicePrincipal Microsoft.Graph.Beta.Models.agentIdentityBlueprintPrincipal::|public|constructor():void Microsoft.Graph.Beta.Models.agentIdentityBlueprintPrincipal::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.agentIdentityBlueprintPrincipal::|public|LifecyclePolicyComplianceState:global.Microsoft.Graph.Beta.Models.LifecyclePolicyComplianceState? +Microsoft.Graph.Beta.Models.agentIdentityBlueprintPrincipal::|public|LifecyclePolicyComplianceStateLastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.agentIdentityBlueprintPrincipal::|public|LifecyclePolicyComplianceStateReason:string +Microsoft.Graph.Beta.Models.agentIdentityBlueprintPrincipal::|public|LifecyclePolicyNonComplianceDisablementDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.agentIdentityBlueprintPrincipal::|public|ManagerApplications:List Microsoft.Graph.Beta.Models.agentIdentityBlueprintPrincipal::|public|OdataType:string Microsoft.Graph.Beta.Models.agentIdentityBlueprintPrincipal::|public|Serialize(writer:ISerializationWriter):void @@ -168701,6 +169864,12 @@ Microsoft.Graph.Beta.Models.allScopeSensitivityLabels::|public|GetFieldDeseriali Microsoft.Graph.Beta.Models.allScopeSensitivityLabels::|public|OdataType:string Microsoft.Graph.Beta.Models.allScopeSensitivityLabels::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.allScopeSensitivityLabels::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AllScopeSensitivityLabels +Microsoft.Graph.Beta.Models.allUsersSpendingPolicy-->global.Microsoft.Graph.Beta.Models.SpendingPolicy +Microsoft.Graph.Beta.Models.allUsersSpendingPolicy::|public|constructor():void +Microsoft.Graph.Beta.Models.allUsersSpendingPolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.allUsersSpendingPolicy::|public|OdataType:string +Microsoft.Graph.Beta.Models.allUsersSpendingPolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.allUsersSpendingPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AllUsersSpendingPolicy Microsoft.Graph.Beta.Models.alterationResponse::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.alterationResponse::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.alterationResponse::|public|constructor():void @@ -171472,6 +172641,22 @@ Microsoft.Graph.Beta.Models.applicationTemplateCollectionResponse::|public|Value Microsoft.Graph.Beta.Models.applicationTemplateCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ApplicationTemplateCollectionResponse Microsoft.Graph.Beta.Models.applicationType::0000-universal Microsoft.Graph.Beta.Models.applicationType::0001-desktop +Microsoft.Graph.Beta.Models.appliedAppManagementPolicyRestriction::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.appliedAppManagementPolicyRestriction::|public|AttemptedChanges:global.Microsoft.Graph.Beta.Models.Dictionary +Microsoft.Graph.Beta.Models.appliedAppManagementPolicyRestriction::|public|AuditResult:global.Microsoft.Graph.Beta.Models.AppManagementAuditLogAuditResult? +Microsoft.Graph.Beta.Models.appliedAppManagementPolicyRestriction::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.appliedAppManagementPolicyRestriction::|public|constructor():void +Microsoft.Graph.Beta.Models.appliedAppManagementPolicyRestriction::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.appliedAppManagementPolicyRestriction::|public|OdataType:string +Microsoft.Graph.Beta.Models.appliedAppManagementPolicyRestriction::|public|PolicyId:string +Microsoft.Graph.Beta.Models.appliedAppManagementPolicyRestriction::|public|PolicyType:global.Microsoft.Graph.Beta.Models.AppManagementAuditLogPolicyType? +Microsoft.Graph.Beta.Models.appliedAppManagementPolicyRestriction::|public|RestrictionDetails:global.Microsoft.Graph.Beta.Models.Dictionary +Microsoft.Graph.Beta.Models.appliedAppManagementPolicyRestriction::|public|RestrictionResult:global.Microsoft.Graph.Beta.Models.AppManagementAuditLogRestrictionResult? +Microsoft.Graph.Beta.Models.appliedAppManagementPolicyRestriction::|public|RestrictionState:global.Microsoft.Graph.Beta.Models.AppManagementAuditLogRestrictionState? +Microsoft.Graph.Beta.Models.appliedAppManagementPolicyRestriction::|public|RestrictionType:string +Microsoft.Graph.Beta.Models.appliedAppManagementPolicyRestriction::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.appliedAppManagementPolicyRestriction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AppliedAppManagementPolicyRestriction +Microsoft.Graph.Beta.Models.appliedAppManagementPolicyRestriction~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.appliedAuthenticationEventListener::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.appliedAuthenticationEventListener::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.appliedAuthenticationEventListener::|public|constructor():void @@ -171582,6 +172767,27 @@ Microsoft.Graph.Beta.Models.appManagementApplicationConfiguration::|public|Odata Microsoft.Graph.Beta.Models.appManagementApplicationConfiguration::|public|RedirectUris:global.Microsoft.Graph.Beta.Models.RedirectUriConfiguration Microsoft.Graph.Beta.Models.appManagementApplicationConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.appManagementApplicationConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AppManagementApplicationConfiguration +Microsoft.Graph.Beta.Models.appManagementAudit-->global.Microsoft.Graph.Beta.Models.DirectoryAudit +Microsoft.Graph.Beta.Models.appManagementAudit::|public|AppliedAppManagementPolicyRestrictions:List +Microsoft.Graph.Beta.Models.appManagementAudit::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.appManagementAudit::|public|OdataType:string +Microsoft.Graph.Beta.Models.appManagementAudit::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.appManagementAudit::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AppManagementAudit +Microsoft.Graph.Beta.Models.appManagementAuditLogAuditResult::0000-notApplicable +Microsoft.Graph.Beta.Models.appManagementAuditLogAuditResult::0001-wouldHaveBeenAllowed +Microsoft.Graph.Beta.Models.appManagementAuditLogAuditResult::0002-wouldHaveBeenBlocked +Microsoft.Graph.Beta.Models.appManagementAuditLogAuditResult::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.appManagementAuditLogPolicyType::0000-defaultEntraId +Microsoft.Graph.Beta.Models.appManagementAuditLogPolicyType::0001-tenant +Microsoft.Graph.Beta.Models.appManagementAuditLogPolicyType::0002-app +Microsoft.Graph.Beta.Models.appManagementAuditLogPolicyType::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.appManagementAuditLogRestrictionResult::0000-allowed +Microsoft.Graph.Beta.Models.appManagementAuditLogRestrictionResult::0001-blocked +Microsoft.Graph.Beta.Models.appManagementAuditLogRestrictionResult::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.appManagementAuditLogRestrictionState::0000-enabled +Microsoft.Graph.Beta.Models.appManagementAuditLogRestrictionState::0001-disabled +Microsoft.Graph.Beta.Models.appManagementAuditLogRestrictionState::0002-audit +Microsoft.Graph.Beta.Models.appManagementAuditLogRestrictionState::0003-unknownFutureValue Microsoft.Graph.Beta.Models.appManagementConfiguration::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.appManagementConfiguration::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.appManagementConfiguration::|public|constructor():void @@ -172087,6 +173293,11 @@ Microsoft.Graph.Beta.Models.assignmentFilterEvaluateRequest::|public|Skip:int? Microsoft.Graph.Beta.Models.assignmentFilterEvaluateRequest::|public|Top:int? Microsoft.Graph.Beta.Models.assignmentFilterEvaluateRequest::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AssignmentFilterEvaluateRequest Microsoft.Graph.Beta.Models.assignmentFilterEvaluateRequest~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.assignmentFilterEvaluationMode::0000-checkinTimeEvaluation +Microsoft.Graph.Beta.Models.assignmentFilterEvaluationMode::0001-inventoryEvaluation +Microsoft.Graph.Beta.Models.assignmentFilterEvaluationMode::0002-mixedEvaluation +Microsoft.Graph.Beta.Models.assignmentFilterEvaluationMode::0003-disabled +Microsoft.Graph.Beta.Models.assignmentFilterEvaluationMode::0004-unknownFutureValue Microsoft.Graph.Beta.Models.assignmentFilterEvaluationResult::0000-unknown Microsoft.Graph.Beta.Models.assignmentFilterEvaluationResult::0001-match Microsoft.Graph.Beta.Models.assignmentFilterEvaluationResult::0002-notMatch @@ -172141,6 +173352,9 @@ Microsoft.Graph.Beta.Models.assignmentFilterOperator::0014-lessThanOrEquals Microsoft.Graph.Beta.Models.assignmentFilterOperator::0015-unknownFutureValue Microsoft.Graph.Beta.Models.assignmentFilterPayloadType::0000-notSet Microsoft.Graph.Beta.Models.assignmentFilterPayloadType::0001-enrollmentRestrictions +Microsoft.Graph.Beta.Models.assignmentFilterPropertyEvaluationSource::0000-deviceCheckIn +Microsoft.Graph.Beta.Models.assignmentFilterPropertyEvaluationSource::0001-deviceInventory +Microsoft.Graph.Beta.Models.assignmentFilterPropertyEvaluationSource::0002-unknownFutureValue Microsoft.Graph.Beta.Models.assignmentFilterState::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.assignmentFilterState::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.assignmentFilterState::|public|constructor():void @@ -172167,6 +173381,7 @@ Microsoft.Graph.Beta.Models.assignmentFilterSupportedProperty::|public|Additiona Microsoft.Graph.Beta.Models.assignmentFilterSupportedProperty::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.assignmentFilterSupportedProperty::|public|constructor():void Microsoft.Graph.Beta.Models.assignmentFilterSupportedProperty::|public|DataType:string +Microsoft.Graph.Beta.Models.assignmentFilterSupportedProperty::|public|EvaluationSource:global.Microsoft.Graph.Beta.Models.AssignmentFilterPropertyEvaluationSource? Microsoft.Graph.Beta.Models.assignmentFilterSupportedProperty::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.assignmentFilterSupportedProperty::|public|IsCollection:bool? Microsoft.Graph.Beta.Models.assignmentFilterSupportedProperty::|public|Name:string @@ -174328,6 +175543,7 @@ Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|DriveInclusionRules:List< Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|DriveProtectionUnits:List Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|DriveProtectionUnitsBulkAdditionJobs:List Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|EmailNotificationsSetting:global.Microsoft.Graph.Beta.Models.EmailNotificationsSetting +Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|EntraProtectionPolicies:List Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|ExchangeProtectionPolicies:List Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|ExchangeRestoreSessions:List Microsoft.Graph.Beta.Models.backupRestoreRoot::|public|ExclusionUnits:List @@ -174367,6 +175583,9 @@ Microsoft.Graph.Beta.Models.backupServiceStatus::0001-enabled Microsoft.Graph.Beta.Models.backupServiceStatus::0002-protectionChangeLocked Microsoft.Graph.Beta.Models.backupServiceStatus::0003-restoreLocked Microsoft.Graph.Beta.Models.backupServiceStatus::0004-unknownFutureValue +Microsoft.Graph.Beta.Models.balanceEvaluationFailureReason::0000-upstreamFailure +Microsoft.Graph.Beta.Models.balanceEvaluationFailureReason::0001-noApplicablePolicy +Microsoft.Graph.Beta.Models.balanceEvaluationFailureReason::0002-unknownFutureValue Microsoft.Graph.Beta.Models.baseActivity::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.baseActivity::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.baseActivity::|public|constructor():void @@ -175241,6 +176460,18 @@ Microsoft.Graph.Beta.Models.browseSessionStatus::0000-creating Microsoft.Graph.Beta.Models.browseSessionStatus::0001-created Microsoft.Graph.Beta.Models.browseSessionStatus::0002-failed Microsoft.Graph.Beta.Models.browseSessionStatus::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.bucket-->global.Microsoft.Graph.Beta.Models.PlannerDelta +Microsoft.Graph.Beta.Models.bucket::|public|Capabilities:global.Microsoft.Graph.Beta.Models.BucketCapability +Microsoft.Graph.Beta.Models.bucket::|public|CreationInfo:global.Microsoft.Graph.Beta.Models.CreationInfo +Microsoft.Graph.Beta.Models.bucket::|public|DisplayName:string +Microsoft.Graph.Beta.Models.bucket::|public|Extensions:global.Microsoft.Graph.Beta.Models.ExtensionFieldCollection +Microsoft.Graph.Beta.Models.bucket::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.bucket::|public|LastModifiedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.bucket::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.bucket::|public|OdataType:string +Microsoft.Graph.Beta.Models.bucket::|public|PlanId:string +Microsoft.Graph.Beta.Models.bucket::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.bucket::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Bucket Microsoft.Graph.Beta.Models.bucketAggregationDefinition::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.bucketAggregationDefinition::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.bucketAggregationDefinition::|public|constructor():void @@ -175268,6 +176499,20 @@ Microsoft.Graph.Beta.Models.bucketAggregationSortProperty::0000-count Microsoft.Graph.Beta.Models.bucketAggregationSortProperty::0001-keyAsString Microsoft.Graph.Beta.Models.bucketAggregationSortProperty::0002-keyAsNumber Microsoft.Graph.Beta.Models.bucketAggregationSortProperty::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.bucketCapability::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.bucketCapability::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.bucketCapability::|public|constructor():void +Microsoft.Graph.Beta.Models.bucketCapability::|public|Extensions:bool? +Microsoft.Graph.Beta.Models.bucketCapability::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.bucketCapability::|public|OdataType:string +Microsoft.Graph.Beta.Models.bucketCapability::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.bucketCapability::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.BucketCapability +Microsoft.Graph.Beta.Models.bucketCapability~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.bucketCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.bucketCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.bucketCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.bucketCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.bucketCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.BucketCollectionResponse Microsoft.Graph.Beta.Models.bufferDecryptionResult::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.bufferDecryptionResult::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.bufferDecryptionResult::|public|constructor():void @@ -176479,6 +177724,23 @@ Microsoft.Graph.Beta.Models.categoryColor::0022-preset21 Microsoft.Graph.Beta.Models.categoryColor::0023-preset22 Microsoft.Graph.Beta.Models.categoryColor::0024-preset23 Microsoft.Graph.Beta.Models.categoryColor::0025-preset24 +Microsoft.Graph.Beta.Models.categoryDefinition-->global.Microsoft.Graph.Beta.Models.PlannerDelta +Microsoft.Graph.Beta.Models.categoryDefinition::|public|Capabilities:global.Microsoft.Graph.Beta.Models.CategoryDefinitionCapability +Microsoft.Graph.Beta.Models.categoryDefinition::|public|DisplayName:string +Microsoft.Graph.Beta.Models.categoryDefinition::|public|Extensions:global.Microsoft.Graph.Beta.Models.ExtensionFieldCollection +Microsoft.Graph.Beta.Models.categoryDefinition::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.categoryDefinition::|public|OdataType:string +Microsoft.Graph.Beta.Models.categoryDefinition::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.categoryDefinition::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CategoryDefinition +Microsoft.Graph.Beta.Models.categoryDefinitionCapability::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.categoryDefinitionCapability::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.categoryDefinitionCapability::|public|constructor():void +Microsoft.Graph.Beta.Models.categoryDefinitionCapability::|public|Extensions:bool? +Microsoft.Graph.Beta.Models.categoryDefinitionCapability::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.categoryDefinitionCapability::|public|OdataType:string +Microsoft.Graph.Beta.Models.categoryDefinitionCapability::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.categoryDefinitionCapability::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CategoryDefinitionCapability +Microsoft.Graph.Beta.Models.categoryDefinitionCapability~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.certificateAuthority::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.certificateAuthority::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.certificateAuthority::|public|Certificate:byte[] @@ -176916,6 +178178,20 @@ Microsoft.Graph.Beta.Models.chatMembersNotificationRecipient::|public|GetFieldDe Microsoft.Graph.Beta.Models.chatMembersNotificationRecipient::|public|OdataType:string Microsoft.Graph.Beta.Models.chatMembersNotificationRecipient::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.chatMembersNotificationRecipient::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ChatMembersNotificationRecipient +Microsoft.Graph.Beta.Models.chatMention::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.chatMention::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.chatMention::|public|constructor():void +Microsoft.Graph.Beta.Models.chatMention::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.chatMention::|public|Index:int? +Microsoft.Graph.Beta.Models.chatMention::|public|Mentioned:string +Microsoft.Graph.Beta.Models.chatMention::|public|OdataType:string +Microsoft.Graph.Beta.Models.chatMention::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.chatMention::|public|Type:global.Microsoft.Graph.Beta.Models.ChatMentionType? +Microsoft.Graph.Beta.Models.chatMention::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ChatMention +Microsoft.Graph.Beta.Models.chatMentionType::0000-user +Microsoft.Graph.Beta.Models.chatMentionType::0001-application +Microsoft.Graph.Beta.Models.chatMentionType::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.chatMention~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.chatMessage-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.chatMessage::|public|Attachments:List Microsoft.Graph.Beta.Models.chatMessage::|public|Body:global.Microsoft.Graph.Beta.Models.ChatMessageBody @@ -177107,6 +178383,16 @@ Microsoft.Graph.Beta.Models.chatMessagePolicyViolationVerdictDetailsTypes::0001- Microsoft.Graph.Beta.Models.chatMessagePolicyViolationVerdictDetailsTypes::0002-allowOverrideWithoutJustification Microsoft.Graph.Beta.Models.chatMessagePolicyViolationVerdictDetailsTypes::0003-allowOverrideWithJustification Microsoft.Graph.Beta.Models.chatMessagePolicyViolation~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.chatMessageProperties::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.chatMessageProperties::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.chatMessageProperties::|public|constructor():void +Microsoft.Graph.Beta.Models.chatMessageProperties::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.chatMessageProperties::|public|Mentions:List +Microsoft.Graph.Beta.Models.chatMessageProperties::|public|OdataType:string +Microsoft.Graph.Beta.Models.chatMessageProperties::|public|Reactions:List +Microsoft.Graph.Beta.Models.chatMessageProperties::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.chatMessageProperties::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ChatMessageProperties +Microsoft.Graph.Beta.Models.chatMessageProperties~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.chatMessageReaction::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.chatMessageReaction::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.chatMessageReaction::|public|constructor():void @@ -177115,6 +178401,7 @@ Microsoft.Graph.Beta.Models.chatMessageReaction::|public|DisplayName:string Microsoft.Graph.Beta.Models.chatMessageReaction::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.chatMessageReaction::|public|OdataType:string Microsoft.Graph.Beta.Models.chatMessageReaction::|public|ReactionContentUrl:string +Microsoft.Graph.Beta.Models.chatMessageReaction::|public|ReactionId:string Microsoft.Graph.Beta.Models.chatMessageReaction::|public|ReactionType:string Microsoft.Graph.Beta.Models.chatMessageReaction::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.chatMessageReaction::|public|User:global.Microsoft.Graph.Beta.Models.ChatMessageReactionIdentitySet @@ -177131,6 +178418,16 @@ Microsoft.Graph.Beta.Models.chatMessageType::0001-chatEvent Microsoft.Graph.Beta.Models.chatMessageType::0002-typing Microsoft.Graph.Beta.Models.chatMessageType::0003-unknownFutureValue Microsoft.Graph.Beta.Models.chatMessageType::0004-systemEventMessage +Microsoft.Graph.Beta.Models.chatReaction::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.chatReaction::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.chatReaction::|public|constructor():void +Microsoft.Graph.Beta.Models.chatReaction::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.chatReaction::|public|Key:string +Microsoft.Graph.Beta.Models.chatReaction::|public|OdataType:string +Microsoft.Graph.Beta.Models.chatReaction::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.chatReaction::|public|Users:List +Microsoft.Graph.Beta.Models.chatReaction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ChatReaction +Microsoft.Graph.Beta.Models.chatReaction~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.chatRenamedEventMessageDetail-->global.Microsoft.Graph.Beta.Models.EventMessageDetail Microsoft.Graph.Beta.Models.chatRenamedEventMessageDetail::|public|ChatDisplayName:string Microsoft.Graph.Beta.Models.chatRenamedEventMessageDetail::|public|ChatId:string @@ -177184,6 +178481,15 @@ Microsoft.Graph.Beta.Models.checkInMethod::0001-manual Microsoft.Graph.Beta.Models.checkInMethod::0002-inferred Microsoft.Graph.Beta.Models.checkInMethod::0003-verified Microsoft.Graph.Beta.Models.checkInMethod::0004-unknownFutureValue +Microsoft.Graph.Beta.Models.checklistCapability::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.checklistCapability::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.checklistCapability::|public|constructor():void +Microsoft.Graph.Beta.Models.checklistCapability::|public|Extensions:bool? +Microsoft.Graph.Beta.Models.checklistCapability::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.checklistCapability::|public|OdataType:string +Microsoft.Graph.Beta.Models.checklistCapability::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.checklistCapability::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ChecklistCapability +Microsoft.Graph.Beta.Models.checklistCapability~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.checklistItem-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.checklistItem::|public|CheckedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.checklistItem::|public|CreatedDateTime:DateTimeOffset? @@ -177198,6 +178504,25 @@ Microsoft.Graph.Beta.Models.checklistItemCollectionResponse::|public|GetFieldDes Microsoft.Graph.Beta.Models.checklistItemCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.checklistItemCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.checklistItemCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ChecklistItemCollectionResponse +Microsoft.Graph.Beta.Models.checklistItemV4-->global.Microsoft.Graph.Beta.Models.PlannerDelta +Microsoft.Graph.Beta.Models.checklistItemV4::|public|Capabilities:global.Microsoft.Graph.Beta.Models.ChecklistCapability +Microsoft.Graph.Beta.Models.checklistItemV4::|public|CompletedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.checklistItemV4::|public|CompletedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.checklistItemV4::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.checklistItemV4::|public|DisplayName:string +Microsoft.Graph.Beta.Models.checklistItemV4::|public|Extensions:global.Microsoft.Graph.Beta.Models.ExtensionFieldCollection +Microsoft.Graph.Beta.Models.checklistItemV4::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.checklistItemV4::|public|IsChecked:bool? +Microsoft.Graph.Beta.Models.checklistItemV4::|public|LastModifiedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.checklistItemV4::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.checklistItemV4::|public|OdataType:string +Microsoft.Graph.Beta.Models.checklistItemV4::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.checklistItemV4::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ChecklistItemV4 +Microsoft.Graph.Beta.Models.checklistItemV4CollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.checklistItemV4CollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.checklistItemV4CollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.checklistItemV4CollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.checklistItemV4CollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ChecklistItemV4CollectionResponse Microsoft.Graph.Beta.Models.choiceColumn::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.choiceColumn::|public|AllowTextEntry:bool? Microsoft.Graph.Beta.Models.choiceColumn::|public|BackingStore:IBackingStore @@ -178035,6 +179360,10 @@ Microsoft.Graph.Beta.Models.cloudPcAuditResource::|public|ResourceType:string Microsoft.Graph.Beta.Models.cloudPcAuditResource::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.cloudPcAuditResource::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcAuditResource Microsoft.Graph.Beta.Models.cloudPcAuditResource~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.cloudPcAutoCleanupMode::0000-none +Microsoft.Graph.Beta.Models.cloudPcAutoCleanupMode::0001-scheduled +Microsoft.Graph.Beta.Models.cloudPcAutoCleanupMode::0002-onQuotaExceeded +Microsoft.Graph.Beta.Models.cloudPcAutoCleanupMode::0003-unknownFutureValue Microsoft.Graph.Beta.Models.cloudPcAutomaticDiscoveredAppDetail-->global.Microsoft.Graph.Beta.Models.CloudPcCloudAppDetail Microsoft.Graph.Beta.Models.cloudPcAutomaticDiscoveredAppDetail::|public|constructor():void Microsoft.Graph.Beta.Models.cloudPcAutomaticDiscoveredAppDetail::|public|GetFieldDeserializers():IDictionary> @@ -179682,6 +181011,19 @@ Microsoft.Graph.Beta.Models.cloudPcStorageBlobDetail::|public|Serialize(writer:I Microsoft.Graph.Beta.Models.cloudPcStorageBlobDetail::|public|StorageAccountId:string Microsoft.Graph.Beta.Models.cloudPcStorageBlobDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcStorageBlobDetail Microsoft.Graph.Beta.Models.cloudPcStorageBlobDetail~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.cloudPcStorageConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.cloudPcStorageConfiguration::|public|AllocatedStorageSizeCategory:global.Microsoft.Graph.Beta.Models.CloudPcUserSettingsPersistenceStorageSizeCategory? +Microsoft.Graph.Beta.Models.cloudPcStorageConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.cloudPcStorageConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcStorageConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcStorageConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcStorageConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcStorageConfiguration::|public|StorageSizingType:global.Microsoft.Graph.Beta.Models.CloudPcStorageSizingType? +Microsoft.Graph.Beta.Models.cloudPcStorageConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcStorageConfiguration +Microsoft.Graph.Beta.Models.cloudPcStorageConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.cloudPcStorageSizingType::0000-dynamic +Microsoft.Graph.Beta.Models.cloudPcStorageSizingType::0001-fixed +Microsoft.Graph.Beta.Models.cloudPcStorageSizingType::0002-unknownFutureValue Microsoft.Graph.Beta.Models.cloudPcSubscription-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.cloudPcSubscription::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.cloudPcSubscription::|public|OdataType:string @@ -179745,6 +181087,58 @@ Microsoft.Graph.Beta.Models.cloudPcUserAccountType::0002-unknownFutureValue Microsoft.Graph.Beta.Models.cloudPcUserExperienceType::0000-cloudPc Microsoft.Graph.Beta.Models.cloudPcUserExperienceType::0001-cloudApp Microsoft.Graph.Beta.Models.cloudPcUserExperienceType::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.cloudPcUserProfileBulkActionResult::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.cloudPcUserProfileBulkActionResult::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.cloudPcUserProfileBulkActionResult::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcUserProfileBulkActionResult::|public|FailedCount:int? +Microsoft.Graph.Beta.Models.cloudPcUserProfileBulkActionResult::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcUserProfileBulkActionResult::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcUserProfileBulkActionResult::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcUserProfileBulkActionResult::|public|TotalCount:int? +Microsoft.Graph.Beta.Models.cloudPcUserProfileBulkActionResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcUserProfileBulkActionResult +Microsoft.Graph.Beta.Models.cloudPcUserProfileBulkActionResult~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshot-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshot::|public|CloudProfileId:string +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshot::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshot::|public|ExpirationDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshot::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshot::|public|LastRestoredDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshot::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshot::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshot::|public|SnapshotSizeInGB:int? +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshot::|public|SnapshotType:global.Microsoft.Graph.Beta.Models.CloudPcUserSettingsPersistenceSnapshotType? +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshot::|public|UserPrincipalName:string +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotCollectionResponse +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotCreateBulkActionResult-->global.Microsoft.Graph.Beta.Models.CloudPcUserProfileBulkActionResult +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotCreateBulkActionResult::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotCreateBulkActionResult::|public|FailedCloudProfileIds:List +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotCreateBulkActionResult::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotCreateBulkActionResult::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotCreateBulkActionResult::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotCreateBulkActionResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotCreateBulkActionResult +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotExportBulkActionResult-->global.Microsoft.Graph.Beta.Models.CloudPcUserProfileBulkActionResult +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotExportBulkActionResult::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotExportBulkActionResult::|public|FailedSnapshotIds:List +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotExportBulkActionResult::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotExportBulkActionResult::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotExportBulkActionResult::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotExportBulkActionResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotExportBulkActionResult +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotStorageDetail::|public|AccessTier:global.Microsoft.Graph.Beta.Models.CloudPcStorageAccountAccessTier? +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotStorageDetail::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotStorageDetail::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotStorageDetail::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotStorageDetail::|public|ContainerName:string +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotStorageDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotStorageDetail::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotStorageDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotStorageDetail::|public|StorageAccountId:string +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotStorageDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotStorageDetail +Microsoft.Graph.Beta.Models.cloudPcUserProfileSnapshotStorageDetail~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.cloudPcUserRoleScopeTagInfo::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.cloudPcUserRoleScopeTagInfo::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.cloudPcUserRoleScopeTagInfo::|public|constructor():void @@ -179788,6 +181182,16 @@ Microsoft.Graph.Beta.Models.cloudPcUserSettingCollectionResponse::|public|GetFie Microsoft.Graph.Beta.Models.cloudPcUserSettingCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.cloudPcUserSettingCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.cloudPcUserSettingCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcUserSettingCollectionResponse +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceAutoCleanupDetail::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceAutoCleanupDetail::|public|AutoCleanupMode:global.Microsoft.Graph.Beta.Models.CloudPcAutoCleanupMode? +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceAutoCleanupDetail::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceAutoCleanupDetail::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceAutoCleanupDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceAutoCleanupDetail::|public|InactiveProfileRetentionDays:int? +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceAutoCleanupDetail::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceAutoCleanupDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceAutoCleanupDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceAutoCleanupDetail +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceAutoCleanupDetail~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceConfiguration::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceConfiguration::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceConfiguration::|public|constructor():void @@ -179799,10 +181203,14 @@ Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceConfiguration::|public Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcUserSettingsPersistenceConfiguration Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceDetail-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceDetail::|public|AutoCleanupDetail:global.Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceAutoCleanupDetail Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceDetail::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceDetail::|public|GracePeriodEndDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceDetail::|public|OdataType:string Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceDetail::|public|SnapshotConfiguration:global.Microsoft.Graph.Beta.Models.CloudPcUserSettingsPersistenceSnapshotConfiguration +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceDetail::|public|StorageConfiguration:global.Microsoft.Graph.Beta.Models.CloudPcStorageConfiguration +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceDetail::|public|UserProfileSnapshots:List Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceDetail Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfile::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfile::|public|BackingStore:IBackingStore @@ -179810,17 +181218,41 @@ Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfile::|public|const Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfile::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfile::|public|LastProfileAttachedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfile::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfile::|public|ProfileDiskEncryptionType:global.Microsoft.Graph.Beta.Models.CloudPcDiskEncryptionType? Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfile::|public|ProfileId:string Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfile::|public|ProfileSizeInGB:int? Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfile::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfile::|public|Status:global.Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceProfileStatus? +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfile::|public|UsageDetail:global.Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceProfileUsageDetail Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfile::|public|UserPrincipalName:string Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfile::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceProfile Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfileStatus::0000-connected Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfileStatus::0001-notConnected Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfileStatus::0002-deleting Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfileStatus::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfileUsageDetail::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfileUsageDetail::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfileUsageDetail::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfileUsageDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfileUsageDetail::|public|LastUsedSizeSyncDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfileUsageDetail::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfileUsageDetail::|public|ProfileUsedSizeInGB:double? +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfileUsageDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfileUsageDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPCUserSettingsPersistenceProfileUsageDetail +Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfileUsageDetail~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.cloudPCUserSettingsPersistenceProfile~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceSnapshotConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceSnapshotConfiguration::|public|AutoSnapshotFrequencyInDays:int? +Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceSnapshotConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceSnapshotConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceSnapshotConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceSnapshotConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceSnapshotConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceSnapshotConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CloudPcUserSettingsPersistenceSnapshotConfiguration +Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceSnapshotConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceSnapshotType::0000-automatic +Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceSnapshotType::0001-manual +Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceSnapshotType::0002-unknownFutureValue Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceStorageSizeCategory::0000-fourGB Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceStorageSizeCategory::0001-eightGB Microsoft.Graph.Beta.Models.cloudPcUserSettingsPersistenceStorageSizeCategory::0002-sixteenGB @@ -181438,6 +182870,36 @@ Microsoft.Graph.Beta.Models.contentInfo::|public|Serialize(writer:ISerialization Microsoft.Graph.Beta.Models.contentInfo::|public|State:global.Microsoft.Graph.Beta.Models.ContentState? Microsoft.Graph.Beta.Models.contentInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ContentInfo Microsoft.Graph.Beta.Models.contentInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.contentLink-->global.Microsoft.Graph.Beta.Models.PlannerDelta +Microsoft.Graph.Beta.Models.contentLink::|public|Capabilities:global.Microsoft.Graph.Beta.Models.ContentLinkCapability +Microsoft.Graph.Beta.Models.contentLink::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.contentLink::|public|DisplayName:string +Microsoft.Graph.Beta.Models.contentLink::|public|Extensions:global.Microsoft.Graph.Beta.Models.ExtensionFieldCollection +Microsoft.Graph.Beta.Models.contentLink::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.contentLink::|public|LastModifiedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.contentLink::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.contentLink::|public|LinkType:global.Microsoft.Graph.Beta.Models.ContentLinkType? +Microsoft.Graph.Beta.Models.contentLink::|public|OdataType:string +Microsoft.Graph.Beta.Models.contentLink::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.contentLink::|public|WebUrl:string +Microsoft.Graph.Beta.Models.contentLink::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ContentLink +Microsoft.Graph.Beta.Models.contentLinkCapability::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.contentLinkCapability::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.contentLinkCapability::|public|constructor():void +Microsoft.Graph.Beta.Models.contentLinkCapability::|public|Extensions:bool? +Microsoft.Graph.Beta.Models.contentLinkCapability::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.contentLinkCapability::|public|OdataType:string +Microsoft.Graph.Beta.Models.contentLinkCapability::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.contentLinkCapability::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ContentLinkCapability +Microsoft.Graph.Beta.Models.contentLinkCapability~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.contentLinkCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.contentLinkCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.contentLinkCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.contentLinkCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.contentLinkCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ContentLinkCollectionResponse +Microsoft.Graph.Beta.Models.contentLinkType::0000-documentReference +Microsoft.Graph.Beta.Models.contentLinkType::0001-webReference +Microsoft.Graph.Beta.Models.contentLinkType::0002-unknownFutureValue Microsoft.Graph.Beta.Models.contentMetadata::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.contentMetadata::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.contentMetadata::|public|constructor():void @@ -181991,6 +183453,91 @@ Microsoft.Graph.Beta.Models.corsConfiguration_v2::|public|Resource:string Microsoft.Graph.Beta.Models.corsConfiguration_v2::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.corsConfiguration_v2::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CorsConfiguration_v2 Microsoft.Graph.Beta.Models.corsConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.costManagementAlertSetting-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.costManagementAlertSetting::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.costManagementAlertSetting::|public|IsEnabled:bool? +Microsoft.Graph.Beta.Models.costManagementAlertSetting::|public|OdataType:string +Microsoft.Graph.Beta.Models.costManagementAlertSetting::|public|Recipients:List +Microsoft.Graph.Beta.Models.costManagementAlertSetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.costManagementAlertSetting::|public|Thresholds:List +Microsoft.Graph.Beta.Models.costManagementAlertSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CostManagementAlertSetting +Microsoft.Graph.Beta.Models.costManagementAlertThreshold::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.costManagementAlertThreshold::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.costManagementAlertThreshold::|public|constructor():void +Microsoft.Graph.Beta.Models.costManagementAlertThreshold::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.costManagementAlertThreshold::|public|OdataType:string +Microsoft.Graph.Beta.Models.costManagementAlertThreshold::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.costManagementAlertThreshold::|public|Value:double? +Microsoft.Graph.Beta.Models.costManagementAlertThreshold::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CostManagementAlertThreshold +Microsoft.Graph.Beta.Models.costManagementAlertThreshold~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.costManagementBillingMethods::0000-notSpecified +Microsoft.Graph.Beta.Models.costManagementBillingMethods::0001-prepaidCredits +Microsoft.Graph.Beta.Models.costManagementBillingMethods::0002-payAsYouGo +Microsoft.Graph.Beta.Models.costManagementBillingMethods::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.costManagementDataStatus::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.costManagementDataStatus::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.costManagementDataStatus::|public|constructor():void +Microsoft.Graph.Beta.Models.costManagementDataStatus::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.costManagementDataStatus::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.costManagementDataStatus::|public|OdataType:string +Microsoft.Graph.Beta.Models.costManagementDataStatus::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.costManagementDataStatus::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CostManagementDataStatus +Microsoft.Graph.Beta.Models.costManagementDataStatus~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.costManagementQuantity::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.costManagementQuantity::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.costManagementQuantity::|public|constructor():void +Microsoft.Graph.Beta.Models.costManagementQuantity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.costManagementQuantity::|public|OdataType:string +Microsoft.Graph.Beta.Models.costManagementQuantity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.costManagementQuantity::|public|Unit:global.Microsoft.Graph.Beta.Models.CostManagementUnit? +Microsoft.Graph.Beta.Models.costManagementQuantity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CostManagementQuantity +Microsoft.Graph.Beta.Models.costManagementQuantity~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.costManagementRoot-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.costManagementRoot::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.costManagementRoot::|public|OdataType:string +Microsoft.Graph.Beta.Models.costManagementRoot::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.costManagementRoot::|public|SpendingPolicies:List +Microsoft.Graph.Beta.Models.costManagementRoot::|public|UserBalances:List +Microsoft.Graph.Beta.Models.costManagementRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CostManagementRoot +Microsoft.Graph.Beta.Models.costManagementUnevaluatedService::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.costManagementUnevaluatedService::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.costManagementUnevaluatedService::|public|constructor():void +Microsoft.Graph.Beta.Models.costManagementUnevaluatedService::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.costManagementUnevaluatedService::|public|OdataType:string +Microsoft.Graph.Beta.Models.costManagementUnevaluatedService::|public|Reason:global.Microsoft.Graph.Beta.Models.BalanceEvaluationFailureReason? +Microsoft.Graph.Beta.Models.costManagementUnevaluatedService::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.costManagementUnevaluatedService::|public|ServiceId:string +Microsoft.Graph.Beta.Models.costManagementUnevaluatedService::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CostManagementUnevaluatedService +Microsoft.Graph.Beta.Models.costManagementUnevaluatedService~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.costManagementUnit::0000-copilotCredit +Microsoft.Graph.Beta.Models.costManagementUnit::0001-unknownFutureValue +Microsoft.Graph.Beta.Models.costManagementUserBalance-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.costManagementUserBalance::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.costManagementUserBalance::|public|OdataType:string +Microsoft.Graph.Beta.Models.costManagementUserBalance::|public|SelectionDataStatus:global.Microsoft.Graph.Beta.Models.SelectionDataStatus +Microsoft.Graph.Beta.Models.costManagementUserBalance::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.costManagementUserBalance::|public|ServiceBalances:List +Microsoft.Graph.Beta.Models.costManagementUserBalance::|public|UnevaluatedServices:List +Microsoft.Graph.Beta.Models.costManagementUserBalance::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CostManagementUserBalance +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance::|public|AccessDecisionReason:global.Microsoft.Graph.Beta.Models.AccessDecisionReason? +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance::|public|ConfiguredPeriodLimit:global.Microsoft.Graph.Beta.Models.CostManagementQuantity +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance::|public|ConfiguredPerUserLimit:global.Microsoft.Graph.Beta.Models.CostManagementQuantity +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance::|public|constructor():void +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance::|public|ConsumedQuantity:double? +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance::|public|DataStatus:global.Microsoft.Graph.Beta.Models.CostManagementDataStatus +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance::|public|EffectiveCapacityQuantity:global.Microsoft.Graph.Beta.Models.CostManagementQuantity +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance::|public|IsConsumptionAllowed:bool? +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance::|public|OdataType:string +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance::|public|RemainingQuantity:global.Microsoft.Graph.Beta.Models.CostManagementQuantity +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance::|public|ServiceId:string +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance::|public|SpendingPolicyId:string +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance::|public|Unit:global.Microsoft.Graph.Beta.Models.CostManagementUnit? +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CostManagementUserServiceBalance +Microsoft.Graph.Beta.Models.costManagementUserServiceBalance~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.countryLookupMethodType::0000-clientIpAddress Microsoft.Graph.Beta.Models.countryLookupMethodType::0001-authenticatorAppGps Microsoft.Graph.Beta.Models.countryLookupMethodType::0002-unknownFutureValue @@ -182033,6 +183580,31 @@ Microsoft.Graph.Beta.Models.createAction::|public|OdataType:string Microsoft.Graph.Beta.Models.createAction::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.createAction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CreateAction Microsoft.Graph.Beta.Models.createAction~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.creationInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.creationInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.creationInfo::|public|constructor():void +Microsoft.Graph.Beta.Models.creationInfo::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.creationInfo::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.creationInfo::|public|ExternalId:string +Microsoft.Graph.Beta.Models.creationInfo::|public|ExternalUrl:string +Microsoft.Graph.Beta.Models.creationInfo::|public|ExternalVersion:string +Microsoft.Graph.Beta.Models.creationInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.creationInfo::|public|OdataType:string +Microsoft.Graph.Beta.Models.creationInfo::|public|ScenarioId:string +Microsoft.Graph.Beta.Models.creationInfo::|public|Scope:string +Microsoft.Graph.Beta.Models.creationInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.creationInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CreationInfo +Microsoft.Graph.Beta.Models.creationInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.creationTimestamp::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.creationTimestamp::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.creationTimestamp::|public|constructor():void +Microsoft.Graph.Beta.Models.creationTimestamp::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.creationTimestamp::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.creationTimestamp::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.creationTimestamp::|public|OdataType:string +Microsoft.Graph.Beta.Models.creationTimestamp::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.creationTimestamp::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CreationTimestamp +Microsoft.Graph.Beta.Models.creationTimestamp~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.credential::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.credential::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.credential::|public|constructor():void @@ -182596,6 +184168,13 @@ Microsoft.Graph.Beta.Models.customCalloutExtensionCollectionResponse::|public|Ge Microsoft.Graph.Beta.Models.customCalloutExtensionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.customCalloutExtensionCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.customCalloutExtensionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CustomCalloutExtensionCollectionResponse +Microsoft.Graph.Beta.Models.customChoiceOption-->global.Microsoft.Graph.Beta.Models.PlannerDelta +Microsoft.Graph.Beta.Models.customChoiceOption::|public|DisplayName:string +Microsoft.Graph.Beta.Models.customChoiceOption::|public|Extensions:global.Microsoft.Graph.Beta.Models.ExtensionFieldCollection +Microsoft.Graph.Beta.Models.customChoiceOption::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.customChoiceOption::|public|OdataType:string +Microsoft.Graph.Beta.Models.customChoiceOption::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.customChoiceOption::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CustomChoiceOption Microsoft.Graph.Beta.Models.customClaim-->global.Microsoft.Graph.Beta.Models.CustomClaimBase Microsoft.Graph.Beta.Models.customClaim::|public|constructor():void Microsoft.Graph.Beta.Models.customClaim::|public|GetFieldDeserializers():IDictionary> @@ -182984,6 +184563,55 @@ Microsoft.Graph.Beta.Models.customExtensionStageSettingCollectionResponse::|publ Microsoft.Graph.Beta.Models.customExtensionStageSettingCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.customExtensionStageSettingCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.customExtensionStageSettingCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CustomExtensionStageSettingCollectionResponse +Microsoft.Graph.Beta.Models.customFieldDefinition-->global.Microsoft.Graph.Beta.Models.PlannerDelta +Microsoft.Graph.Beta.Models.customFieldDefinition::|public|ArchivalInfo:global.Microsoft.Graph.Beta.Models.PlannerArchivalInfo +Microsoft.Graph.Beta.Models.customFieldDefinition::|public|ChoiceOptions:List +Microsoft.Graph.Beta.Models.customFieldDefinition::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.customFieldDefinition::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.customFieldDefinition::|public|DeletedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.customFieldDefinition::|public|DeletedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.customFieldDefinition::|public|DisplayName:string +Microsoft.Graph.Beta.Models.customFieldDefinition::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.customFieldDefinition::|public|LastModifiedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.customFieldDefinition::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.customFieldDefinition::|public|OdataType:string +Microsoft.Graph.Beta.Models.customFieldDefinition::|public|PlanId:string +Microsoft.Graph.Beta.Models.customFieldDefinition::|public|RollupType:global.Microsoft.Graph.Beta.Models.CustomFieldRollupType? +Microsoft.Graph.Beta.Models.customFieldDefinition::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.customFieldDefinition::|public|ValueType:global.Microsoft.Graph.Beta.Models.CustomFieldValueType? +Microsoft.Graph.Beta.Models.customFieldDefinition::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CustomFieldDefinition +Microsoft.Graph.Beta.Models.customFieldDefinitionCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.customFieldDefinitionCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.customFieldDefinitionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.customFieldDefinitionCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.customFieldDefinitionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CustomFieldDefinitionCollectionResponse +Microsoft.Graph.Beta.Models.customFieldRollupType::0000-noRollup +Microsoft.Graph.Beta.Models.customFieldRollupType::0001-max +Microsoft.Graph.Beta.Models.customFieldRollupType::0002-min +Microsoft.Graph.Beta.Models.customFieldRollupType::0003-sum +Microsoft.Graph.Beta.Models.customFieldRollupType::0004-average +Microsoft.Graph.Beta.Models.customFieldRollupType::0005-unknownFutureValue +Microsoft.Graph.Beta.Models.customFieldValue-->global.Microsoft.Graph.Beta.Models.PlannerDelta +Microsoft.Graph.Beta.Models.customFieldValue::|public|CustomFieldDefinitionId:string +Microsoft.Graph.Beta.Models.customFieldValue::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.customFieldValue::|public|OdataType:string +Microsoft.Graph.Beta.Models.customFieldValue::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.customFieldValue::|public|Value:string +Microsoft.Graph.Beta.Models.customFieldValue::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CustomFieldValue +Microsoft.Graph.Beta.Models.customFieldValueCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.customFieldValueCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.customFieldValueCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.customFieldValueCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.customFieldValueCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.CustomFieldValueCollectionResponse +Microsoft.Graph.Beta.Models.customFieldValueType::0000-text +Microsoft.Graph.Beta.Models.customFieldValueType::0001-date +Microsoft.Graph.Beta.Models.customFieldValueType::0002-utcDateTime +Microsoft.Graph.Beta.Models.customFieldValueType::0003-number +Microsoft.Graph.Beta.Models.customFieldValueType::0004-decimal +Microsoft.Graph.Beta.Models.customFieldValueType::0005-flag +Microsoft.Graph.Beta.Models.customFieldValueType::0006-singleChoiceText +Microsoft.Graph.Beta.Models.customFieldValueType::0007-multipleChoiceText +Microsoft.Graph.Beta.Models.customFieldValueType::0008-unknownFutureValue Microsoft.Graph.Beta.Models.customMetadataDictionary-->global.Microsoft.Graph.Beta.Models.Dictionary Microsoft.Graph.Beta.Models.customMetadataDictionary::|public|constructor():void Microsoft.Graph.Beta.Models.customMetadataDictionary::|public|GetFieldDeserializers():IDictionary> @@ -183304,6 +184932,18 @@ Microsoft.Graph.Beta.Models.dateTimeTimeZone::|public|Serialize(writer:ISerializ Microsoft.Graph.Beta.Models.dateTimeTimeZone::|public|TimeZone:string Microsoft.Graph.Beta.Models.dateTimeTimeZone::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DateTimeTimeZone Microsoft.Graph.Beta.Models.dateTimeTimeZone~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.dateWithOptionalTime::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.dateWithOptionalTime::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.dateWithOptionalTime::|public|constructor():void +Microsoft.Graph.Beta.Models.dateWithOptionalTime::|public|Date:Date? +Microsoft.Graph.Beta.Models.dateWithOptionalTime::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.dateWithOptionalTime::|public|IsTimeSpecified:bool? +Microsoft.Graph.Beta.Models.dateWithOptionalTime::|public|OdataType:string +Microsoft.Graph.Beta.Models.dateWithOptionalTime::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.dateWithOptionalTime::|public|Time:Time? +Microsoft.Graph.Beta.Models.dateWithOptionalTime::|public|TimeZone:string +Microsoft.Graph.Beta.Models.dateWithOptionalTime::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DateWithOptionalTime +Microsoft.Graph.Beta.Models.dateWithOptionalTime~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.daylightTimeZoneOffset-->global.Microsoft.Graph.Beta.Models.StandardTimeZoneOffset Microsoft.Graph.Beta.Models.daylightTimeZoneOffset::|public|constructor():void Microsoft.Graph.Beta.Models.daylightTimeZoneOffset::|public|DaylightBias:int? @@ -183806,6 +185446,7 @@ Microsoft.Graph.Beta.Models.deletedChatCollectionResponse::|public|Value:Listglobal.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.deletedItemContainer::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.deletedItemContainer::|public|LifecyclePolicies:List Microsoft.Graph.Beta.Models.deletedItemContainer::|public|OdataType:string Microsoft.Graph.Beta.Models.deletedItemContainer::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.deletedItemContainer::|public|Workflows:List @@ -183930,6 +185571,29 @@ Microsoft.Graph.Beta.Models.deltaParticipants::|public|Participants:Listglobal.Microsoft.Graph.Beta.Models.PlannerDelta +Microsoft.Graph.Beta.Models.dependency::|public|ArchivalInfo:global.Microsoft.Graph.Beta.Models.PlannerArchivalInfo +Microsoft.Graph.Beta.Models.dependency::|public|Constraint:global.Microsoft.Graph.Beta.Models.DependencyType? +Microsoft.Graph.Beta.Models.dependency::|public|CreationInfo:global.Microsoft.Graph.Beta.Models.CreationInfo +Microsoft.Graph.Beta.Models.dependency::|public|Extensions:global.Microsoft.Graph.Beta.Models.ExtensionFieldCollection +Microsoft.Graph.Beta.Models.dependency::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.dependency::|public|LastModifiedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.dependency::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.dependency::|public|OdataType:string +Microsoft.Graph.Beta.Models.dependency::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.dependency::|public|SourceItemId:string +Microsoft.Graph.Beta.Models.dependency::|public|TargetItemId:string +Microsoft.Graph.Beta.Models.dependency::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Dependency +Microsoft.Graph.Beta.Models.dependencyCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.dependencyCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.dependencyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.dependencyCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.dependencyCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DependencyCollectionResponse +Microsoft.Graph.Beta.Models.dependencyType::0000-sourceFinishDrivesTargetStart +Microsoft.Graph.Beta.Models.dependencyType::0001-sourceStartDrivesTargetStart +Microsoft.Graph.Beta.Models.dependencyType::0002-sourceFinishDrivesTargetFinish +Microsoft.Graph.Beta.Models.dependencyType::0003-targetStartDrivesSourceFinish +Microsoft.Graph.Beta.Models.dependencyType::0004-unknownFutureValue Microsoft.Graph.Beta.Models.depEnrollmentBaseProfile-->global.Microsoft.Graph.Beta.Models.EnrollmentProfile Microsoft.Graph.Beta.Models.depEnrollmentBaseProfile::|public|AppleIdDisabled:bool? Microsoft.Graph.Beta.Models.depEnrollmentBaseProfile::|public|ApplePayDisabled:bool? @@ -184314,6 +185978,7 @@ Microsoft.Graph.Beta.Models.deviceAndAppManagementAssignmentFilter::|public|Assi Microsoft.Graph.Beta.Models.deviceAndAppManagementAssignmentFilter::|public|CreatedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.deviceAndAppManagementAssignmentFilter::|public|Description:string Microsoft.Graph.Beta.Models.deviceAndAppManagementAssignmentFilter::|public|DisplayName:string +Microsoft.Graph.Beta.Models.deviceAndAppManagementAssignmentFilter::|public|EvaluationMode:global.Microsoft.Graph.Beta.Models.AssignmentFilterEvaluationMode? Microsoft.Graph.Beta.Models.deviceAndAppManagementAssignmentFilter::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.deviceAndAppManagementAssignmentFilter::|public|LastModifiedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.deviceAndAppManagementAssignmentFilter::|public|OdataType:string @@ -188540,6 +190205,12 @@ Microsoft.Graph.Beta.Models.directoryRoleCollectionResponse::|public|GetFieldDes Microsoft.Graph.Beta.Models.directoryRoleCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.directoryRoleCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.directoryRoleCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DirectoryRoleCollectionResponse +Microsoft.Graph.Beta.Models.directoryRoleManagementDeletedItemContainer-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.directoryRoleManagementDeletedItemContainer::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.directoryRoleManagementDeletedItemContainer::|public|OdataType:string +Microsoft.Graph.Beta.Models.directoryRoleManagementDeletedItemContainer::|public|RoleDefinitions:List +Microsoft.Graph.Beta.Models.directoryRoleManagementDeletedItemContainer::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.directoryRoleManagementDeletedItemContainer::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer Microsoft.Graph.Beta.Models.directoryRoleTemplate-->global.Microsoft.Graph.Beta.Models.DirectoryObject Microsoft.Graph.Beta.Models.directoryRoleTemplate::|public|constructor():void Microsoft.Graph.Beta.Models.directoryRoleTemplate::|public|Description:string @@ -191617,6 +193288,17 @@ Microsoft.Graph.Beta.Models.entraIdProtectionRiskyUserApproval::|public|MinimumR Microsoft.Graph.Beta.Models.entraIdProtectionRiskyUserApproval::|public|OdataType:string Microsoft.Graph.Beta.Models.entraIdProtectionRiskyUserApproval::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.entraIdProtectionRiskyUserApproval::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EntraIdProtectionRiskyUserApproval +Microsoft.Graph.Beta.Models.entraProtectionPolicy-->global.Microsoft.Graph.Beta.Models.ProtectionPolicyBase +Microsoft.Graph.Beta.Models.entraProtectionPolicy::|public|constructor():void +Microsoft.Graph.Beta.Models.entraProtectionPolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.entraProtectionPolicy::|public|OdataType:string +Microsoft.Graph.Beta.Models.entraProtectionPolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.entraProtectionPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EntraProtectionPolicy +Microsoft.Graph.Beta.Models.entraProtectionPolicyCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.entraProtectionPolicyCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.entraProtectionPolicyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.entraProtectionPolicyCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.entraProtectionPolicyCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EntraProtectionPolicyCollectionResponse Microsoft.Graph.Beta.Models.EntraRecoveryServices.entityTypeAndIds::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.EntraRecoveryServices.entityTypeAndIds::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.EntraRecoveryServices.entityTypeAndIds::|public|constructor():void @@ -191806,6 +193488,10 @@ Microsoft.Graph.Beta.Models.error::|public|Message:string Microsoft.Graph.Beta.Models.error::|public|OdataType:string Microsoft.Graph.Beta.Models.error::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.error::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Error +Microsoft.Graph.Beta.Models.errorActions::0000-none +Microsoft.Graph.Beta.Models.errorActions::0001-audit +Microsoft.Graph.Beta.Models.errorActions::0002-block +Microsoft.Graph.Beta.Models.errorActions::0003-unknownFutureValue Microsoft.Graph.Beta.Models.errorCode::0000-noError Microsoft.Graph.Beta.Models.errorCode::0001-unauthorized Microsoft.Graph.Beta.Models.errorCode::0002-notFound @@ -191826,6 +193512,16 @@ Microsoft.Graph.Beta.Models.errorDetail::|public|ResourceType:string Microsoft.Graph.Beta.Models.errorDetail::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.errorDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ErrorDetail Microsoft.Graph.Beta.Models.errorDetail~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.errorSettings::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.errorSettings::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.errorSettings::|public|constructor():void +Microsoft.Graph.Beta.Models.errorSettings::|public|ErrorAction:global.Microsoft.Graph.Beta.Models.ErrorActions? +Microsoft.Graph.Beta.Models.errorSettings::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.errorSettings::|public|IsEnabled:bool? +Microsoft.Graph.Beta.Models.errorSettings::|public|OdataType:string +Microsoft.Graph.Beta.Models.errorSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.errorSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ErrorSettings +Microsoft.Graph.Beta.Models.errorSettings~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.error~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.evaluateDynamicMembershipResult::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.evaluateDynamicMembershipResult::|public|BackingStore:IBackingStore @@ -191865,6 +193561,54 @@ Microsoft.Graph.Beta.Models.evaluateLabelJobResultGroup::|public|Serialize(write Microsoft.Graph.Beta.Models.evaluateLabelJobResultGroup::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EvaluateLabelJobResultGroup Microsoft.Graph.Beta.Models.evaluateLabelJobResultGroup~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.evaluateLabelJobResult~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.evaluationErrorCategory::0000-unknown +Microsoft.Graph.Beta.Models.evaluationErrorCategory::0001-systemLimit +Microsoft.Graph.Beta.Models.evaluationErrorCategory::0002-systemError +Microsoft.Graph.Beta.Models.evaluationErrorCategory::0003-enforcementError +Microsoft.Graph.Beta.Models.evaluationErrorCategory::0004-unknownFutureValue +Microsoft.Graph.Beta.Models.evaluationErrorDetail::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.evaluationErrorDetail::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.evaluationErrorDetail::|public|constructor():void +Microsoft.Graph.Beta.Models.evaluationErrorDetail::|public|ErrorCategory:global.Microsoft.Graph.Beta.Models.EvaluationErrorCategory? +Microsoft.Graph.Beta.Models.evaluationErrorDetail::|public|ErrorMessage:string +Microsoft.Graph.Beta.Models.evaluationErrorDetail::|public|ErrorType:global.Microsoft.Graph.Beta.Models.EvaluationErrorType? +Microsoft.Graph.Beta.Models.evaluationErrorDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.evaluationErrorDetail::|public|OdataType:string +Microsoft.Graph.Beta.Models.evaluationErrorDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.evaluationErrorDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EvaluationErrorDetail +Microsoft.Graph.Beta.Models.evaluationErrorDetail~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.evaluationErrorType::0000-unsupportedFile +Microsoft.Graph.Beta.Models.evaluationErrorType::0001-passwordProtectedFile +Microsoft.Graph.Beta.Models.evaluationErrorType::0002-fileTooLarge +Microsoft.Graph.Beta.Models.evaluationErrorType::0003-archiveSizeTooLarge +Microsoft.Graph.Beta.Models.evaluationErrorType::0004-textExceedsMceThreshold +Microsoft.Graph.Beta.Models.evaluationErrorType::0005-partiallyScannedArchive +Microsoft.Graph.Beta.Models.evaluationErrorType::0006-partialImageExtraction +Microsoft.Graph.Beta.Models.evaluationErrorType::0007-imageOcrPartialResult +Microsoft.Graph.Beta.Models.evaluationErrorType::0008-ocrProcessingFailure +Microsoft.Graph.Beta.Models.evaluationErrorType::0009-ocrQuotaExhausted +Microsoft.Graph.Beta.Models.evaluationErrorType::0010-classificationServiceError +Microsoft.Graph.Beta.Models.evaluationErrorType::0011-sitExtractionFailure +Microsoft.Graph.Beta.Models.evaluationErrorType::0012-textExtractionFailure +Microsoft.Graph.Beta.Models.evaluationErrorType::0013-archiveTextExtractionError +Microsoft.Graph.Beta.Models.evaluationErrorType::0014-missingOrInvalidConfiguration +Microsoft.Graph.Beta.Models.evaluationErrorType::0015-agentFailure +Microsoft.Graph.Beta.Models.evaluationErrorType::0016-enforcementTimeout +Microsoft.Graph.Beta.Models.evaluationErrorType::0017-osOverride +Microsoft.Graph.Beta.Models.evaluationErrorType::0018-processNonExistent +Microsoft.Graph.Beta.Models.evaluationErrorType::0019-other +Microsoft.Graph.Beta.Models.evaluationErrorType::0020-serviceTimeout +Microsoft.Graph.Beta.Models.evaluationErrorType::0021-serviceError +Microsoft.Graph.Beta.Models.evaluationErrorType::0022-serviceUnavailable +Microsoft.Graph.Beta.Models.evaluationErrorType::0023-unknownFutureValue +Microsoft.Graph.Beta.Models.evaluationIncompleteActivityMetadata-->global.Microsoft.Graph.Beta.Models.ProcessContentMetadataBase +Microsoft.Graph.Beta.Models.evaluationIncompleteActivityMetadata::|public|constructor():void +Microsoft.Graph.Beta.Models.evaluationIncompleteActivityMetadata::|public|ErrorAction:global.Microsoft.Graph.Beta.Models.ErrorActions? +Microsoft.Graph.Beta.Models.evaluationIncompleteActivityMetadata::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.evaluationIncompleteActivityMetadata::|public|InspectionIncompleteReason:global.Microsoft.Graph.Beta.Models.EvaluationErrorDetail +Microsoft.Graph.Beta.Models.evaluationIncompleteActivityMetadata::|public|OdataType:string +Microsoft.Graph.Beta.Models.evaluationIncompleteActivityMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.evaluationIncompleteActivityMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.EvaluationIncompleteActivityMetadata Microsoft.Graph.Beta.Models.evaluationScope::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.evaluationScope::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.evaluationScope::|public|constructor():void @@ -192366,6 +194110,14 @@ Microsoft.Graph.Beta.Models.extensionCollectionResponse::|public|GetFieldDeseria Microsoft.Graph.Beta.Models.extensionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.extensionCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.extensionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ExtensionCollectionResponse +Microsoft.Graph.Beta.Models.extensionFieldCollection::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.extensionFieldCollection::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.extensionFieldCollection::|public|constructor():void +Microsoft.Graph.Beta.Models.extensionFieldCollection::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.extensionFieldCollection::|public|OdataType:string +Microsoft.Graph.Beta.Models.extensionFieldCollection::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.extensionFieldCollection::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ExtensionFieldCollection +Microsoft.Graph.Beta.Models.extensionFieldCollection~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.extensionProperty-->global.Microsoft.Graph.Beta.Models.DirectoryObject Microsoft.Graph.Beta.Models.extensionProperty::|public|AppDisplayName:string Microsoft.Graph.Beta.Models.extensionProperty::|public|constructor():void @@ -194033,6 +195785,39 @@ Microsoft.Graph.Beta.Models.globalSecureAccessFilteringProfileSessionControl::|p Microsoft.Graph.Beta.Models.globalSecureAccessFilteringProfileSessionControl::|public|ProfileId:string Microsoft.Graph.Beta.Models.globalSecureAccessFilteringProfileSessionControl::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.globalSecureAccessFilteringProfileSessionControl::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.GlobalSecureAccessFilteringProfileSessionControl +Microsoft.Graph.Beta.Models.goal-->global.Microsoft.Graph.Beta.Models.PlannerDelta +Microsoft.Graph.Beta.Models.goal::|public|ArchivalInfo:global.Microsoft.Graph.Beta.Models.PlannerArchivalInfo +Microsoft.Graph.Beta.Models.goal::|public|Capabilities:global.Microsoft.Graph.Beta.Models.GoalCapability +Microsoft.Graph.Beta.Models.goal::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.goal::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.goal::|public|DisplayName:string +Microsoft.Graph.Beta.Models.goal::|public|Extensions:global.Microsoft.Graph.Beta.Models.ExtensionFieldCollection +Microsoft.Graph.Beta.Models.goal::|public|FinishDate:Date? +Microsoft.Graph.Beta.Models.goal::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.goal::|public|LastModifiedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.goal::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.goal::|public|Notes:global.Microsoft.Graph.Beta.Models.ItemBody +Microsoft.Graph.Beta.Models.goal::|public|OdataType:string +Microsoft.Graph.Beta.Models.goal::|public|PlanId:string +Microsoft.Graph.Beta.Models.goal::|public|Priority:int? +Microsoft.Graph.Beta.Models.goal::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.goal::|public|StartDate:Date? +Microsoft.Graph.Beta.Models.goal::|public|Status:global.Microsoft.Graph.Beta.Models.PlannerGoalStatus? +Microsoft.Graph.Beta.Models.goal::|public|Tasks:List +Microsoft.Graph.Beta.Models.goal::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Goal +Microsoft.Graph.Beta.Models.goalCapability::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.goalCapability::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.goalCapability::|public|constructor():void +Microsoft.Graph.Beta.Models.goalCapability::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.goalCapability::|public|OdataType:string +Microsoft.Graph.Beta.Models.goalCapability::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.goalCapability::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.GoalCapability +Microsoft.Graph.Beta.Models.goalCapability~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.goalCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.goalCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.goalCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.goalCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.goalCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.GoalCollectionResponse Microsoft.Graph.Beta.Models.goals-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.goals::|public|ExportJobs:List Microsoft.Graph.Beta.Models.goals::|public|GetFieldDeserializers():IDictionary> @@ -195502,6 +197287,24 @@ Microsoft.Graph.Beta.Models.historyEventType::0002-deleted Microsoft.Graph.Beta.Models.historyEventType::0003-undeleted Microsoft.Graph.Beta.Models.historyEventType::0004-moved Microsoft.Graph.Beta.Models.historyEventType::0005-unknownFutureValue +Microsoft.Graph.Beta.Models.historyItem-->global.Microsoft.Graph.Beta.Models.PlannerDelta +Microsoft.Graph.Beta.Models.historyItem::|public|Actor:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.historyItem::|public|EntityId:string +Microsoft.Graph.Beta.Models.historyItem::|public|EntityType:global.Microsoft.Graph.Beta.Models.HistoryEntityType? +Microsoft.Graph.Beta.Models.historyItem::|public|EventType:global.Microsoft.Graph.Beta.Models.HistoryEventType? +Microsoft.Graph.Beta.Models.historyItem::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.historyItem::|public|NewData:string +Microsoft.Graph.Beta.Models.historyItem::|public|OccurredDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.historyItem::|public|OdataType:string +Microsoft.Graph.Beta.Models.historyItem::|public|OldData:string +Microsoft.Graph.Beta.Models.historyItem::|public|PlanId:string +Microsoft.Graph.Beta.Models.historyItem::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.historyItem::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.HistoryItem +Microsoft.Graph.Beta.Models.historyItemCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.historyItemCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.historyItemCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.historyItemCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.historyItemCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.HistoryItemCollectionResponse Microsoft.Graph.Beta.Models.holdType::0000-none Microsoft.Graph.Beta.Models.holdType::0001-private Microsoft.Graph.Beta.Models.holdType::0002-public @@ -195754,6 +197557,12 @@ Microsoft.Graph.Beta.Models.identityFinding::|public|OdataType:string Microsoft.Graph.Beta.Models.identityFinding::|public|PermissionsCreepIndex:global.Microsoft.Graph.Beta.Models.PermissionsCreepIndex Microsoft.Graph.Beta.Models.identityFinding::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.identityFinding::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityFinding +Microsoft.Graph.Beta.Models.IdentityGovernance.accessPackageAssignmentRequiredRule-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.Beta.Models.IdentityGovernance.accessPackageAssignmentRequiredRule::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.accessPackageAssignmentRequiredRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.accessPackageAssignmentRequiredRule::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.accessPackageAssignmentRequiredRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.accessPackageAssignmentRequiredRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.AccessPackageAssignmentRequiredRule Microsoft.Graph.Beta.Models.IdentityGovernance.activateGroupScope-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.ActivationScope Microsoft.Graph.Beta.Models.IdentityGovernance.activateGroupScope::|public|constructor():void Microsoft.Graph.Beta.Models.IdentityGovernance.activateGroupScope::|public|GetFieldDeserializers():IDictionary> @@ -195799,6 +197608,48 @@ Microsoft.Graph.Beta.Models.IdentityGovernance.activationTaskScopeType::0002-unk Microsoft.Graph.Beta.Models.IdentityGovernance.activationUserScopeType::0000-allUsers Microsoft.Graph.Beta.Models.IdentityGovernance.activationUserScopeType::0001-failedUsers Microsoft.Graph.Beta.Models.IdentityGovernance.activationUserScopeType::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.IdentityGovernance.agentBuilderPlatforms::0000-microsoftCopilotStudio +Microsoft.Graph.Beta.Models.IdentityGovernance.agentBuilderPlatforms::0001-foundry +Microsoft.Graph.Beta.Models.IdentityGovernance.agentBuilderPlatforms::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.IdentityGovernance.agentIdentityLifecycle-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle +Microsoft.Graph.Beta.Models.IdentityGovernance.agentIdentityLifecycle::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.agentIdentityLifecycle::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.agentIdentityLifecycle::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.agentIdentityLifecycle::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.agentIdentityLifecycle::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.AgentIdentityLifecycle +Microsoft.Graph.Beta.Models.IdentityGovernance.agentIdentityLifecyclePolicy-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Beta.Models.IdentityGovernance.agentIdentityLifecyclePolicy::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.agentIdentityLifecyclePolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.agentIdentityLifecyclePolicy::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.agentIdentityLifecyclePolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.agentIdentityLifecyclePolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.AgentIdentityLifecyclePolicy +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingAgentBuilderPlatformsSubjectSet-->global.Microsoft.Graph.Beta.Models.SubjectSet +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingAgentBuilderPlatformsSubjectSet::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingAgentBuilderPlatformsSubjectSet::|public|ExcludedAgentBuilderPlatforms:global.Microsoft.Graph.Beta.Models.IdentityGovernance.AgentBuilderPlatforms? +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingAgentBuilderPlatformsSubjectSet::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingAgentBuilderPlatformsSubjectSet::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingAgentBuilderPlatformsSubjectSet::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingAgentBuilderPlatformsSubjectSet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.AllExcludingAgentBuilderPlatformsSubjectSet +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingGroupsSubjectSet-->global.Microsoft.Graph.Beta.Models.SubjectSet +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingGroupsSubjectSet::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingGroupsSubjectSet::|public|ExcludedGroups:List +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingGroupsSubjectSet::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingGroupsSubjectSet::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingGroupsSubjectSet::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingGroupsSubjectSet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.AllExcludingGroupsSubjectSet +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingSpecificObjectsSubjectSet-->global.Microsoft.Graph.Beta.Models.SubjectSet +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingSpecificObjectsSubjectSet::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingSpecificObjectsSubjectSet::|public|ExcludedObjects:List +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingSpecificObjectsSubjectSet::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingSpecificObjectsSubjectSet::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingSpecificObjectsSubjectSet::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.allExcludingSpecificObjectsSubjectSet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.AllExcludingSpecificObjectsSubjectSet +Microsoft.Graph.Beta.Models.IdentityGovernance.attestationComplianceIssue-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssue +Microsoft.Graph.Beta.Models.IdentityGovernance.attestationComplianceIssue::|public|AttestationBlockReasons:List +Microsoft.Graph.Beta.Models.IdentityGovernance.attestationComplianceIssue::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.attestationComplianceIssue::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.attestationComplianceIssue::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.attestationComplianceIssue::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.AttestationComplianceIssue Microsoft.Graph.Beta.Models.IdentityGovernance.attributeChangeTrigger-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.WorkflowExecutionTrigger Microsoft.Graph.Beta.Models.IdentityGovernance.attributeChangeTrigger::|public|constructor():void Microsoft.Graph.Beta.Models.IdentityGovernance.attributeChangeTrigger::|public|GetFieldDeserializers():IDictionary> @@ -195842,6 +197693,25 @@ Microsoft.Graph.Beta.Models.IdentityGovernance.cancelScope::|public|OdataType:st Microsoft.Graph.Beta.Models.IdentityGovernance.cancelScope::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.IdentityGovernance.cancelScope::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.CancelScope Microsoft.Graph.Beta.Models.IdentityGovernance.cancelScope~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceIssue-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceIssue::|public|Description:string +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceIssue::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceIssue::|public|GoverningPolicyReferenceId:string +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceIssue::|public|IssueCode:string +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceIssue::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceIssue::|public|RuleType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceIssue::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceIssue::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssue +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceIssueCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceIssueCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceIssueCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceIssueCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceIssueCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssueCollectionResponse +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceState::0000-compliant +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceState::0001-warning +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceState::0002-warningNotify +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceState::0003-nonCompliant +Microsoft.Graph.Beta.Models.IdentityGovernance.complianceState::0004-unknownFutureValue Microsoft.Graph.Beta.Models.IdentityGovernance.countBasedQuarantineCondition-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.QuarantineCondition Microsoft.Graph.Beta.Models.IdentityGovernance.countBasedQuarantineCondition::|public|constructor():void Microsoft.Graph.Beta.Models.IdentityGovernance.countBasedQuarantineCondition::|public|GetFieldDeserializers():IDictionary> @@ -195907,6 +197777,12 @@ Microsoft.Graph.Beta.Models.IdentityGovernance.customTaskExtensionResponseData:: Microsoft.Graph.Beta.Models.IdentityGovernance.customTaskExtensionResponseData::|public|StatusReasons:List Microsoft.Graph.Beta.Models.IdentityGovernance.customTaskExtensionResponseData::|public|TargetSubject:global.Microsoft.Graph.Beta.Models.IdentityGovernance.WorkflowSubject Microsoft.Graph.Beta.Models.IdentityGovernance.customTaskExtensionResponseData::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.CustomTaskExtensionResponseData +Microsoft.Graph.Beta.Models.IdentityGovernance.deleteOnlyEnforcementAction-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyEnforcementAction +Microsoft.Graph.Beta.Models.IdentityGovernance.deleteOnlyEnforcementAction::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.deleteOnlyEnforcementAction::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.deleteOnlyEnforcementAction::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.deleteOnlyEnforcementAction::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.deleteOnlyEnforcementAction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.DeleteOnlyEnforcementAction Microsoft.Graph.Beta.Models.IdentityGovernance.directoryObjectWorkflowSubject-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.WorkflowSubject Microsoft.Graph.Beta.Models.IdentityGovernance.directoryObjectWorkflowSubject::|public|constructor():void Microsoft.Graph.Beta.Models.IdentityGovernance.directoryObjectWorkflowSubject::|public|DirectoryObject:global.Microsoft.Graph.Beta.Models.DirectoryObject @@ -195914,6 +197790,19 @@ Microsoft.Graph.Beta.Models.IdentityGovernance.directoryObjectWorkflowSubject::| Microsoft.Graph.Beta.Models.IdentityGovernance.directoryObjectWorkflowSubject::|public|OdataType:string Microsoft.Graph.Beta.Models.IdentityGovernance.directoryObjectWorkflowSubject::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.IdentityGovernance.directoryObjectWorkflowSubject::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.DirectoryObjectWorkflowSubject +Microsoft.Graph.Beta.Models.IdentityGovernance.disableOnlyEnforcementAction-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyEnforcementAction +Microsoft.Graph.Beta.Models.IdentityGovernance.disableOnlyEnforcementAction::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.disableOnlyEnforcementAction::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.disableOnlyEnforcementAction::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.disableOnlyEnforcementAction::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.disableOnlyEnforcementAction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.DisableOnlyEnforcementAction +Microsoft.Graph.Beta.Models.IdentityGovernance.disableThenDeleteEnforcementAction-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyEnforcementAction +Microsoft.Graph.Beta.Models.IdentityGovernance.disableThenDeleteEnforcementAction::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.disableThenDeleteEnforcementAction::|public|DeletionGracePeriodInDays:int? +Microsoft.Graph.Beta.Models.IdentityGovernance.disableThenDeleteEnforcementAction::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.disableThenDeleteEnforcementAction::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.disableThenDeleteEnforcementAction::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.disableThenDeleteEnforcementAction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.DisableThenDeleteEnforcementAction Microsoft.Graph.Beta.Models.IdentityGovernance.groupBasedSubjectSet-->global.Microsoft.Graph.Beta.Models.SubjectSet Microsoft.Graph.Beta.Models.IdentityGovernance.groupBasedSubjectSet::|public|constructor():void Microsoft.Graph.Beta.Models.IdentityGovernance.groupBasedSubjectSet::|public|GetFieldDeserializers():IDictionary> @@ -195921,6 +197810,12 @@ Microsoft.Graph.Beta.Models.IdentityGovernance.groupBasedSubjectSet::|public|Gro Microsoft.Graph.Beta.Models.IdentityGovernance.groupBasedSubjectSet::|public|OdataType:string Microsoft.Graph.Beta.Models.IdentityGovernance.groupBasedSubjectSet::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.IdentityGovernance.groupBasedSubjectSet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.GroupBasedSubjectSet +Microsoft.Graph.Beta.Models.IdentityGovernance.guestLifecyclePolicy-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Beta.Models.IdentityGovernance.guestLifecyclePolicy::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.guestLifecyclePolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.guestLifecyclePolicy::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.guestLifecyclePolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.guestLifecyclePolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.GuestLifecyclePolicy Microsoft.Graph.Beta.Models.IdentityGovernance.guestSponsorTrigger-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.WorkflowExecutionTrigger Microsoft.Graph.Beta.Models.IdentityGovernance.guestSponsorTrigger::|public|constructor():void Microsoft.Graph.Beta.Models.IdentityGovernance.guestSponsorTrigger::|public|GetFieldDeserializers():IDictionary> @@ -195946,11 +197841,33 @@ Microsoft.Graph.Beta.Models.IdentityGovernance.identityGovernance::|public|Seria Microsoft.Graph.Beta.Models.IdentityGovernance.identityGovernance::|public|TermsOfUse:global.Microsoft.Graph.Beta.Models.TermsOfUseContainer Microsoft.Graph.Beta.Models.IdentityGovernance.identityGovernance::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityGovernance Microsoft.Graph.Beta.Models.IdentityGovernance.identityGovernance~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.IdentityGovernance.identityLifecycle-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.IdentityGovernance.identityLifecycle::|public|ComplianceIssues:List +Microsoft.Graph.Beta.Models.IdentityGovernance.identityLifecycle::|public|EffectiveGoverningPolicy:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Beta.Models.IdentityGovernance.identityLifecycle::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.identityLifecycle::|public|LastAttestationDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.IdentityGovernance.identityLifecycle::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.identityLifecycle::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.identityLifecycle::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle +Microsoft.Graph.Beta.Models.IdentityGovernance.inactivityRule-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.Beta.Models.IdentityGovernance.inactivityRule::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.inactivityRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.inactivityRule::|public|LastActivityThresholdInDays:int? +Microsoft.Graph.Beta.Models.IdentityGovernance.inactivityRule::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.inactivityRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.inactivityRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.InactivityRule Microsoft.Graph.Beta.Models.IdentityGovernance.insights-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.IdentityGovernance.insights::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.IdentityGovernance.insights::|public|OdataType:string Microsoft.Graph.Beta.Models.IdentityGovernance.insights::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.IdentityGovernance.insights::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.Insights +Microsoft.Graph.Beta.Models.IdentityGovernance.invitationRedemptionRule-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.Beta.Models.IdentityGovernance.invitationRedemptionRule::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.invitationRedemptionRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.invitationRedemptionRule::|public|InvitationRedemptionThresholdInDays:int? +Microsoft.Graph.Beta.Models.IdentityGovernance.invitationRedemptionRule::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.invitationRedemptionRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.invitationRedemptionRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.InvitationRedemptionRule Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleManagementSettings-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleManagementSettings::|public|EmailSettings:global.Microsoft.Graph.Beta.Models.EmailSettings Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleManagementSettings::|public|GetFieldDeserializers():IDictionary> @@ -195959,6 +197876,250 @@ Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleManagementSettings::|pub Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleManagementSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleManagementSettings::|public|WorkflowScheduleIntervalInHours:int? Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleManagementSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecycleManagementSettings +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|Description:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|DisplayName:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|EnforcementAction:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyEnforcementAction +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|GracePeriodInDays:int? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|IsEnabled:bool? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|LastModifiedBy:global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|NotificationSchedule:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyNotificationSettings +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|PolicySource:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySource? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|Report:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReport +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|Rules:List +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|Scope:global.Microsoft.Graph.Beta.Models.SubjectSet +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|VersionNumber:int? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|public|Versions:List +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyAgentIdentitySubjectReference-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReference +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyAgentIdentitySubjectReference::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyAgentIdentitySubjectReference::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyAgentIdentitySubjectReference::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyAgentIdentitySubjectReference::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyAgentIdentitySubjectReference::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyAgentIdentitySubjectReference +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyCollectionResponse +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyComplianceStatus::0000-notEvaluated +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyComplianceStatus::0001-compliant +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyComplianceStatus::0002-nonCompliant +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyComplianceStatus::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementAction::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementAction::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementAction::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementAction::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementAction::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementAction::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementAction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyEnforcementAction +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0000-none +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0001-warningStateEnabled +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0002-nonComplianceNotificationSent +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0003-firstNotificationSent +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0004-secondNotificationSent +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0005-finalNotificationSent +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0006-disabled +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0007-deleted +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0008-complianceRestored +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementActionState::0009-unknownFutureValue +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementAction~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementStatus::0000-notRequired +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementStatus::0001-notStarted +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementStatus::0002-processing +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementStatus::0003-waiting +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementStatus::0004-actionDue +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementStatus::0005-complete +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementStatus::0006-unknown +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyEnforcementStatus::0007-unknownFutureValue +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactAction::|public|ActionType:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyImpactActionType? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactAction::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactAction::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactAction::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactAction::|public|DateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactAction::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactAction::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactAction::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactAction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyImpactAction +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactActionType::0000-objectCoveredByPolicy +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactActionType::0001-attestationNeededWarning +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactActionType::0002-attestationNeededNotificationSent +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactActionType::0003-disabledDueToAttestationNonCompliance +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactActionType::0004-deletedDueToAttestationNonCompliance +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactActionType::0005-unknownFutureValue +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactAction~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactSummary-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactSummary::|public|ActionsTaken:List +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactSummary::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactSummary::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactSummary::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactSummary::|public|Subject:global.Microsoft.Graph.Beta.Models.DirectoryObject +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyImpactSummary::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyImpactSummary +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyNextEnforcementAction::0000-nonComplianceNotification +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyNextEnforcementAction::0001-firstNotification +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyNextEnforcementAction::0002-secondNotification +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyNextEnforcementAction::0003-finalNotification +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyNextEnforcementAction::0004-disable +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyNextEnforcementAction::0005-disableNotification +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyNextEnforcementAction::0006-delete +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyNextEnforcementAction::0007-unknownFutureValue +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyNotificationSettings::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyNotificationSettings::|public|AdditionalFallbackRecipients:List +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyNotificationSettings::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyNotificationSettings::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyNotificationSettings::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyNotificationSettings::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyNotificationSettings::|public|OffsetsAfterNonComplianceInDays:List +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyNotificationSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyNotificationSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyNotificationSettings +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyNotificationSettings~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyPriorityConfiguration-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyPriorityConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyPriorityConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyPriorityConfiguration::|public|OrderedPolicyIds:List +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyPriorityConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyPriorityConfiguration::|public|SubjectType:global.Microsoft.Graph.Beta.Models.IdentityGovernance.SubjectType? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyPriorityConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfiguration +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyPriorityConfigurationCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyPriorityConfigurationCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyPriorityConfigurationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyPriorityConfigurationCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyPriorityConfigurationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyPriorityConfigurationCollectionResponse +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReference::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReference::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReference::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReference::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReference::|public|Id:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReference::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReference::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReference::|public|Version:int? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReference::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReference +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReference~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRelationship::0000-effective +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRelationship::0001-inScopeButIneffective +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRelationship::0002-pending +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRelationship::0003-unknownFutureValue +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReport-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReport::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReport::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReport::|public|PolicyVersion:int? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReport::|public|ScopeProcessing:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyScopeProcessing +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReport::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReport::|public|Subjects:List +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReport::|public|SubjectsInScopeCount:int? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyReport::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReport +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRule-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRule::|public|IsEnabled:bool? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRule::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRuleCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRuleCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRuleCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRuleCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyRuleCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRuleCollectionResponse +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|CurrentStartedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|CurrentStatus:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyScopeProcessingStatus? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|LastSuccessfulProcessingDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|LatestAttempt:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessing::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyScopeProcessing +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|CompletedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|Error:global.Microsoft.Graph.Beta.Models.PublicError +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|StartedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|public|Status:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttemptStatus? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyScopeProcessingAttempt +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttemptStatus::0000-notStarted +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttemptStatus::0001-evaluating +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttemptStatus::0002-processing +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttemptStatus::0003-completed +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttemptStatus::0004-failed +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttemptStatus::0005-timedOut +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttemptStatus::0006-invalidScope +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttemptStatus::0007-unknownFutureValue +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingAttempt~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingStatus::0000-idle +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingStatus::0001-notStarted +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingStatus::0002-evaluating +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingStatus::0003-processing +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessingStatus::0004-unknownFutureValue +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyScopeProcessing~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySource::0000-userCreated +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySource::0001-systemDefault +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySource::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectCompliance::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectCompliance::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectCompliance::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectCompliance::|public|EvaluatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectCompliance::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectCompliance::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectCompliance::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectCompliance::|public|Status:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyComplianceStatus? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectCompliance::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectCompliance +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectCompliance~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|IsLocked:bool? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|IsTerminal:bool? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|LastAction:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyEnforcementActionState? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|LastActionDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|NextAction:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyNextEnforcementAction? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|NextActionDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|public|Status:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyEnforcementStatus? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectEnforcement~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReference::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReference::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReference::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReference::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReference::|public|Id:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReference::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReference::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReference::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReference +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReference~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReport-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReport::|public|Compliance:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectCompliance +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReport::|public|EffectivePolicy:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyReference +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReport::|public|Enforcement:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectEnforcement +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReport::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReport::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReport::|public|Relationship:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRelationship? +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReport::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReport::|public|Subject:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReference +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReport::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReport +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReportCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReportCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReportCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReportCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicySubjectReportCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReportCollectionResponse +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyUserSubjectReference-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicySubjectReference +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyUserSubjectReference::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyUserSubjectReference::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyUserSubjectReference::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyUserSubjectReference::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecyclePolicyUserSubjectReference::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyUserSubjectReference Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleTaskCategory::0000-joiner Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleTaskCategory::0001-leaver Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleTaskCategory::0002-unknownFutureValue @@ -195983,6 +198144,8 @@ Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleWorkflowsContainer::|pub Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|DeletedItems:global.Microsoft.Graph.Beta.Models.DeletedItemContainer Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|Insights:global.Microsoft.Graph.Beta.Models.IdentityGovernance.Insights +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|LifecyclePolicies:List +Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|LifecyclePolicyPriorityConfigurations:List Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|OdataType:string Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|Settings:global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecycleManagementSettings @@ -196049,6 +198212,13 @@ Microsoft.Graph.Beta.Models.IdentityGovernance.percentageBasedQuarantineConditio Microsoft.Graph.Beta.Models.IdentityGovernance.percentageBasedQuarantineCondition::|public|Percentage:int? Microsoft.Graph.Beta.Models.IdentityGovernance.percentageBasedQuarantineCondition::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.IdentityGovernance.percentageBasedQuarantineCondition::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.PercentageBasedQuarantineCondition +Microsoft.Graph.Beta.Models.IdentityGovernance.periodicAttestationRule-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.Beta.Models.IdentityGovernance.periodicAttestationRule::|public|AttestationIntervalInDays:int? +Microsoft.Graph.Beta.Models.IdentityGovernance.periodicAttestationRule::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.periodicAttestationRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.periodicAttestationRule::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.periodicAttestationRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.periodicAttestationRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.PeriodicAttestationRule Microsoft.Graph.Beta.Models.IdentityGovernance.previewFailedTask::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.IdentityGovernance.previewFailedTask::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.IdentityGovernance.previewFailedTask::|public|constructor():void @@ -196157,6 +198327,20 @@ Microsoft.Graph.Beta.Models.IdentityGovernance.runSummary::|public|TotalTasks:in Microsoft.Graph.Beta.Models.IdentityGovernance.runSummary::|public|TotalUsers:int? Microsoft.Graph.Beta.Models.IdentityGovernance.runSummary::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.RunSummary Microsoft.Graph.Beta.Models.IdentityGovernance.runSummary~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.IdentityGovernance.selectedObjectsSubjectSet-->global.Microsoft.Graph.Beta.Models.SubjectSet +Microsoft.Graph.Beta.Models.IdentityGovernance.selectedObjectsSubjectSet::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.selectedObjectsSubjectSet::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.selectedObjectsSubjectSet::|public|InScopeObjects:List +Microsoft.Graph.Beta.Models.IdentityGovernance.selectedObjectsSubjectSet::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.selectedObjectsSubjectSet::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.selectedObjectsSubjectSet::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.SelectedObjectsSubjectSet +Microsoft.Graph.Beta.Models.IdentityGovernance.sponsorPresenceRule-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicyRule +Microsoft.Graph.Beta.Models.IdentityGovernance.sponsorPresenceRule::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.sponsorPresenceRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.sponsorPresenceRule::|public|MinimumSponsorCount:int? +Microsoft.Graph.Beta.Models.IdentityGovernance.sponsorPresenceRule::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.sponsorPresenceRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.sponsorPresenceRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.SponsorPresenceRule Microsoft.Graph.Beta.Models.IdentityGovernance.subjectProcessingResult-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.IdentityGovernance.subjectProcessingResult::|public|CompletedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.IdentityGovernance.subjectProcessingResult::|public|FailedTasksCount:int? @@ -196352,6 +198536,13 @@ Microsoft.Graph.Beta.Models.IdentityGovernance.triggerAttribute::|public|OdataTy Microsoft.Graph.Beta.Models.IdentityGovernance.triggerAttribute::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.IdentityGovernance.triggerAttribute::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.TriggerAttribute Microsoft.Graph.Beta.Models.IdentityGovernance.triggerAttribute~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.IdentityGovernance.userIdentityLifecycle-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle +Microsoft.Graph.Beta.Models.IdentityGovernance.userIdentityLifecycle::|public|ComplianceState:global.Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceState? +Microsoft.Graph.Beta.Models.IdentityGovernance.userIdentityLifecycle::|public|constructor():void +Microsoft.Graph.Beta.Models.IdentityGovernance.userIdentityLifecycle::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.IdentityGovernance.userIdentityLifecycle::|public|OdataType:string +Microsoft.Graph.Beta.Models.IdentityGovernance.userIdentityLifecycle::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.IdentityGovernance.userIdentityLifecycle::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle Microsoft.Graph.Beta.Models.IdentityGovernance.userInactivityTrigger-->global.Microsoft.Graph.Beta.Models.IdentityGovernance.WorkflowExecutionTrigger Microsoft.Graph.Beta.Models.IdentityGovernance.userInactivityTrigger::|public|constructor():void Microsoft.Graph.Beta.Models.IdentityGovernance.userInactivityTrigger::|public|GetFieldDeserializers():IDictionary> @@ -198946,6 +201137,7 @@ Microsoft.Graph.Beta.Models.iosMinimumOperatingSystem::|public|V160:bool? Microsoft.Graph.Beta.Models.iosMinimumOperatingSystem::|public|V170:bool? Microsoft.Graph.Beta.Models.iosMinimumOperatingSystem::|public|V180:bool? Microsoft.Graph.Beta.Models.iosMinimumOperatingSystem::|public|V260:bool? +Microsoft.Graph.Beta.Models.iosMinimumOperatingSystem::|public|V270:bool? Microsoft.Graph.Beta.Models.iosMinimumOperatingSystem::|public|V80:bool? Microsoft.Graph.Beta.Models.iosMinimumOperatingSystem::|public|V90:bool? Microsoft.Graph.Beta.Models.iosMinimumOperatingSystem::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.IosMinimumOperatingSystem @@ -200316,6 +202508,17 @@ Microsoft.Graph.Beta.Models.licenseUnitsDetail::|public|Suspended:int? Microsoft.Graph.Beta.Models.licenseUnitsDetail::|public|Warning:int? Microsoft.Graph.Beta.Models.licenseUnitsDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.LicenseUnitsDetail Microsoft.Graph.Beta.Models.licenseUnitsDetail~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.lifecyclePolicyComplianceState::0000-compliant +Microsoft.Graph.Beta.Models.lifecyclePolicyComplianceState::0001-warning +Microsoft.Graph.Beta.Models.lifecyclePolicyComplianceState::0002-warningNotify +Microsoft.Graph.Beta.Models.lifecyclePolicyComplianceState::0003-nonCompliant +Microsoft.Graph.Beta.Models.limitedCostManagementQuantity-->global.Microsoft.Graph.Beta.Models.CostManagementQuantity +Microsoft.Graph.Beta.Models.limitedCostManagementQuantity::|public|constructor():void +Microsoft.Graph.Beta.Models.limitedCostManagementQuantity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.limitedCostManagementQuantity::|public|OdataType:string +Microsoft.Graph.Beta.Models.limitedCostManagementQuantity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.limitedCostManagementQuantity::|public|Value:double? +Microsoft.Graph.Beta.Models.limitedCostManagementQuantity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.LimitedCostManagementQuantity Microsoft.Graph.Beta.Models.linkableIdentifiers::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.linkableIdentifiers::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.linkableIdentifiers::|public|constructor():void @@ -201342,6 +203545,7 @@ Microsoft.Graph.Beta.Models.macOSMinimumOperatingSystem::|public|V130:bool? Microsoft.Graph.Beta.Models.macOSMinimumOperatingSystem::|public|V140:bool? Microsoft.Graph.Beta.Models.macOSMinimumOperatingSystem::|public|V150:bool? Microsoft.Graph.Beta.Models.macOSMinimumOperatingSystem::|public|V260:bool? +Microsoft.Graph.Beta.Models.macOSMinimumOperatingSystem::|public|V270:bool? Microsoft.Graph.Beta.Models.macOSMinimumOperatingSystem::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.MacOSMinimumOperatingSystem Microsoft.Graph.Beta.Models.macOSMinimumOperatingSystem~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.macOSOfficeSuiteApp-->global.Microsoft.Graph.Beta.Models.MobileApp @@ -201765,6 +203969,7 @@ Microsoft.Graph.Beta.Models.mailboxFolder::|public|ChildFolderCount:int? Microsoft.Graph.Beta.Models.mailboxFolder::|public|ChildFolders:List Microsoft.Graph.Beta.Models.mailboxFolder::|public|DisplayName:string Microsoft.Graph.Beta.Models.mailboxFolder::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.mailboxFolder::|public|IsHidden:bool? Microsoft.Graph.Beta.Models.mailboxFolder::|public|Items:List Microsoft.Graph.Beta.Models.mailboxFolder::|public|MultiValueExtendedProperties:List Microsoft.Graph.Beta.Models.mailboxFolder::|public|OdataType:string @@ -210173,6 +212378,7 @@ Microsoft.Graph.Beta.Models.operationApprovalPolicyType::0005-script Microsoft.Graph.Beta.Models.operationApprovalPolicyType::0006-role Microsoft.Graph.Beta.Models.operationApprovalPolicyType::0007-unknownFutureValue Microsoft.Graph.Beta.Models.operationApprovalPolicyType::0008-tenantConfiguration +Microsoft.Graph.Beta.Models.operationApprovalPolicyType::0009-deviceDeprovision Microsoft.Graph.Beta.Models.operationApprovalRequest-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.operationApprovalRequest::|public|ApprovalJustification:string Microsoft.Graph.Beta.Models.operationApprovalRequest::|public|Approver:global.Microsoft.Graph.Beta.Models.IdentitySet @@ -211117,6 +213323,12 @@ Microsoft.Graph.Beta.Models.partnerInformation~~>IAdditionalDataHolder; IBackedM Microsoft.Graph.Beta.Models.Partners.Billing.attributeSet::0000-full Microsoft.Graph.Beta.Models.Partners.Billing.attributeSet::0001-basic Microsoft.Graph.Beta.Models.Partners.Billing.attributeSet::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.Partners.Billing.azureAggregatedUsage-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.Partners.Billing.azureAggregatedUsage::|public|Billed:global.Microsoft.Graph.Beta.Models.Partners.Billing.BilledAggregatedUsage +Microsoft.Graph.Beta.Models.Partners.Billing.azureAggregatedUsage::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Partners.Billing.azureAggregatedUsage::|public|OdataType:string +Microsoft.Graph.Beta.Models.Partners.Billing.azureAggregatedUsage::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Partners.Billing.azureAggregatedUsage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Partners.Billing.AzureAggregatedUsage Microsoft.Graph.Beta.Models.Partners.Billing.azureUsage-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.Partners.Billing.azureUsage::|public|Billed:global.Microsoft.Graph.Beta.Models.Partners.Billing.BilledUsage Microsoft.Graph.Beta.Models.Partners.Billing.azureUsage::|public|GetFieldDeserializers():IDictionary> @@ -211124,6 +213336,11 @@ Microsoft.Graph.Beta.Models.Partners.Billing.azureUsage::|public|OdataType:strin Microsoft.Graph.Beta.Models.Partners.Billing.azureUsage::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Partners.Billing.azureUsage::|public|Unbilled:global.Microsoft.Graph.Beta.Models.Partners.Billing.UnbilledUsage Microsoft.Graph.Beta.Models.Partners.Billing.azureUsage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Partners.Billing.AzureUsage +Microsoft.Graph.Beta.Models.Partners.Billing.billedAggregatedUsage-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.Partners.Billing.billedAggregatedUsage::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Partners.Billing.billedAggregatedUsage::|public|OdataType:string +Microsoft.Graph.Beta.Models.Partners.Billing.billedAggregatedUsage::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Partners.Billing.billedAggregatedUsage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Partners.Billing.BilledAggregatedUsage Microsoft.Graph.Beta.Models.Partners.Billing.billedReconciliation-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.Partners.Billing.billedReconciliation::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.Partners.Billing.billedReconciliation::|public|OdataType:string @@ -211135,6 +213352,7 @@ Microsoft.Graph.Beta.Models.Partners.Billing.billedUsage::|public|OdataType:stri Microsoft.Graph.Beta.Models.Partners.Billing.billedUsage::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Partners.Billing.billedUsage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Partners.Billing.BilledUsage Microsoft.Graph.Beta.Models.Partners.Billing.billing-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.Partners.Billing.billing::|public|AggregatedUsage:global.Microsoft.Graph.Beta.Models.Partners.Billing.AzureAggregatedUsage Microsoft.Graph.Beta.Models.Partners.Billing.billing::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.Partners.Billing.billing::|public|Manifests:List Microsoft.Graph.Beta.Models.Partners.Billing.billing::|public|OdataType:string @@ -211662,6 +213880,12 @@ Microsoft.Graph.Beta.Models.peopleAdminSettings::|public|ProfileSources:Listglobal.Microsoft.Graph.Beta.Models.CostManagementAlertThreshold +Microsoft.Graph.Beta.Models.percentageCostManagementAlertThreshold::|public|constructor():void +Microsoft.Graph.Beta.Models.percentageCostManagementAlertThreshold::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.percentageCostManagementAlertThreshold::|public|OdataType:string +Microsoft.Graph.Beta.Models.percentageCostManagementAlertThreshold::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.percentageCostManagementAlertThreshold::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PercentageCostManagementAlertThreshold Microsoft.Graph.Beta.Models.perfectForwardSecrecyGroup::0000-pfs1 Microsoft.Graph.Beta.Models.perfectForwardSecrecyGroup::0001-pfs2 Microsoft.Graph.Beta.Models.perfectForwardSecrecyGroup::0002-pfs2048 @@ -212398,15 +214622,102 @@ Microsoft.Graph.Beta.Models.placeServicePlanInfo::|public|Serialize(writer:ISeri Microsoft.Graph.Beta.Models.placeServicePlanInfo::|public|ServicePlanId:string Microsoft.Graph.Beta.Models.placeServicePlanInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlaceServicePlanInfo Microsoft.Graph.Beta.Models.placeServicePlanInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.plan-->global.Microsoft.Graph.Beta.Models.PlannerDelta +Microsoft.Graph.Beta.Models.plan::|public|ArchivalInfo:global.Microsoft.Graph.Beta.Models.PlannerArchivalInfo +Microsoft.Graph.Beta.Models.plan::|public|Buckets:List +Microsoft.Graph.Beta.Models.plan::|public|Calendar:global.Microsoft.Graph.Beta.Models.PlanCalendar +Microsoft.Graph.Beta.Models.plan::|public|Capabilities:global.Microsoft.Graph.Beta.Models.PlanCapability +Microsoft.Graph.Beta.Models.plan::|public|Container:global.Microsoft.Graph.Beta.Models.PlanContainer +Microsoft.Graph.Beta.Models.plan::|public|ContentSensitivityLabelAssignment:global.Microsoft.Graph.Beta.Models.ContentSensitivityLabelAssignment +Microsoft.Graph.Beta.Models.plan::|public|Contexts:List +Microsoft.Graph.Beta.Models.plan::|public|CreationInfo:global.Microsoft.Graph.Beta.Models.CreationInfo +Microsoft.Graph.Beta.Models.plan::|public|CustomFieldDefinitions:List +Microsoft.Graph.Beta.Models.plan::|public|Dependencies:List +Microsoft.Graph.Beta.Models.plan::|public|DisplayName:string +Microsoft.Graph.Beta.Models.plan::|public|Duration:int? +Microsoft.Graph.Beta.Models.plan::|public|Extensions:global.Microsoft.Graph.Beta.Models.ExtensionFieldCollection +Microsoft.Graph.Beta.Models.plan::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.plan::|public|Goals:List +Microsoft.Graph.Beta.Models.plan::|public|HasChat:bool? +Microsoft.Graph.Beta.Models.plan::|public|HistoryItems:List +Microsoft.Graph.Beta.Models.plan::|public|LastModifiedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.plan::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.plan::|public|Links:List +Microsoft.Graph.Beta.Models.plan::|public|OdataType:string +Microsoft.Graph.Beta.Models.plan::|public|PlanView:global.Microsoft.Graph.Beta.Models.PlanView +Microsoft.Graph.Beta.Models.plan::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.plan::|public|SharedWithContainers:List +Microsoft.Graph.Beta.Models.plan::|public|Tasks:List +Microsoft.Graph.Beta.Models.plan::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Plan +Microsoft.Graph.Beta.Models.planCalendar::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.planCalendar::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.planCalendar::|public|constructor():void +Microsoft.Graph.Beta.Models.planCalendar::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.planCalendar::|public|OdataType:string +Microsoft.Graph.Beta.Models.planCalendar::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.planCalendar::|public|TimeZone:string +Microsoft.Graph.Beta.Models.planCalendar::|public|WorkDayDefaults:global.Microsoft.Graph.Beta.Models.WorkDayDefaults +Microsoft.Graph.Beta.Models.planCalendar::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlanCalendar +Microsoft.Graph.Beta.Models.planCalendar~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.planCapability::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.planCapability::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.planCapability::|public|Calendar:bool? +Microsoft.Graph.Beta.Models.planCapability::|public|constructor():void +Microsoft.Graph.Beta.Models.planCapability::|public|CustomFields:bool? +Microsoft.Graph.Beta.Models.planCapability::|public|Extensions:bool? +Microsoft.Graph.Beta.Models.planCapability::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.planCapability::|public|Goals:bool? +Microsoft.Graph.Beta.Models.planCapability::|public|OdataType:string +Microsoft.Graph.Beta.Models.planCapability::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.planCapability::|public|Undo:bool? +Microsoft.Graph.Beta.Models.planCapability::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlanCapability +Microsoft.Graph.Beta.Models.planCapability~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.planCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.planCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.planCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.planCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.planCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlanCollectionResponse +Microsoft.Graph.Beta.Models.planContainer::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.planContainer::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.planContainer::|public|constructor():void +Microsoft.Graph.Beta.Models.planContainer::|public|ContainerId:string +Microsoft.Graph.Beta.Models.planContainer::|public|ContainerType:global.Microsoft.Graph.Beta.Models.PlannerContainerType? +Microsoft.Graph.Beta.Models.planContainer::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.planContainer::|public|OdataType:string +Microsoft.Graph.Beta.Models.planContainer::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.planContainer::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlanContainer +Microsoft.Graph.Beta.Models.planContainer~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.planContextLink-->global.Microsoft.Graph.Beta.Models.PlannerDelta +Microsoft.Graph.Beta.Models.planContextLink::|public|AssociationType:string +Microsoft.Graph.Beta.Models.planContextLink::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.planContextLink::|public|CustomLinkText:string +Microsoft.Graph.Beta.Models.planContextLink::|public|DisplayAs:global.Microsoft.Graph.Beta.Models.PlannerPlanContextType? +Microsoft.Graph.Beta.Models.planContextLink::|public|DisplayNameSegments:List +Microsoft.Graph.Beta.Models.planContextLink::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.planContextLink::|public|IsActive:bool? +Microsoft.Graph.Beta.Models.planContextLink::|public|IsCreation:bool? +Microsoft.Graph.Beta.Models.planContextLink::|public|Key:string +Microsoft.Graph.Beta.Models.planContextLink::|public|OdataType:string +Microsoft.Graph.Beta.Models.planContextLink::|public|OwnerAppId:string +Microsoft.Graph.Beta.Models.planContextLink::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.planContextLink::|public|WebUrl:string +Microsoft.Graph.Beta.Models.planContextLink::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlanContextLink +Microsoft.Graph.Beta.Models.planContextLinkCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.planContextLinkCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.planContextLinkCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.planContextLinkCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.planContextLinkCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlanContextLinkCollectionResponse Microsoft.Graph.Beta.Models.planner-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.planner::|public|Buckets:List Microsoft.Graph.Beta.Models.planner::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.planner::|public|Goals:List Microsoft.Graph.Beta.Models.planner::|public|OdataType:string Microsoft.Graph.Beta.Models.planner::|public|Plans:List +Microsoft.Graph.Beta.Models.planner::|public|PlansV2:List Microsoft.Graph.Beta.Models.planner::|public|Rosters:List Microsoft.Graph.Beta.Models.planner::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.planner::|public|Tasks:List +Microsoft.Graph.Beta.Models.planner::|public|TasksV2:List Microsoft.Graph.Beta.Models.planner::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Planner Microsoft.Graph.Beta.Models.plannerAppliedCategories::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.plannerAppliedCategories::|public|BackingStore:IBackingStore @@ -212434,7 +214745,10 @@ Microsoft.Graph.Beta.Models.plannerArchivalInfo::|public|AdditionalData:IDiction Microsoft.Graph.Beta.Models.plannerArchivalInfo::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.plannerArchivalInfo::|public|constructor():void Microsoft.Graph.Beta.Models.plannerArchivalInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.plannerArchivalInfo::|public|IsArchived:bool? Microsoft.Graph.Beta.Models.plannerArchivalInfo::|public|Justification:string +Microsoft.Graph.Beta.Models.plannerArchivalInfo::|public|ModifiedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.plannerArchivalInfo::|public|ModifiedDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.plannerArchivalInfo::|public|OdataType:string Microsoft.Graph.Beta.Models.plannerArchivalInfo::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.plannerArchivalInfo::|public|StatusChangedBy:global.Microsoft.Graph.Beta.Models.IdentitySet @@ -212537,6 +214851,33 @@ Microsoft.Graph.Beta.Models.plannerCategoryDescriptions::|public|OdataType:strin Microsoft.Graph.Beta.Models.plannerCategoryDescriptions::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.plannerCategoryDescriptions::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlannerCategoryDescriptions Microsoft.Graph.Beta.Models.plannerCategoryDescriptions~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.plannerChatMessage-->global.Microsoft.Graph.Beta.Models.PlannerDelta +Microsoft.Graph.Beta.Models.plannerChatMessage::|public|Content:string +Microsoft.Graph.Beta.Models.plannerChatMessage::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.plannerChatMessage::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.plannerChatMessage::|public|DeletedTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.plannerChatMessage::|public|EditedTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.plannerChatMessage::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.plannerChatMessage::|public|IsDeleted:bool? +Microsoft.Graph.Beta.Models.plannerChatMessage::|public|IsEdited:bool? +Microsoft.Graph.Beta.Models.plannerChatMessage::|public|MessageType:global.Microsoft.Graph.Beta.Models.PlannerChatMessageType? +Microsoft.Graph.Beta.Models.plannerChatMessage::|public|OdataType:string +Microsoft.Graph.Beta.Models.plannerChatMessage::|public|ParentEntityId:string +Microsoft.Graph.Beta.Models.plannerChatMessage::|public|Properties:global.Microsoft.Graph.Beta.Models.ChatMessageProperties +Microsoft.Graph.Beta.Models.plannerChatMessage::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.plannerChatMessage::|public|ThreadType:global.Microsoft.Graph.Beta.Models.PlannerChatThreadType? +Microsoft.Graph.Beta.Models.plannerChatMessage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlannerChatMessage +Microsoft.Graph.Beta.Models.plannerChatMessageCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.plannerChatMessageCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.plannerChatMessageCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.plannerChatMessageCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.plannerChatMessageCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlannerChatMessageCollectionResponse +Microsoft.Graph.Beta.Models.plannerChatMessageType::0000-richTextHtml +Microsoft.Graph.Beta.Models.plannerChatMessageType::0001-plainText +Microsoft.Graph.Beta.Models.plannerChatMessageType::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.plannerChatThreadType::0000-task +Microsoft.Graph.Beta.Models.plannerChatThreadType::0001-plan +Microsoft.Graph.Beta.Models.plannerChatThreadType::0002-unknownFutureValue Microsoft.Graph.Beta.Models.plannerChecklistItems::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.plannerChecklistItems::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.plannerChecklistItems::|public|constructor():void @@ -212563,6 +214904,9 @@ Microsoft.Graph.Beta.Models.plannerContainerType::0005-user Microsoft.Graph.Beta.Models.plannerContainerType::0006-teamsChannel Microsoft.Graph.Beta.Models.plannerContainerType::0007-onlineMeeting Microsoft.Graph.Beta.Models.plannerContainerType::0008-plannerTask +Microsoft.Graph.Beta.Models.plannerContainerType::0009-officeDocument +Microsoft.Graph.Beta.Models.plannerContainerType::0010-meeting +Microsoft.Graph.Beta.Models.plannerContainerType::0011-dataverseProject Microsoft.Graph.Beta.Models.plannerCreationSourceKind::0000-none Microsoft.Graph.Beta.Models.plannerCreationSourceKind::0001-external Microsoft.Graph.Beta.Models.plannerCreationSourceKind::0002-publication @@ -212680,6 +215024,7 @@ Microsoft.Graph.Beta.Models.plannerGroup-->global.Microsoft.Graph.Beta.Models.En Microsoft.Graph.Beta.Models.plannerGroup::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.plannerGroup::|public|OdataType:string Microsoft.Graph.Beta.Models.plannerGroup::|public|Plans:List +Microsoft.Graph.Beta.Models.plannerGroup::|public|PlansV2:List Microsoft.Graph.Beta.Models.plannerGroup::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.plannerGroup::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlannerGroup Microsoft.Graph.Beta.Models.plannerHistoryItem-->global.Microsoft.Graph.Beta.Models.PlannerDelta @@ -212807,6 +215152,13 @@ Microsoft.Graph.Beta.Models.plannerPlanContextDetailsCollection::|public|OdataTy Microsoft.Graph.Beta.Models.plannerPlanContextDetailsCollection::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.plannerPlanContextDetailsCollection::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlannerPlanContextDetailsCollection Microsoft.Graph.Beta.Models.plannerPlanContextDetailsCollection~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.plannerPlanContextType::0000-teamsTab +Microsoft.Graph.Beta.Models.plannerPlanContextType::0001-sharePointPage +Microsoft.Graph.Beta.Models.plannerPlanContextType::0002-meetingNotes +Microsoft.Graph.Beta.Models.plannerPlanContextType::0003-other +Microsoft.Graph.Beta.Models.plannerPlanContextType::0004-unknownFutureValue +Microsoft.Graph.Beta.Models.plannerPlanContextType::0005-loopPage +Microsoft.Graph.Beta.Models.plannerPlanContextType::0006-project Microsoft.Graph.Beta.Models.plannerPlanCreation::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.plannerPlanCreation::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.plannerPlanCreation::|public|constructor():void @@ -213188,6 +215540,11 @@ Microsoft.Graph.Beta.Models.plannerTaskRoleBasedRule::|public|Role:global.Micros Microsoft.Graph.Beta.Models.plannerTaskRoleBasedRule::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.plannerTaskRoleBasedRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlannerTaskRoleBasedRule Microsoft.Graph.Beta.Models.plannerTaskRoleBasedRule~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.plannerTaskStatus::0000-notStarted +Microsoft.Graph.Beta.Models.plannerTaskStatus::0001-inProgress +Microsoft.Graph.Beta.Models.plannerTaskStatus::0002-completed +Microsoft.Graph.Beta.Models.plannerTaskStatus::0003-blocked +Microsoft.Graph.Beta.Models.plannerTaskStatus::0004-unknownFutureValue Microsoft.Graph.Beta.Models.plannerTaskTargetKind::0000-group Microsoft.Graph.Beta.Models.plannerTaskTargetKind::0001-unknownFutureValue Microsoft.Graph.Beta.Models.plannerTeamsPublicationInfo-->global.Microsoft.Graph.Beta.Models.PlannerTaskCreation @@ -213210,11 +215567,13 @@ Microsoft.Graph.Beta.Models.plannerUser::|public|GetFieldDeserializers():IDictio Microsoft.Graph.Beta.Models.plannerUser::|public|MyDayTasks:List Microsoft.Graph.Beta.Models.plannerUser::|public|OdataType:string Microsoft.Graph.Beta.Models.plannerUser::|public|Plans:List +Microsoft.Graph.Beta.Models.plannerUser::|public|PlansV2:List Microsoft.Graph.Beta.Models.plannerUser::|public|RecentPlanReferences:global.Microsoft.Graph.Beta.Models.PlannerRecentPlanReferenceCollection Microsoft.Graph.Beta.Models.plannerUser::|public|RecentPlans:List Microsoft.Graph.Beta.Models.plannerUser::|public|RosterPlans:List Microsoft.Graph.Beta.Models.plannerUser::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.plannerUser::|public|Tasks:List +Microsoft.Graph.Beta.Models.plannerUser::|public|TasksV2:List Microsoft.Graph.Beta.Models.plannerUser::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlannerUser Microsoft.Graph.Beta.Models.plannerUserIds::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.plannerUserIds::|public|BackingStore:IBackingStore @@ -213237,6 +215596,15 @@ Microsoft.Graph.Beta.Models.planUsageRight::|public|Serialize(writer:ISerializat Microsoft.Graph.Beta.Models.planUsageRight::|public|UsageRights:global.Microsoft.Graph.Beta.Models.UsageRightsInfo Microsoft.Graph.Beta.Models.planUsageRight::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlanUsageRight Microsoft.Graph.Beta.Models.planUsageRight~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.planView::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.planView::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.planView::|public|Categories:List +Microsoft.Graph.Beta.Models.planView::|public|constructor():void +Microsoft.Graph.Beta.Models.planView::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.planView::|public|OdataType:string +Microsoft.Graph.Beta.Models.planView::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.planView::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PlanView +Microsoft.Graph.Beta.Models.planView~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.platform::0000-unknown Microsoft.Graph.Beta.Models.platform::0001-ios Microsoft.Graph.Beta.Models.platform::0002-android @@ -213289,6 +215657,16 @@ Microsoft.Graph.Beta.Models.policyBinding::|public|OdataType:string Microsoft.Graph.Beta.Models.policyBinding::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.policyBinding::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PolicyBinding Microsoft.Graph.Beta.Models.policyBinding~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.policyConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.policyConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.policyConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.policyConfiguration::|public|ErrorSettings:global.Microsoft.Graph.Beta.Models.ErrorSettings +Microsoft.Graph.Beta.Models.policyConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.policyConfiguration::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.policyConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.policyConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.policyConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PolicyConfiguration +Microsoft.Graph.Beta.Models.policyConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.policyDeletableItem::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.policyDeletableItem::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.policyDeletableItem::|public|constructor():void @@ -213428,6 +215806,7 @@ Microsoft.Graph.Beta.Models.policyScopeBase::|public|LocationExclusions:List Microsoft.Graph.Beta.Models.policyScopeBase::|public|OdataType:string Microsoft.Graph.Beta.Models.policyScopeBase::|public|PolicyActions:List +Microsoft.Graph.Beta.Models.policyScopeBase::|public|PolicyConfiguration:global.Microsoft.Graph.Beta.Models.PolicyConfiguration Microsoft.Graph.Beta.Models.policyScopeBase::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.policyScopeBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.PolicyScopeBase Microsoft.Graph.Beta.Models.policyScopeBase~~>IAdditionalDataHolder; IBackedModel; IParsable @@ -216890,6 +219269,7 @@ Microsoft.Graph.Beta.Models.ratingUnitedStatesTelevisionType::0005-parentalGuida Microsoft.Graph.Beta.Models.ratingUnitedStatesTelevisionType::0006-childrenAbove14 Microsoft.Graph.Beta.Models.ratingUnitedStatesTelevisionType::0007-adults Microsoft.Graph.Beta.Models.rbacApplication-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.rbacApplication::|public|DeletedItems:global.Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer Microsoft.Graph.Beta.Models.rbacApplication::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.rbacApplication::|public|OdataType:string Microsoft.Graph.Beta.Models.rbacApplication::|public|ResourceNamespaces:List @@ -217693,6 +220073,7 @@ Microsoft.Graph.Beta.Models.relatedPerson::|public|DisplayName:string Microsoft.Graph.Beta.Models.relatedPerson::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.relatedPerson::|public|OdataType:string Microsoft.Graph.Beta.Models.relatedPerson::|public|Relationship:global.Microsoft.Graph.Beta.Models.PersonRelationship? +Microsoft.Graph.Beta.Models.relatedPerson::|public|RelationshipLabel:string Microsoft.Graph.Beta.Models.relatedPerson::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.relatedPerson::|public|UserId:string Microsoft.Graph.Beta.Models.relatedPerson::|public|UserPrincipalName:string @@ -220549,6 +222930,12 @@ Microsoft.Graph.Beta.Models.Security.a365AiExecuteTool::|public|GetFieldDeserial Microsoft.Graph.Beta.Models.Security.a365AiExecuteTool::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.a365AiExecuteTool::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.a365AiExecuteTool::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.A365AiExecuteTool +Microsoft.Graph.Beta.Models.Security.a365AiGuardrail-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.a365AiGuardrail::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.a365AiGuardrail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.a365AiGuardrail::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.a365AiGuardrail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.a365AiGuardrail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.A365AiGuardrail Microsoft.Graph.Beta.Models.Security.a365AiInferenceCall-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.a365AiInferenceCall::|public|constructor():void Microsoft.Graph.Beta.Models.Security.a365AiInferenceCall::|public|GetFieldDeserializers():IDictionary> @@ -220759,6 +223146,12 @@ Microsoft.Graph.Beta.Models.Security.aiExecuteToolAuditRecord::|public|GetFieldD Microsoft.Graph.Beta.Models.Security.aiExecuteToolAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.aiExecuteToolAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.aiExecuteToolAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.AiExecuteToolAuditRecord +Microsoft.Graph.Beta.Models.Security.aiGuardrail-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.aiGuardrail::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.aiGuardrail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.aiGuardrail::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.aiGuardrail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.aiGuardrail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.AiGuardrail Microsoft.Graph.Beta.Models.Security.aiInteractionsChangeNotificationAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.aiInteractionsChangeNotificationAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.aiInteractionsChangeNotificationAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -221927,7 +224320,42 @@ Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0467-SecurityDevelopmen Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0468-MDASH Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0469-DefenderSecurityForAIConfiguration Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0470-SparkCoreCustomLivePool -Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0471-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0471-PlannerCustomFieldDefinition +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0472-PlannerCustomFieldDefinitionList +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0473-SyntheticMediaDetectionEvent +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0474-VivaGlintVivaInsightsIntegration +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0475-PeopleSkillsAdmin +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0476-PeopleSkillsUser +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0477-DSPMAdminActivity +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0478-OnDemandExchangeClassification +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0479-UniversalPrintSecureScan +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0480-CloudSecurityManagement +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0481-CloudSecurityConnector +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0482-CloudSecurityEnablement +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0483-MCSRawEmailContentMetadata +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0484-AIGuardrail +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0485-A365AIGuardrail +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0486-WorkIQAdminActivity +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0487-VivaGlintClientConfiguration +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0488-VivaGlintDataRetention +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0489-FilteringTeamsMessageFileInfo +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0490-SharePointFileArchivePolicy +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0491-DefenderAutomationRule +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0492-DefenderGeneratedPlaybook +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0493-DefenderIntegration +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0494-P4AIDagSitePermissionsRecord +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0495-PlannerDependency +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0496-PlannerDependencyList +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0497-CSCContentMetadata +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0498-MicrosoftSecurityForAIConfiguration +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0499-MicrosoftSecurityForAIRealTimeProtection +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0500-MTPContentMetadata +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0501-ComplianceEvaluationIncomplete +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0502-ComplianceEndpointEvaluationIncomplete +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0503-MicrosoftTeamsMoveMessages +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0504-ECSContentMetadata +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0505-MESRawEmailContentMetadata +Microsoft.Graph.Beta.Models.Security.auditLogRecordType::0506-unknownFutureValue Microsoft.Graph.Beta.Models.Security.auditLogUserType::0000-Regular Microsoft.Graph.Beta.Models.Security.auditLogUserType::0001-Reserved Microsoft.Graph.Beta.Models.Security.auditLogUserType::0002-Admin @@ -222909,6 +225337,24 @@ Microsoft.Graph.Beta.Models.Security.cloudLogonSessionEvidence::|public|SessionI Microsoft.Graph.Beta.Models.Security.cloudLogonSessionEvidence::|public|StartUtcDateTime:DateTimeOffset? Microsoft.Graph.Beta.Models.Security.cloudLogonSessionEvidence::|public|UserAgent:string Microsoft.Graph.Beta.Models.Security.cloudLogonSessionEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CloudLogonSessionEvidence +Microsoft.Graph.Beta.Models.Security.cloudSecurityConnector-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.cloudSecurityConnector::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.cloudSecurityConnector::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.cloudSecurityConnector::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.cloudSecurityConnector::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.cloudSecurityConnector::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CloudSecurityConnector +Microsoft.Graph.Beta.Models.Security.cloudSecurityEnablement-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.cloudSecurityEnablement::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.cloudSecurityEnablement::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.cloudSecurityEnablement::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.cloudSecurityEnablement::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.cloudSecurityEnablement::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CloudSecurityEnablement +Microsoft.Graph.Beta.Models.Security.cloudSecurityManagement-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.cloudSecurityManagement::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.cloudSecurityManagement::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.cloudSecurityManagement::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.cloudSecurityManagement::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.cloudSecurityManagement::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CloudSecurityManagement Microsoft.Graph.Beta.Models.Security.cloudUpdateDeviceConfigAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.cloudUpdateDeviceConfigAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.cloudUpdateDeviceConfigAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -223042,6 +225488,18 @@ Microsoft.Graph.Beta.Models.Security.complianceDLPSharePointClassificationExtend Microsoft.Graph.Beta.Models.Security.complianceDLPSharePointClassificationExtendedAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.complianceDLPSharePointClassificationExtendedAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.complianceDLPSharePointClassificationExtendedAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.ComplianceDLPSharePointClassificationExtendedAuditRecord +Microsoft.Graph.Beta.Models.Security.complianceEndpointEvaluationIncomplete-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.complianceEndpointEvaluationIncomplete::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.complianceEndpointEvaluationIncomplete::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.complianceEndpointEvaluationIncomplete::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.complianceEndpointEvaluationIncomplete::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.complianceEndpointEvaluationIncomplete::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.ComplianceEndpointEvaluationIncomplete +Microsoft.Graph.Beta.Models.Security.complianceEvaluationIncomplete-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.complianceEvaluationIncomplete::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.complianceEvaluationIncomplete::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.complianceEvaluationIncomplete::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.complianceEvaluationIncomplete::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.complianceEvaluationIncomplete::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.ComplianceEvaluationIncomplete Microsoft.Graph.Beta.Models.Security.complianceExchangeOcrAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.complianceExchangeOcrAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.complianceExchangeOcrAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -223292,6 +225750,12 @@ Microsoft.Graph.Beta.Models.Security.crossTenantAccessPolicyAuditRecord::|public Microsoft.Graph.Beta.Models.Security.crossTenantAccessPolicyAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.crossTenantAccessPolicyAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.crossTenantAccessPolicyAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CrossTenantAccessPolicyAuditRecord +Microsoft.Graph.Beta.Models.Security.cscContentMetadata-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.cscContentMetadata::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.cscContentMetadata::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.cscContentMetadata::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.cscContentMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.cscContentMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.CscContentMetadata Microsoft.Graph.Beta.Models.Security.customAction-->global.Microsoft.Graph.Beta.Models.Security.InformationProtectionAction Microsoft.Graph.Beta.Models.Security.customAction::|public|constructor():void Microsoft.Graph.Beta.Models.Security.customAction::|public|GetFieldDeserializers():IDictionary> @@ -223423,6 +225887,12 @@ Microsoft.Graph.Beta.Models.Security.defaultAuditData::|static|public|CreateFrom Microsoft.Graph.Beta.Models.Security.defaultRecordBehavior::0000-startLocked Microsoft.Graph.Beta.Models.Security.defaultRecordBehavior::0001-startUnlocked Microsoft.Graph.Beta.Models.Security.defaultRecordBehavior::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.defenderAutomationRule-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.defenderAutomationRule::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.defenderAutomationRule::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.defenderAutomationRule::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.defenderAutomationRule::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.defenderAutomationRule::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.DefenderAutomationRule Microsoft.Graph.Beta.Models.Security.defenderAvStatus::0000-notReporting Microsoft.Graph.Beta.Models.Security.defenderAvStatus::0001-disabled Microsoft.Graph.Beta.Models.Security.defenderAvStatus::0002-notUpdated @@ -223436,6 +225906,18 @@ Microsoft.Graph.Beta.Models.Security.defenderCaseManagementAuditRecord::|public| Microsoft.Graph.Beta.Models.Security.defenderCaseManagementAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.defenderCaseManagementAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.defenderCaseManagementAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.DefenderCaseManagementAuditRecord +Microsoft.Graph.Beta.Models.Security.defenderGeneratedPlaybook-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.defenderGeneratedPlaybook::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.defenderGeneratedPlaybook::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.defenderGeneratedPlaybook::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.defenderGeneratedPlaybook::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.defenderGeneratedPlaybook::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.DefenderGeneratedPlaybook +Microsoft.Graph.Beta.Models.Security.defenderIntegration-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.defenderIntegration::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.defenderIntegration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.defenderIntegration::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.defenderIntegration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.defenderIntegration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.DefenderIntegration Microsoft.Graph.Beta.Models.Security.defenderPreviewFeaturesRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.defenderPreviewFeaturesRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.defenderPreviewFeaturesRecord::|public|GetFieldDeserializers():IDictionary> @@ -223505,6 +225987,7 @@ Microsoft.Graph.Beta.Models.Security.detectionAction::|public|AutomatedActions:g Microsoft.Graph.Beta.Models.Security.detectionAction::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.Security.detectionAction::|public|constructor():void Microsoft.Graph.Beta.Models.Security.detectionAction::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.detectionAction::|public|IncidentConfiguration:global.Microsoft.Graph.Beta.Models.Security.IncidentConfiguration Microsoft.Graph.Beta.Models.Security.detectionAction::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.detectionAction::|public|OrganizationalScope:global.Microsoft.Graph.Beta.Models.Security.OrganizationalScope Microsoft.Graph.Beta.Models.Security.detectionAction::|public|ResponseActions:List @@ -224289,12 +226772,24 @@ Microsoft.Graph.Beta.Models.Security.dragonCopilotSessionRecord::|public|GetFiel Microsoft.Graph.Beta.Models.Security.dragonCopilotSessionRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.dragonCopilotSessionRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.dragonCopilotSessionRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.DragonCopilotSessionRecord +Microsoft.Graph.Beta.Models.Security.dspmAdminActivity-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.dspmAdminActivity::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.dspmAdminActivity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.dspmAdminActivity::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.dspmAdminActivity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.dspmAdminActivity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.DspmAdminActivity Microsoft.Graph.Beta.Models.Security.dynamics365BusinessCentralAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.dynamics365BusinessCentralAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.dynamics365BusinessCentralAuditRecord::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.Security.dynamics365BusinessCentralAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.dynamics365BusinessCentralAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.dynamics365BusinessCentralAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Dynamics365BusinessCentralAuditRecord +Microsoft.Graph.Beta.Models.Security.ecsContentMetadata-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.ecsContentMetadata::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.ecsContentMetadata::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.ecsContentMetadata::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.ecsContentMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.ecsContentMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.EcsContentMetadata Microsoft.Graph.Beta.Models.Security.ediscoveryAddToReviewSetOperation-->global.Microsoft.Graph.Beta.Models.Security.CaseOperation Microsoft.Graph.Beta.Models.Security.ediscoveryAddToReviewSetOperation::|public|AdditionalDataOptions:global.Microsoft.Graph.Beta.Models.Security.AdditionalDataOptions? Microsoft.Graph.Beta.Models.Security.ediscoveryAddToReviewSetOperation::|public|CloudAttachmentVersion:global.Microsoft.Graph.Beta.Models.Security.CloudAttachmentVersion? @@ -225089,6 +227584,12 @@ Microsoft.Graph.Beta.Models.Security.fileUrlThreatSubmission::|public|GetFieldDe Microsoft.Graph.Beta.Models.Security.fileUrlThreatSubmission::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.fileUrlThreatSubmission::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.fileUrlThreatSubmission::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.FileUrlThreatSubmission +Microsoft.Graph.Beta.Models.Security.filteringTeamsMessageFileInfo-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.filteringTeamsMessageFileInfo::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.filteringTeamsMessageFileInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.filteringTeamsMessageFileInfo::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.filteringTeamsMessageFileInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.filteringTeamsMessageFileInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.FilteringTeamsMessageFileInfo Microsoft.Graph.Beta.Models.Security.forceUserPasswordResetEntityIdentifier::0000-accountSid Microsoft.Graph.Beta.Models.Security.forceUserPasswordResetEntityIdentifier::0001-initiatingProcessAccountSid Microsoft.Graph.Beta.Models.Security.forceUserPasswordResetEntityIdentifier::0002-requestAccountSid @@ -225710,6 +228211,15 @@ Microsoft.Graph.Beta.Models.Security.incidentCollectionResponse::|public|GetFiel Microsoft.Graph.Beta.Models.Security.incidentCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.incidentCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.Security.incidentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.IncidentCollectionResponse +Microsoft.Graph.Beta.Models.Security.incidentConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Security.incidentConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Security.incidentConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.incidentConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.incidentConfiguration::|public|IsExcludedFromIncidentCorrelation:bool? +Microsoft.Graph.Beta.Models.Security.incidentConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.incidentConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.incidentConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.IncidentConfiguration +Microsoft.Graph.Beta.Models.Security.incidentConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.Security.incidentStatus::0000-active Microsoft.Graph.Beta.Models.Security.incidentStatus::0001-resolved Microsoft.Graph.Beta.Models.Security.incidentStatus::0002-inProgress @@ -226476,6 +228986,12 @@ Microsoft.Graph.Beta.Models.Security.mcasAlertsAuditRecord::|public|GetFieldDese Microsoft.Graph.Beta.Models.Security.mcasAlertsAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.mcasAlertsAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.mcasAlertsAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.McasAlertsAuditRecord +Microsoft.Graph.Beta.Models.Security.mcsRawEmailContentMetadata-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.mcsRawEmailContentMetadata::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.mcsRawEmailContentMetadata::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.mcsRawEmailContentMetadata::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.mcsRawEmailContentMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.mcsRawEmailContentMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.McsRawEmailContentMetadata Microsoft.Graph.Beta.Models.Security.mdaAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.mdaAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.mdaAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -226527,6 +229043,12 @@ Microsoft.Graph.Beta.Models.Security.meshWorldsAuditRecord::|public|GetFieldDese Microsoft.Graph.Beta.Models.Security.meshWorldsAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.meshWorldsAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.meshWorldsAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.MeshWorldsAuditRecord +Microsoft.Graph.Beta.Models.Security.mesRawEmailContentMetadata-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.mesRawEmailContentMetadata::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.mesRawEmailContentMetadata::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.mesRawEmailContentMetadata::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.mesRawEmailContentMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.mesRawEmailContentMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.MesRawEmailContentMetadata Microsoft.Graph.Beta.Models.Security.metadataAction-->global.Microsoft.Graph.Beta.Models.Security.InformationProtectionAction Microsoft.Graph.Beta.Models.Security.metadataAction::|public|constructor():void Microsoft.Graph.Beta.Models.Security.metadataAction::|public|GetFieldDeserializers():IDictionary> @@ -226637,6 +229159,18 @@ Microsoft.Graph.Beta.Models.Security.microsoftPurviewUnifiedCatalogOperationReco Microsoft.Graph.Beta.Models.Security.microsoftPurviewUnifiedCatalogOperationRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.microsoftPurviewUnifiedCatalogOperationRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.microsoftPurviewUnifiedCatalogOperationRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.MicrosoftPurviewUnifiedCatalogOperationRecord +Microsoft.Graph.Beta.Models.Security.microsoftSecurityForAiConfiguration-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.microsoftSecurityForAiConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.microsoftSecurityForAiConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.microsoftSecurityForAiConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.microsoftSecurityForAiConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.microsoftSecurityForAiConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.MicrosoftSecurityForAiConfiguration +Microsoft.Graph.Beta.Models.Security.microsoftSecurityForAiRealTimeProtection-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.microsoftSecurityForAiRealTimeProtection::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.microsoftSecurityForAiRealTimeProtection::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.microsoftSecurityForAiRealTimeProtection::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.microsoftSecurityForAiRealTimeProtection::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.microsoftSecurityForAiRealTimeProtection::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.MicrosoftSecurityForAiRealTimeProtection Microsoft.Graph.Beta.Models.Security.microsoftStreamAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.microsoftStreamAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.microsoftStreamAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -226667,6 +229201,12 @@ Microsoft.Graph.Beta.Models.Security.microsoftTeamsDeviceAuditRecord::|public|Ge Microsoft.Graph.Beta.Models.Security.microsoftTeamsDeviceAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.microsoftTeamsDeviceAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.microsoftTeamsDeviceAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.MicrosoftTeamsDeviceAuditRecord +Microsoft.Graph.Beta.Models.Security.microsoftTeamsMoveMessages-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.microsoftTeamsMoveMessages::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.microsoftTeamsMoveMessages::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.microsoftTeamsMoveMessages::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.microsoftTeamsMoveMessages::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.microsoftTeamsMoveMessages::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.MicrosoftTeamsMoveMessages Microsoft.Graph.Beta.Models.Security.microsoftTeamsRetentionLabelActionAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.microsoftTeamsRetentionLabelActionAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.microsoftTeamsRetentionLabelActionAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -226880,6 +229420,12 @@ Microsoft.Graph.Beta.Models.Security.msticNationStateNotificationRecord::|public Microsoft.Graph.Beta.Models.Security.msticNationStateNotificationRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.msticNationStateNotificationRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.msticNationStateNotificationRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.MsticNationStateNotificationRecord +Microsoft.Graph.Beta.Models.Security.mtpContentMetadata-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.mtpContentMetadata::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.mtpContentMetadata::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.mtpContentMetadata::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.mtpContentMetadata::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.mtpContentMetadata::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.MtpContentMetadata Microsoft.Graph.Beta.Models.Security.multiStageDispositionAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.multiStageDispositionAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.multiStageDispositionAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -226970,6 +229516,12 @@ Microsoft.Graph.Beta.Models.Security.onboardingStatus::0001-onboarded Microsoft.Graph.Beta.Models.Security.onboardingStatus::0002-canBeOnboarded Microsoft.Graph.Beta.Models.Security.onboardingStatus::0003-unsupported Microsoft.Graph.Beta.Models.Security.onboardingStatus::0004-unknownFutureValue +Microsoft.Graph.Beta.Models.Security.onDemandExchangeClassification-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.onDemandExchangeClassification::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.onDemandExchangeClassification::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.onDemandExchangeClassification::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.onDemandExchangeClassification::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.onDemandExchangeClassification::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.OnDemandExchangeClassification Microsoft.Graph.Beta.Models.Security.onDemandSharePointClassificationAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.onDemandSharePointClassificationAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.onDemandSharePointClassificationAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -227047,6 +229599,12 @@ Microsoft.Graph.Beta.Models.Security.p4aiAssessmentRecord::|public|GetFieldDeser Microsoft.Graph.Beta.Models.Security.p4aiAssessmentRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.p4aiAssessmentRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.p4aiAssessmentRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.P4aiAssessmentRecord +Microsoft.Graph.Beta.Models.Security.p4AiDagSitePermissionsRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.p4AiDagSitePermissionsRecord::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.p4AiDagSitePermissionsRecord::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.p4AiDagSitePermissionsRecord::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.p4AiDagSitePermissionsRecord::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.p4AiDagSitePermissionsRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.P4AiDagSitePermissionsRecord Microsoft.Graph.Beta.Models.Security.p4AIRiskScoreRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.p4AIRiskScoreRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.p4AIRiskScoreRecord::|public|GetFieldDeserializers():IDictionary> @@ -227076,6 +229634,18 @@ Microsoft.Graph.Beta.Models.Security.peopleAdminSettingsAuditRecord::|public|Get Microsoft.Graph.Beta.Models.Security.peopleAdminSettingsAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.peopleAdminSettingsAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.peopleAdminSettingsAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.PeopleAdminSettingsAuditRecord +Microsoft.Graph.Beta.Models.Security.peopleSkillsAdmin-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.peopleSkillsAdmin::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.peopleSkillsAdmin::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.peopleSkillsAdmin::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.peopleSkillsAdmin::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.peopleSkillsAdmin::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.PeopleSkillsAdmin +Microsoft.Graph.Beta.Models.Security.peopleSkillsUser-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.peopleSkillsUser::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.peopleSkillsUser::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.peopleSkillsUser::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.peopleSkillsUser::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.peopleSkillsUser::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.PeopleSkillsUser Microsoft.Graph.Beta.Models.Security.physicalBadgingSignalAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.physicalBadgingSignalAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.physicalBadgingSignalAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -227106,6 +229676,30 @@ Microsoft.Graph.Beta.Models.Security.plannerCopyPlanAuditRecord::|public|GetFiel Microsoft.Graph.Beta.Models.Security.plannerCopyPlanAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.plannerCopyPlanAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.plannerCopyPlanAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.PlannerCopyPlanAuditRecord +Microsoft.Graph.Beta.Models.Security.plannerCustomFieldDefinition-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.plannerCustomFieldDefinition::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.plannerCustomFieldDefinition::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.plannerCustomFieldDefinition::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.plannerCustomFieldDefinition::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.plannerCustomFieldDefinition::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.PlannerCustomFieldDefinition +Microsoft.Graph.Beta.Models.Security.plannerCustomFieldDefinitionList-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.plannerCustomFieldDefinitionList::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.plannerCustomFieldDefinitionList::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.plannerCustomFieldDefinitionList::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.plannerCustomFieldDefinitionList::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.plannerCustomFieldDefinitionList::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.PlannerCustomFieldDefinitionList +Microsoft.Graph.Beta.Models.Security.plannerDependency-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.plannerDependency::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.plannerDependency::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.plannerDependency::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.plannerDependency::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.plannerDependency::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.PlannerDependency +Microsoft.Graph.Beta.Models.Security.plannerDependencyList-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.plannerDependencyList::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.plannerDependencyList::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.plannerDependencyList::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.plannerDependencyList::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.plannerDependencyList::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.PlannerDependencyList Microsoft.Graph.Beta.Models.Security.plannerGoalAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.plannerGoalAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.plannerGoalAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -228444,6 +231038,12 @@ Microsoft.Graph.Beta.Models.Security.sharePointFieldOperationAuditRecord::|publi Microsoft.Graph.Beta.Models.Security.sharePointFieldOperationAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.sharePointFieldOperationAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.sharePointFieldOperationAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.SharePointFieldOperationAuditRecord +Microsoft.Graph.Beta.Models.Security.sharePointFileArchivePolicy-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.sharePointFileArchivePolicy::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.sharePointFileArchivePolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.sharePointFileArchivePolicy::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.sharePointFileArchivePolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.sharePointFileArchivePolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.SharePointFileArchivePolicy Microsoft.Graph.Beta.Models.Security.sharePointFileOperationAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.sharePointFileOperationAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.sharePointFileOperationAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -228852,6 +231452,12 @@ Microsoft.Graph.Beta.Models.Security.supervisoryReviewDayXInsightsAuditRecord::| Microsoft.Graph.Beta.Models.Security.supervisoryReviewDayXInsightsAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.supervisoryReviewDayXInsightsAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.supervisoryReviewDayXInsightsAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.SupervisoryReviewDayXInsightsAuditRecord +Microsoft.Graph.Beta.Models.Security.syntheticMediaDetectionEvent-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.syntheticMediaDetectionEvent::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.syntheticMediaDetectionEvent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.syntheticMediaDetectionEvent::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.syntheticMediaDetectionEvent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.syntheticMediaDetectionEvent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.SyntheticMediaDetectionEvent Microsoft.Graph.Beta.Models.Security.syntheticProbeAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.syntheticProbeAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.syntheticProbeAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -229215,6 +231821,12 @@ Microsoft.Graph.Beta.Models.Security.universalPrintPrintJobAuditRecord::|public| Microsoft.Graph.Beta.Models.Security.universalPrintPrintJobAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.universalPrintPrintJobAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.universalPrintPrintJobAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.UniversalPrintPrintJobAuditRecord +Microsoft.Graph.Beta.Models.Security.universalPrintSecureScan-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.universalPrintSecureScan::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.universalPrintSecureScan::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.universalPrintSecureScan::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.universalPrintSecureScan::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.universalPrintSecureScan::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.UniversalPrintSecureScan Microsoft.Graph.Beta.Models.Security.unRestrictAppExecutionIncidentTaskResponseAction-->global.Microsoft.Graph.Beta.Models.Security.IncidentTaskResponseAction Microsoft.Graph.Beta.Models.Security.unRestrictAppExecutionIncidentTaskResponseAction::|public|constructor():void Microsoft.Graph.Beta.Models.Security.unRestrictAppExecutionIncidentTaskResponseAction::|public|GetFieldDeserializers():IDictionary> @@ -229426,6 +232038,18 @@ Microsoft.Graph.Beta.Models.Security.vivaGlintAgenticCampaignAuditRecord::|publi Microsoft.Graph.Beta.Models.Security.vivaGlintAgenticCampaignAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.vivaGlintAgenticCampaignAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.vivaGlintAgenticCampaignAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.VivaGlintAgenticCampaignAuditRecord +Microsoft.Graph.Beta.Models.Security.vivaGlintClientConfiguration-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.vivaGlintClientConfiguration::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.vivaGlintClientConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.vivaGlintClientConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.vivaGlintClientConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.vivaGlintClientConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.VivaGlintClientConfiguration +Microsoft.Graph.Beta.Models.Security.vivaGlintDataRetention-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.vivaGlintDataRetention::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.vivaGlintDataRetention::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.vivaGlintDataRetention::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.vivaGlintDataRetention::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.vivaGlintDataRetention::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.VivaGlintDataRetention Microsoft.Graph.Beta.Models.Security.vivaGlintFeedbackProgramAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.vivaGlintFeedbackProgramAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.vivaGlintFeedbackProgramAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -229492,6 +232116,12 @@ Microsoft.Graph.Beta.Models.Security.vivaGlintUserGroupAuditRecord::|public|GetF Microsoft.Graph.Beta.Models.Security.vivaGlintUserGroupAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.vivaGlintUserGroupAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.vivaGlintUserGroupAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.VivaGlintUserGroupAuditRecord +Microsoft.Graph.Beta.Models.Security.vivaGlintVivaInsightsIntegration-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.vivaGlintVivaInsightsIntegration::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.vivaGlintVivaInsightsIntegration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.vivaGlintVivaInsightsIntegration::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.vivaGlintVivaInsightsIntegration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.vivaGlintVivaInsightsIntegration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.VivaGlintVivaInsightsIntegration Microsoft.Graph.Beta.Models.Security.vivaGoalsAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.vivaGoalsAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.vivaGoalsAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -229684,6 +232314,35 @@ Microsoft.Graph.Beta.Models.Security.windows365CustomerLockboxAuditRecord::|publ Microsoft.Graph.Beta.Models.Security.windows365CustomerLockboxAuditRecord::|public|OdataType:string Microsoft.Graph.Beta.Models.Security.windows365CustomerLockboxAuditRecord::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.Security.windows365CustomerLockboxAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Windows365CustomerLockboxAuditRecord +Microsoft.Graph.Beta.Models.Security.workbook-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.Security.workbook::|public|Content:global.Microsoft.Graph.Beta.Models.Security.WorkbookContent +Microsoft.Graph.Beta.Models.Security.workbook::|public|CreatedAtDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.workbook::|public|CreatedByUpn:string +Microsoft.Graph.Beta.Models.Security.workbook::|public|Etag:string +Microsoft.Graph.Beta.Models.Security.workbook::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.workbook::|public|LastUpdatedByUpn:string +Microsoft.Graph.Beta.Models.Security.workbook::|public|Name:string +Microsoft.Graph.Beta.Models.Security.workbook::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.workbook::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.workbook::|public|UpdatedAtDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.workbook::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.Workbook +Microsoft.Graph.Beta.Models.Security.workbookCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.Security.workbookCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.workbookCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.workbookCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.Security.workbookCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.WorkbookCollectionResponse +Microsoft.Graph.Beta.Models.Security.workbookContent-->global.Microsoft.Graph.Beta.Models.Dictionary +Microsoft.Graph.Beta.Models.Security.workbookContent::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.workbookContent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.workbookContent::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.workbookContent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.workbookContent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.WorkbookContent +Microsoft.Graph.Beta.Models.Security.workIQAdminActivity-->global.Microsoft.Graph.Beta.Models.Security.AuditData +Microsoft.Graph.Beta.Models.Security.workIQAdminActivity::|public|constructor():void +Microsoft.Graph.Beta.Models.Security.workIQAdminActivity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Security.workIQAdminActivity::|public|OdataType:string +Microsoft.Graph.Beta.Models.Security.workIQAdminActivity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Security.workIQAdminActivity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Security.WorkIQAdminActivity Microsoft.Graph.Beta.Models.Security.workplaceAnalyticsAuditRecord-->global.Microsoft.Graph.Beta.Models.Security.AuditData Microsoft.Graph.Beta.Models.Security.workplaceAnalyticsAuditRecord::|public|constructor():void Microsoft.Graph.Beta.Models.Security.workplaceAnalyticsAuditRecord::|public|GetFieldDeserializers():IDictionary> @@ -229961,6 +232620,25 @@ Microsoft.Graph.Beta.Models.segmentConfiguration::|public|OdataType:string Microsoft.Graph.Beta.Models.segmentConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.segmentConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SegmentConfiguration Microsoft.Graph.Beta.Models.segmentConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.selectedGroupsSpendingPolicy-->global.Microsoft.Graph.Beta.Models.SpendingPolicy +Microsoft.Graph.Beta.Models.selectedGroupsSpendingPolicy::|public|AssignedGroups:List +Microsoft.Graph.Beta.Models.selectedGroupsSpendingPolicy::|public|constructor():void +Microsoft.Graph.Beta.Models.selectedGroupsSpendingPolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.selectedGroupsSpendingPolicy::|public|OdataType:string +Microsoft.Graph.Beta.Models.selectedGroupsSpendingPolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.selectedGroupsSpendingPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SelectedGroupsSpendingPolicy +Microsoft.Graph.Beta.Models.selectionDataStatus::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.selectionDataStatus::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.selectionDataStatus::|public|constructor():void +Microsoft.Graph.Beta.Models.selectionDataStatus::|public|EvaluatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.selectionDataStatus::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.selectionDataStatus::|public|GroupMembershipAsOfDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.selectionDataStatus::|public|OdataType:string +Microsoft.Graph.Beta.Models.selectionDataStatus::|public|PolicyConfigurationAsOfDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.selectionDataStatus::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.selectionDataStatus::|public|UsageAsOfDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.selectionDataStatus::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SelectionDataStatus +Microsoft.Graph.Beta.Models.selectionDataStatus~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.selfServiceSignUp-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.selfServiceSignUp::|public|AppDisplayName:string Microsoft.Graph.Beta.Models.selfServiceSignUp::|public|AppId:string @@ -230444,6 +233122,7 @@ Microsoft.Graph.Beta.Models.servicePrincipal::|public|Info:global.Microsoft.Grap Microsoft.Graph.Beta.Models.servicePrincipal::|public|IsDisabled:bool? Microsoft.Graph.Beta.Models.servicePrincipal::|public|KeyCredentials:List Microsoft.Graph.Beta.Models.servicePrincipal::|public|LicenseDetails:List +Microsoft.Graph.Beta.Models.servicePrincipal::|public|Lifecycle:global.Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle Microsoft.Graph.Beta.Models.servicePrincipal::|public|LoginUrl:string Microsoft.Graph.Beta.Models.servicePrincipal::|public|LogoutUrl:string Microsoft.Graph.Beta.Models.servicePrincipal::|public|MemberOf:List @@ -230645,6 +233324,9 @@ Microsoft.Graph.Beta.Models.serviceProvisioningXmlError::|public|GetFieldDeseria Microsoft.Graph.Beta.Models.serviceProvisioningXmlError::|public|OdataType:string Microsoft.Graph.Beta.Models.serviceProvisioningXmlError::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.serviceProvisioningXmlError::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.ServiceProvisioningXmlError +Microsoft.Graph.Beta.Models.serviceSettingState::0000-enabled +Microsoft.Graph.Beta.Models.serviceSettingState::0001-disabled +Microsoft.Graph.Beta.Models.serviceSettingState::0002-unknownFutureValue Microsoft.Graph.Beta.Models.serviceStartType::0000-manual Microsoft.Graph.Beta.Models.serviceStartType::0001-automatic Microsoft.Graph.Beta.Models.serviceStartType::0002-disabled @@ -232579,6 +235261,39 @@ Microsoft.Graph.Beta.Models.specifiedCaptiveNetworkPlugins::|public|OdataType:st Microsoft.Graph.Beta.Models.specifiedCaptiveNetworkPlugins::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.specifiedCaptiveNetworkPlugins::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SpecifiedCaptiveNetworkPlugins Microsoft.Graph.Beta.Models.specifiedCaptiveNetworkPlugins~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.spendingPolicy-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.spendingPolicy::|public|BillingMethods:global.Microsoft.Graph.Beta.Models.CostManagementBillingMethods? +Microsoft.Graph.Beta.Models.spendingPolicy::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.spendingPolicy::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.spendingPolicy::|public|DisplayName:string +Microsoft.Graph.Beta.Models.spendingPolicy::|public|EmailThresholdSettings:global.Microsoft.Graph.Beta.Models.CostManagementAlertSetting +Microsoft.Graph.Beta.Models.spendingPolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.spendingPolicy::|public|LastModifiedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.spendingPolicy::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.spendingPolicy::|public|OdataType:string +Microsoft.Graph.Beta.Models.spendingPolicy::|public|PeriodLimit:global.Microsoft.Graph.Beta.Models.CostManagementQuantity +Microsoft.Graph.Beta.Models.spendingPolicy::|public|PerUserLimit:global.Microsoft.Graph.Beta.Models.CostManagementQuantity +Microsoft.Graph.Beta.Models.spendingPolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.spendingPolicy::|public|ServiceSettings:List +Microsoft.Graph.Beta.Models.spendingPolicy::|public|Status:global.Microsoft.Graph.Beta.Models.SpendingPolicyStatus? +Microsoft.Graph.Beta.Models.spendingPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SpendingPolicy +Microsoft.Graph.Beta.Models.spendingPolicyServiceSetting::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.spendingPolicyServiceSetting::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.spendingPolicyServiceSetting::|public|constructor():void +Microsoft.Graph.Beta.Models.spendingPolicyServiceSetting::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.spendingPolicyServiceSetting::|public|OdataType:string +Microsoft.Graph.Beta.Models.spendingPolicyServiceSetting::|public|ParentEtag:string +Microsoft.Graph.Beta.Models.spendingPolicyServiceSetting::|public|ParentStatus:global.Microsoft.Graph.Beta.Models.SpendingPolicyStatus? +Microsoft.Graph.Beta.Models.spendingPolicyServiceSetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.spendingPolicyServiceSetting::|public|ServiceId:string +Microsoft.Graph.Beta.Models.spendingPolicyServiceSetting::|public|State:global.Microsoft.Graph.Beta.Models.ServiceSettingState? +Microsoft.Graph.Beta.Models.spendingPolicyServiceSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.SpendingPolicyServiceSetting +Microsoft.Graph.Beta.Models.spendingPolicyServiceSetting~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.spendingPolicyStatus::0000-enabled +Microsoft.Graph.Beta.Models.spendingPolicyStatus::0001-disabled +Microsoft.Graph.Beta.Models.spendingPolicyStatus::0002-provisioning +Microsoft.Graph.Beta.Models.spendingPolicyStatus::0003-provisioningFailed +Microsoft.Graph.Beta.Models.spendingPolicyStatus::0004-unknownFutureValue Microsoft.Graph.Beta.Models.sslVersion::0000-none Microsoft.Graph.Beta.Models.sslVersion::0001-ssl3_0 Microsoft.Graph.Beta.Models.sslVersion::0002-tls1_0 @@ -233743,6 +236458,22 @@ Microsoft.Graph.Beta.Models.targetUserSponsors::|public|GetFieldDeserializers(): Microsoft.Graph.Beta.Models.targetUserSponsors::|public|OdataType:string Microsoft.Graph.Beta.Models.targetUserSponsors::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.targetUserSponsors::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TargetUserSponsors +Microsoft.Graph.Beta.Models.taskCapability::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.taskCapability::|public|AssignedPriorityForTaskPersonalView:bool? +Microsoft.Graph.Beta.Models.taskCapability::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.taskCapability::|public|constructor():void +Microsoft.Graph.Beta.Models.taskCapability::|public|Dependencies:bool? +Microsoft.Graph.Beta.Models.taskCapability::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.taskCapability::|public|History:bool? +Microsoft.Graph.Beta.Models.taskCapability::|public|OdataType:string +Microsoft.Graph.Beta.Models.taskCapability::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.taskCapability::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TaskCapability +Microsoft.Graph.Beta.Models.taskCapability~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.taskCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.taskCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.taskCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.taskCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.taskCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TaskCollectionResponse Microsoft.Graph.Beta.Models.taskFileAttachment-->global.Microsoft.Graph.Beta.Models.AttachmentBase Microsoft.Graph.Beta.Models.taskFileAttachment::|public|constructor():void Microsoft.Graph.Beta.Models.taskFileAttachment::|public|ContentBytes:byte[] @@ -233758,6 +236489,60 @@ Microsoft.Graph.Beta.Models.taskHistoryItem::|public|OdataType:string Microsoft.Graph.Beta.Models.taskHistoryItem::|public|OldData:global.Microsoft.Graph.Beta.Models.PlannerTaskData Microsoft.Graph.Beta.Models.taskHistoryItem::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.taskHistoryItem::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TaskHistoryItem +Microsoft.Graph.Beta.Models.taskObject-->global.Microsoft.Graph.Beta.Models.PlannerDelta +Microsoft.Graph.Beta.Models.taskObject::|public|ArchivalInfo:global.Microsoft.Graph.Beta.Models.PlannerArchivalInfo +Microsoft.Graph.Beta.Models.taskObject::|public|BucketId:string +Microsoft.Graph.Beta.Models.taskObject::|public|Capabilities:global.Microsoft.Graph.Beta.Models.TaskCapability +Microsoft.Graph.Beta.Models.taskObject::|public|Checklist:List +Microsoft.Graph.Beta.Models.taskObject::|public|CompletedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.taskObject::|public|CompletedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.taskObject::|public|CreationInfo:global.Microsoft.Graph.Beta.Models.CreationInfo +Microsoft.Graph.Beta.Models.taskObject::|public|CustomFieldValues:List +Microsoft.Graph.Beta.Models.taskObject::|public|DisplayName:string +Microsoft.Graph.Beta.Models.taskObject::|public|DueDateTime:global.Microsoft.Graph.Beta.Models.DateWithOptionalTime +Microsoft.Graph.Beta.Models.taskObject::|public|Extensions:global.Microsoft.Graph.Beta.Models.ExtensionFieldCollection +Microsoft.Graph.Beta.Models.taskObject::|public|FinishDateTime:global.Microsoft.Graph.Beta.Models.DateWithOptionalTime +Microsoft.Graph.Beta.Models.taskObject::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.taskObject::|public|GoalIds:List +Microsoft.Graph.Beta.Models.taskObject::|public|HasChat:bool? +Microsoft.Graph.Beta.Models.taskObject::|public|HasChildren:bool? +Microsoft.Graph.Beta.Models.taskObject::|public|IsCritical:bool? +Microsoft.Graph.Beta.Models.taskObject::|public|LastModifiedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.taskObject::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.taskObject::|public|Links:List +Microsoft.Graph.Beta.Models.taskObject::|public|Messages:List +Microsoft.Graph.Beta.Models.taskObject::|public|Notes:global.Microsoft.Graph.Beta.Models.ItemBody +Microsoft.Graph.Beta.Models.taskObject::|public|OdataType:string +Microsoft.Graph.Beta.Models.taskObject::|public|ParentTaskId:string +Microsoft.Graph.Beta.Models.taskObject::|public|PercentComplete:int? +Microsoft.Graph.Beta.Models.taskObject::|public|PersonalView:global.Microsoft.Graph.Beta.Models.TaskPersonalView +Microsoft.Graph.Beta.Models.taskObject::|public|PlanId:string +Microsoft.Graph.Beta.Models.taskObject::|public|PlanView:global.Microsoft.Graph.Beta.Models.TaskPlanView +Microsoft.Graph.Beta.Models.taskObject::|public|Priority:int? +Microsoft.Graph.Beta.Models.taskObject::|public|Recurrence:global.Microsoft.Graph.Beta.Models.PlannerTaskRecurrence +Microsoft.Graph.Beta.Models.taskObject::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.taskObject::|public|StartDateTime:global.Microsoft.Graph.Beta.Models.DateWithOptionalTime +Microsoft.Graph.Beta.Models.taskObject::|public|Status:global.Microsoft.Graph.Beta.Models.PlannerTaskStatus? +Microsoft.Graph.Beta.Models.taskObject::|public|UserAssignments:List +Microsoft.Graph.Beta.Models.taskObject::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TaskObject +Microsoft.Graph.Beta.Models.taskPersonalView::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.taskPersonalView::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.taskPersonalView::|public|constructor():void +Microsoft.Graph.Beta.Models.taskPersonalView::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.taskPersonalView::|public|IsOnMyDay:bool? +Microsoft.Graph.Beta.Models.taskPersonalView::|public|OdataType:string +Microsoft.Graph.Beta.Models.taskPersonalView::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.taskPersonalView::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TaskPersonalView +Microsoft.Graph.Beta.Models.taskPersonalView~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.taskPlanView::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.taskPlanView::|public|AppliedCategoryIds:List +Microsoft.Graph.Beta.Models.taskPlanView::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.taskPlanView::|public|constructor():void +Microsoft.Graph.Beta.Models.taskPlanView::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.taskPlanView::|public|OdataType:string +Microsoft.Graph.Beta.Models.taskPlanView::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.taskPlanView::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TaskPlanView +Microsoft.Graph.Beta.Models.taskPlanView~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.taskStatus::0000-notStarted Microsoft.Graph.Beta.Models.taskStatus::0001-inProgress Microsoft.Graph.Beta.Models.taskStatus::0002-completed @@ -234394,6 +237179,7 @@ Microsoft.Graph.Beta.Models.teamsChannelPlanner-->global.Microsoft.Graph.Beta.Mo Microsoft.Graph.Beta.Models.teamsChannelPlanner::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.teamsChannelPlanner::|public|OdataType:string Microsoft.Graph.Beta.Models.teamsChannelPlanner::|public|Plans:List +Microsoft.Graph.Beta.Models.teamsChannelPlanner::|public|PlansV2:List Microsoft.Graph.Beta.Models.teamsChannelPlanner::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.teamsChannelPlanner::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.Models.teamsLicensingDetails-->global.Microsoft.Graph.Beta.Models.Entity @@ -237197,6 +239983,12 @@ Microsoft.Graph.Beta.Models.unknownSource::|public|GetFieldDeserializers():IDict Microsoft.Graph.Beta.Models.unknownSource::|public|OdataType:string Microsoft.Graph.Beta.Models.unknownSource::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.unknownSource::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UnknownSource +Microsoft.Graph.Beta.Models.unlimitedCostManagementQuantity-->global.Microsoft.Graph.Beta.Models.CostManagementQuantity +Microsoft.Graph.Beta.Models.unlimitedCostManagementQuantity::|public|constructor():void +Microsoft.Graph.Beta.Models.unlimitedCostManagementQuantity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.unlimitedCostManagementQuantity::|public|OdataType:string +Microsoft.Graph.Beta.Models.unlimitedCostManagementQuantity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.unlimitedCostManagementQuantity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UnlimitedCostManagementQuantity Microsoft.Graph.Beta.Models.unmanagedDevice::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.unmanagedDevice::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.unmanagedDevice::|public|constructor():void @@ -237560,6 +240352,7 @@ Microsoft.Graph.Beta.Models.user::|public|LastPasswordChangeDateTime:DateTimeOff Microsoft.Graph.Beta.Models.user::|public|LegalAgeGroupClassification:string Microsoft.Graph.Beta.Models.user::|public|LicenseAssignmentStates:List Microsoft.Graph.Beta.Models.user::|public|LicenseDetails:List +Microsoft.Graph.Beta.Models.user::|public|Lifecycle:global.Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle Microsoft.Graph.Beta.Models.user::|public|Mail:string Microsoft.Graph.Beta.Models.user::|public|MailboxSettings:global.Microsoft.Graph.Beta.Models.MailboxSettings Microsoft.Graph.Beta.Models.user::|public|MailFolders:List @@ -237754,6 +240547,29 @@ Microsoft.Graph.Beta.Models.userAppInstallStatus::|public|Serialize(writer:ISeri Microsoft.Graph.Beta.Models.userAppInstallStatus::|public|UserName:string Microsoft.Graph.Beta.Models.userAppInstallStatus::|public|UserPrincipalName:string Microsoft.Graph.Beta.Models.userAppInstallStatus::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UserAppInstallStatus +Microsoft.Graph.Beta.Models.userAssignment-->global.Microsoft.Graph.Beta.Models.PlannerDelta +Microsoft.Graph.Beta.Models.userAssignment::|public|AssignedBy:global.Microsoft.Graph.Beta.Models.IdentitySet +Microsoft.Graph.Beta.Models.userAssignment::|public|AssignedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.userAssignment::|public|Capabilities:global.Microsoft.Graph.Beta.Models.UserAssignmentCapability +Microsoft.Graph.Beta.Models.userAssignment::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.userAssignment::|public|OdataType:string +Microsoft.Graph.Beta.Models.userAssignment::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.userAssignment::|public|User:global.Microsoft.Graph.Beta.Models.Identity +Microsoft.Graph.Beta.Models.userAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UserAssignment +Microsoft.Graph.Beta.Models.userAssignmentCapability::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.userAssignmentCapability::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.userAssignmentCapability::|public|constructor():void +Microsoft.Graph.Beta.Models.userAssignmentCapability::|public|Extensions:bool? +Microsoft.Graph.Beta.Models.userAssignmentCapability::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.userAssignmentCapability::|public|OdataType:string +Microsoft.Graph.Beta.Models.userAssignmentCapability::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.userAssignmentCapability::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UserAssignmentCapability +Microsoft.Graph.Beta.Models.userAssignmentCapability~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.userAssignmentCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.userAssignmentCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.userAssignmentCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.userAssignmentCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.userAssignmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.UserAssignmentCollectionResponse Microsoft.Graph.Beta.Models.userAttributeValuesItem::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.userAttributeValuesItem::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.userAttributeValuesItem::|public|constructor():void @@ -240788,6 +243604,7 @@ Microsoft.Graph.Beta.Models.win32LobAppAssignmentSettings::|public|constructor() Microsoft.Graph.Beta.Models.win32LobAppAssignmentSettings::|public|DeliveryOptimizationPriority:global.Microsoft.Graph.Beta.Models.Win32LobAppDeliveryOptimizationPriority? Microsoft.Graph.Beta.Models.win32LobAppAssignmentSettings::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.win32LobAppAssignmentSettings::|public|InstallTimeSettings:global.Microsoft.Graph.Beta.Models.MobileAppInstallTimeSettings +Microsoft.Graph.Beta.Models.win32LobAppAssignmentSettings::|public|InUseSettings:global.Microsoft.Graph.Beta.Models.Win32LobAppInUseSettings Microsoft.Graph.Beta.Models.win32LobAppAssignmentSettings::|public|Notifications:global.Microsoft.Graph.Beta.Models.Win32LobAppNotification? Microsoft.Graph.Beta.Models.win32LobAppAssignmentSettings::|public|OdataType:string Microsoft.Graph.Beta.Models.win32LobAppAssignmentSettings::|public|RestartSettings:global.Microsoft.Graph.Beta.Models.Win32LobAppRestartSettings @@ -240898,6 +243715,17 @@ Microsoft.Graph.Beta.Models.win32LobAppInUseActionType::0001-fail Microsoft.Graph.Beta.Models.win32LobAppInUseActionType::0002-terminateWithoutUserInteraction Microsoft.Graph.Beta.Models.win32LobAppInUseActionType::0003-terminateWithUserInteraction Microsoft.Graph.Beta.Models.win32LobAppInUseActionType::0004-unknownFutureValue +Microsoft.Graph.Beta.Models.win32LobAppInUseSettings::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.win32LobAppInUseSettings::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.win32LobAppInUseSettings::|public|constructor():void +Microsoft.Graph.Beta.Models.win32LobAppInUseSettings::|public|CountdownMinutes:int? +Microsoft.Graph.Beta.Models.win32LobAppInUseSettings::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.win32LobAppInUseSettings::|public|MinutesBetweenDeferrals:int? +Microsoft.Graph.Beta.Models.win32LobAppInUseSettings::|public|NumberOfDeferrals:int? +Microsoft.Graph.Beta.Models.win32LobAppInUseSettings::|public|OdataType:string +Microsoft.Graph.Beta.Models.win32LobAppInUseSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.win32LobAppInUseSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Win32LobAppInUseSettings +Microsoft.Graph.Beta.Models.win32LobAppInUseSettings~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.win32LobAppMsiInformation::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.win32LobAppMsiInformation::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.win32LobAppMsiInformation::|public|constructor():void @@ -245947,6 +248775,16 @@ Microsoft.Graph.Beta.Models.workbookWorksheetProtectionOptions::|public|OdataTyp Microsoft.Graph.Beta.Models.workbookWorksheetProtectionOptions::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.workbookWorksheetProtectionOptions::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WorkbookWorksheetProtectionOptions Microsoft.Graph.Beta.Models.workbookWorksheetProtectionOptions~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.workDayDefaults::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.workDayDefaults::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.workDayDefaults::|public|constructor():void +Microsoft.Graph.Beta.Models.workDayDefaults::|public|EndTime:Time? +Microsoft.Graph.Beta.Models.workDayDefaults::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.workDayDefaults::|public|OdataType:string +Microsoft.Graph.Beta.Models.workDayDefaults::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.workDayDefaults::|public|StartTime:Time? +Microsoft.Graph.Beta.Models.workDayDefaults::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.WorkDayDefaults +Microsoft.Graph.Beta.Models.workDayDefaults~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.workforceIntegration-->global.Microsoft.Graph.Beta.Models.ChangeTrackedEntity Microsoft.Graph.Beta.Models.workforceIntegration::|public|ApiVersion:int? Microsoft.Graph.Beta.Models.workforceIntegration::|public|constructor():void @@ -246206,6 +249044,7 @@ Microsoft.Graph.Beta.Models.x509CertificateAuthenticationMethodConfiguration::|p Microsoft.Graph.Beta.Models.x509CertificateAuthenticationMethodConfiguration::|public|IncludeTargets:List Microsoft.Graph.Beta.Models.x509CertificateAuthenticationMethodConfiguration::|public|IssuerHintsConfiguration:global.Microsoft.Graph.Beta.Models.X509CertificateIssuerHintsConfiguration Microsoft.Graph.Beta.Models.x509CertificateAuthenticationMethodConfiguration::|public|OdataType:string +Microsoft.Graph.Beta.Models.x509CertificateAuthenticationMethodConfiguration::|public|RequireCertificateSidAlignment:bool? Microsoft.Graph.Beta.Models.x509CertificateAuthenticationMethodConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.x509CertificateAuthenticationMethodConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.X509CertificateAuthenticationMethodConfiguration Microsoft.Graph.Beta.Models.x509CertificateAuthenticationMode::0000-x509CertificateSingleFactor @@ -248226,27 +251065,28 @@ Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDeviceU Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTime.microsoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Networkaccess.DeviceUsageSummary Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTime.microsoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTime.microsoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTime.MicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTimeRequestBuilder -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.getDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.getDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse::|public|GetFieldDeserializers():IDictionary> -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.getDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse::|public|Serialize(writer:ISerializationWriter):void -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.getDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse::|public|Value:List -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.getDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.getDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdResponse-->global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.getDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder-->BaseRequestBuilder -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilderGetQueryParameters::|public|Count:bool? -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilderGetQueryParameters::|public|Filter:string -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilderGetQueryParameters::|public|Search:string -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilderGetQueryParameters::|public|Skip:int? -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilderGetQueryParameters::|public|Top:int? -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilderGetQueryParameters::|public|UserId:string -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilderGetRequestConfiguration-->RequestConfiguration -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; endDateTime?:DateTimeOffset?; startDateTime?:DateTimeOffset?):void -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder::|public|GetAsGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdResponse -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation -Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.getDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.getDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.getDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.getDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponse::|public|Value:List +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.getDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.getDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdResponse-->global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.getDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilderGetQueryParameters::|public|GroupingId:string +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilderGetQueryParameters::|public|UserId:string +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; endDateTime?:DateTimeOffset?; startDateTime?:DateTimeOffset?):void +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder::|public|GetAsGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdGetResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.GetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdResponse +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetEnterpriseApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserId.getEnterpriseApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetEnterpriseApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserId.getEnterpriseApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetEnterpriseApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserId.getEnterpriseApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserIdGetResponse::|public|Serialize(writer:ISerializationWriter):void @@ -248383,7 +251223,7 @@ Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|micros Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTime(discoveryPivotDateTime:DateTimeOffset?; endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTime.MicrosoftGraphNetworkaccessGetCrossTenantSummaryWithStartDateTimeWithEndDateTimeWithDiscoveryPivotDateTimeRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedBy(aggregatedBy:string; endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedBy.MicrosoftGraphNetworkaccessGetDestinationSummariesWithStartDateTimeWithEndDateTimeWithAggregatedByRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTime(activityPivotDateTime:DateTimeOffset?; endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTime.MicrosoftGraphNetworkaccessGetDeviceUsageSummaryWithStartDateTimeWithEndDateTimeWithActivityPivotDateTimeRequestBuilder -Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserId.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingId.MicrosoftGraphNetworkaccessGetDiscoveredApplicationSegmentReportWithStartDateTimeWithEndDateTimeuserIdUserIdGroupingIdGroupingIdRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessGetEnterpriseApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserId(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessGetEnterpriseApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserId.MicrosoftGraphNetworkaccessGetEnterpriseApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTime(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessTransactionSummariesWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Reports.reportsRequestBuilder::|public|microsoftGraphNetworkaccessUsageProfilingWithStartDateTimeWithEndDateTimeWithAggregatedBydiscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdAiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDestinationUrlDestinationUrl(aggregatedBy:string; endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Reports.MicrosoftGraphNetworkaccessUsageProfilingWithStartDateTimeWithEndDateTimeWithAggregatedBydiscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdAiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDestinationUrlDestinationUrl.MicrosoftGraphNetworkaccessUsageProfilingWithStartDateTimeWithEndDateTimeWithAggregatedBydiscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdApplicationIdApplicationIdAiAgentIdAiAgentIdAiAgentNameAiAgentNameAgentTypeIdAgentTypeIdAgentVirtualIdAgentVirtualIdDestinationUrlDestinationUrlRequestBuilder @@ -252658,8 +255498,10 @@ Microsoft.Graph.Beta.Planner.plannerRequestBuilder::|public|GetAsync(requestConf Microsoft.Graph.Beta.Planner.plannerRequestBuilder::|public|goals:global.Microsoft.Graph.Beta.Planner.Goals.GoalsRequestBuilder Microsoft.Graph.Beta.Planner.plannerRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Planner; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Planner Microsoft.Graph.Beta.Planner.plannerRequestBuilder::|public|plans:global.Microsoft.Graph.Beta.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Planner.plannerRequestBuilder::|public|plans_v2:global.Microsoft.Graph.Beta.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Planner.plannerRequestBuilder::|public|rosters:global.Microsoft.Graph.Beta.Planner.Rosters.RostersRequestBuilder Microsoft.Graph.Beta.Planner.plannerRequestBuilder::|public|tasks:global.Microsoft.Graph.Beta.Planner.Tasks.TasksRequestBuilder +Microsoft.Graph.Beta.Planner.plannerRequestBuilder::|public|tasks_v2:global.Microsoft.Graph.Beta.Planner.Tasks_v2.Tasks_v2RequestBuilder Microsoft.Graph.Beta.Planner.plannerRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Planner.plannerRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Planner; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Planner.plannerRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.PlannerRequestBuilder @@ -253003,6 +255845,13 @@ Microsoft.Graph.Beta.Planner.Plans.Item.Details.detailsRequestBuilder::|public|T Microsoft.Graph.Beta.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlanDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Planner.Plans.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder.extendExpiryRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder.getUsageRightsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -253116,6 +255965,7 @@ Microsoft.Graph.Beta.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|c Microsoft.Graph.Beta.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|extendExpiry:global.Microsoft.Graph.Beta.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerPlan Microsoft.Graph.Beta.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|getUsageRights:global.Microsoft.Graph.Beta.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder Microsoft.Graph.Beta.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|goals:global.Microsoft.Graph.Beta.Planner.Plans.Item.Goals.GoalsRequestBuilder @@ -253373,6 +256223,365 @@ Microsoft.Graph.Beta.Planner.Plans.plansRequestBuilder::|public|PostAsync(body:g Microsoft.Graph.Beta.Planner.Plans.plansRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Planner.Plans.plansRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlan; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Planner.Plans.plansRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Plans_v2.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder.bucketsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder::[BucketId:string]:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.BucketCollectionResponse +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Bucket; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Bucket +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Bucket; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.bucketsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.BucketsRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder.BucketItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder.BucketItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder.BucketItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder.BucketItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder.BucketItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Bucket +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Bucket; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Bucket +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Bucket; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.Item.BucketItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder.contextsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder.contextsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder.contextsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder.contextsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder.contextsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder.contextsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder.contextsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder.contextsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder.contextsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder.contextsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder::[PlanContextLinkId:string]:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlanContextLinkCollectionResponse +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlanContextLink; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlanContextLink +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlanContextLink; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.contextsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.ContextsRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder.PlanContextLinkItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder.PlanContextLinkItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder.PlanContextLinkItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder.PlanContextLinkItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder.PlanContextLinkItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlanContextLink +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlanContextLink; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlanContextLink +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlanContextLink; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.Item.PlanContextLinkItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.customFieldDefinitionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.customFieldDefinitionsRequestBuilder.customFieldDefinitionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.customFieldDefinitionsRequestBuilder.customFieldDefinitionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.customFieldDefinitionsRequestBuilder.customFieldDefinitionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.customFieldDefinitionsRequestBuilder.customFieldDefinitionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.customFieldDefinitionsRequestBuilder.customFieldDefinitionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.customFieldDefinitionsRequestBuilder.customFieldDefinitionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.customFieldDefinitionsRequestBuilder.customFieldDefinitionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.customFieldDefinitionsRequestBuilder.customFieldDefinitionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.customFieldDefinitionsRequestBuilder.customFieldDefinitionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.customFieldDefinitionsRequestBuilder::[CustomFieldDefinitionId:string]:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Item.CustomFieldDefinitionItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.customFieldDefinitionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.customFieldDefinitionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.customFieldDefinitionsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.customFieldDefinitionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CustomFieldDefinitionCollectionResponse +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.customFieldDefinitionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.customFieldDefinitionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.CustomFieldDefinitionsRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Item.CustomFieldDefinitionItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Item.CustomFieldDefinitionItemRequestBuilder.CustomFieldDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Item.CustomFieldDefinitionItemRequestBuilder.CustomFieldDefinitionItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Item.CustomFieldDefinitionItemRequestBuilder.CustomFieldDefinitionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Item.CustomFieldDefinitionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Item.CustomFieldDefinitionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Item.CustomFieldDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CustomFieldDefinition +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Item.CustomFieldDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Item.CustomFieldDefinitionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.Item.CustomFieldDefinitionItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.dependenciesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.dependenciesRequestBuilder.dependenciesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.dependenciesRequestBuilder.dependenciesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.dependenciesRequestBuilder.dependenciesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.dependenciesRequestBuilder.dependenciesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.dependenciesRequestBuilder.dependenciesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.dependenciesRequestBuilder.dependenciesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.dependenciesRequestBuilder.dependenciesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.dependenciesRequestBuilder.dependenciesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.dependenciesRequestBuilder.dependenciesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.dependenciesRequestBuilder::[DependencyId:string]:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Item.DependencyItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.dependenciesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.dependenciesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.dependenciesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.dependenciesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DependencyCollectionResponse +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.dependenciesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.dependenciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.DependenciesRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Item.DependencyItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Item.DependencyItemRequestBuilder.DependencyItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Item.DependencyItemRequestBuilder.DependencyItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Item.DependencyItemRequestBuilder.DependencyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Item.DependencyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Item.DependencyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Item.DependencyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Dependency +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Item.DependencyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Item.DependencyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.Item.DependencyItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.goalsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.goalsRequestBuilder.goalsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.goalsRequestBuilder.goalsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.goalsRequestBuilder.goalsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.goalsRequestBuilder.goalsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.goalsRequestBuilder.goalsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.goalsRequestBuilder.goalsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.goalsRequestBuilder.goalsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.goalsRequestBuilder.goalsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.goalsRequestBuilder.goalsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.goalsRequestBuilder::[GoalId:string]:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Item.GoalItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.goalsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.goalsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.goalsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.goalsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.GoalCollectionResponse +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.goalsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.goalsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.GoalsRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Item.GoalItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Item.GoalItemRequestBuilder.GoalItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Item.GoalItemRequestBuilder.GoalItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Item.GoalItemRequestBuilder.GoalItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Item.GoalItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Item.GoalItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Item.GoalItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Goal +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Item.GoalItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Item.GoalItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.Item.GoalItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.historyItemsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.historyItemsRequestBuilder.historyItemsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.historyItemsRequestBuilder::[HistoryItemId:string]:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Item.HistoryItemItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.historyItemsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.historyItemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.historyItemsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.historyItemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HistoryItemCollectionResponse +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.historyItemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.historyItemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.HistoryItemsRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Item.HistoryItemItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Item.HistoryItemItemRequestBuilder.HistoryItemItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Item.HistoryItemItemRequestBuilder.HistoryItemItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Item.HistoryItemItemRequestBuilder.HistoryItemItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Item.HistoryItemItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Item.HistoryItemItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Item.HistoryItemItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HistoryItem +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Item.HistoryItemItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Item.HistoryItemItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.Item.HistoryItemItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder.ContentLinkItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder.ContentLinkItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder.ContentLinkItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder.ContentLinkItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder.ContentLinkItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ContentLink +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ContentLink; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ContentLink +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ContentLink; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder.linksRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder.linksRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder.linksRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder.linksRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder.linksRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder.linksRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder.linksRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder.linksRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder.linksRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder.linksRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder::[ContentLinkId:string]:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Item.ContentLinkItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ContentLinkCollectionResponse +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ContentLink; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ContentLink +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ContentLink; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.linksRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.LinksRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|buckets:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Buckets.BucketsRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|contexts:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Contexts.ContextsRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|customFieldDefinitions:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.CustomFieldDefinitions.CustomFieldDefinitionsRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|dependencies:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Dependencies.DependenciesRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Plan +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|goals:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Goals.GoalsRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|historyItems:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.HistoryItems.HistoryItemsRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|links:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Links.LinksRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Plan; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Plan +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|tasks:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.TasksRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Plan; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Item.TaskItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Item.TaskItemRequestBuilder.TaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Item.TaskItemRequestBuilder.TaskItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Item.TaskItemRequestBuilder.TaskItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Item.TaskItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Item.TaskItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Item.TaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TaskObject +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Item.TaskItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Item.TaskItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Item.TaskItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.tasksRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.tasksRequestBuilder.tasksRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.tasksRequestBuilder::[TaskId:string]:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Item.TaskItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.tasksRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.tasksRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.tasksRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.tasksRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TaskCollectionResponse +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.tasksRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.tasksRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.Tasks.TasksRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder::[PlanId:string]:global.Microsoft.Graph.Beta.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlanCollectionResponse +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Plan; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Plan +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Plan; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Plans_v2.plans_v2RequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Planner.Rosters.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Planner.Rosters.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Planner.Rosters.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -253724,6 +256933,275 @@ Microsoft.Graph.Beta.Planner.Tasks.tasksRequestBuilder::|public|PostAsync(body:g Microsoft.Graph.Beta.Planner.Tasks.tasksRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Planner.Tasks.tasksRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Planner.Tasks.tasksRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks.TasksRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Tasks_v2.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder.checklistRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder.checklistRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder.checklistRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder.checklistRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder.checklistRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder.checklistRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder.checklistRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder.checklistRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder.checklistRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder.checklistRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder::[ChecklistItemV4Id:string]:global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChecklistItemV4CollectionResponse +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ChecklistItemV4; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChecklistItemV4 +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChecklistItemV4; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.checklistRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.ChecklistRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder.ChecklistItemV4ItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder.ChecklistItemV4ItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder.ChecklistItemV4ItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder.ChecklistItemV4ItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder.ChecklistItemV4ItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChecklistItemV4 +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ChecklistItemV4; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ChecklistItemV4 +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ChecklistItemV4; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.Item.ChecklistItemV4ItemRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder.customFieldValuesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder.customFieldValuesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder.customFieldValuesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder.customFieldValuesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder.customFieldValuesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder.customFieldValuesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder.customFieldValuesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder.customFieldValuesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder.customFieldValuesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder.customFieldValuesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder::[CustomFieldValueId:string]:global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CustomFieldValueCollectionResponse +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.CustomFieldValue; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CustomFieldValue +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.CustomFieldValue; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.customFieldValuesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.CustomFieldValuesRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder.CustomFieldValueItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder.CustomFieldValueItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder.CustomFieldValueItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder.CustomFieldValueItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder.CustomFieldValueItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CustomFieldValue +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.CustomFieldValue; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.CustomFieldValue +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.CustomFieldValue; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.Item.CustomFieldValueItemRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder.ContentLinkItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder.ContentLinkItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder.ContentLinkItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder.ContentLinkItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder.ContentLinkItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ContentLink +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ContentLink; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ContentLink +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ContentLink; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder.linksRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder.linksRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder.linksRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder.linksRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder.linksRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder.linksRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder.linksRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder.linksRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder.linksRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder.linksRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder::[ContentLinkId:string]:global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Item.ContentLinkItemRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ContentLinkCollectionResponse +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ContentLink; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ContentLink +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ContentLink; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.linksRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.LinksRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder.PlannerChatMessageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder.PlannerChatMessageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder.PlannerChatMessageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder.PlannerChatMessageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder.PlannerChatMessageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerChatMessage +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerChatMessage +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder.messagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder.messagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder::[PlannerChatMessageId:string]:global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Item.PlannerChatMessageItemRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerChatMessageCollectionResponse +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.PlannerChatMessage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerChatMessage +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerChatMessage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.MessagesRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder.TaskItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder.TaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder.TaskItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder.TaskItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder.TaskItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|checklist:global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Checklist.ChecklistRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|customFieldValues:global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.CustomFieldValues.CustomFieldValuesRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TaskObject +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|links:global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Links.LinksRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.Messages.MessagesRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.TaskObject; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TaskObject +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.TaskObject; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|userAssignments:global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.UserAssignmentsRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder.UserAssignmentItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder.UserAssignmentItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder.UserAssignmentItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder.UserAssignmentItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder.UserAssignmentItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UserAssignment +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UserAssignment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UserAssignment +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UserAssignment; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder.userAssignmentsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder.userAssignmentsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder.userAssignmentsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder.userAssignmentsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder.userAssignmentsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder.userAssignmentsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder.userAssignmentsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder.userAssignmentsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder.userAssignmentsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder.userAssignmentsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder::[UserAssignmentId:string]:global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Item.UserAssignmentItemRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UserAssignmentCollectionResponse +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.UserAssignment; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UserAssignment +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.UserAssignment; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.userAssignmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.UserAssignments.UserAssignmentsRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder::[TaskId:string]:global.Microsoft.Graph.Beta.Planner.Tasks_v2.Item.TaskItemRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Planner.Tasks_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TaskCollectionResponse +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.TaskObject; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TaskObject +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.TaskObject; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Planner.Tasks_v2.Tasks_v2RequestBuilder Microsoft.Graph.Beta.Policies.AccessReviewPolicy.accessReviewPolicyRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Policies.AccessReviewPolicy.accessReviewPolicyRequestBuilder.accessReviewPolicyRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Policies.AccessReviewPolicy.accessReviewPolicyRequestBuilder.accessReviewPolicyRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -262856,12 +266334,60 @@ Microsoft.Graph.Beta.Reports.MonthlyPrintUsageSummariesByUser.monthlyPrintUsageS Microsoft.Graph.Beta.Reports.MonthlyPrintUsageSummariesByUser.monthlyPrintUsageSummariesByUserRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Reports.MonthlyPrintUsageSummariesByUser.monthlyPrintUsageSummariesByUserRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PrintUsageByUser; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Reports.MonthlyPrintUsageSummariesByUser.monthlyPrintUsageSummariesByUserRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Reports.MonthlyPrintUsageSummariesByUser.MonthlyPrintUsageSummariesByUserRequestBuilder +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.aggregatedUsageRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.aggregatedUsageRequestBuilder.aggregatedUsageRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.aggregatedUsageRequestBuilder.aggregatedUsageRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.aggregatedUsageRequestBuilder.aggregatedUsageRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.aggregatedUsageRequestBuilder.aggregatedUsageRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.aggregatedUsageRequestBuilder.aggregatedUsageRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.aggregatedUsageRequestBuilder::|public|billed:global.Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.BilledRequestBuilder +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.aggregatedUsageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.aggregatedUsageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.aggregatedUsageRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.aggregatedUsageRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Partners.Billing.AzureAggregatedUsage +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.aggregatedUsageRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Partners.Billing.AzureAggregatedUsage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Partners.Billing.AzureAggregatedUsage +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.aggregatedUsageRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.aggregatedUsageRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.aggregatedUsageRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Partners.Billing.AzureAggregatedUsage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.aggregatedUsageRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.AggregatedUsageRequestBuilder +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.billedRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.billedRequestBuilder.billedRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.billedRequestBuilder.billedRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.billedRequestBuilder.billedRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.billedRequestBuilder.billedRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.billedRequestBuilder.billedRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.billedRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.billedRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.billedRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.billedRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Partners.Billing.BilledAggregatedUsage +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.billedRequestBuilder::|public|microsoftGraphPartnersBillingExport:global.Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.billedRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Partners.Billing.BilledAggregatedUsage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Partners.Billing.BilledAggregatedUsage +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.billedRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.billedRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.billedRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Partners.Billing.BilledAggregatedUsage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.billedRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.BilledRequestBuilder +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.exportPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.exportPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.exportPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.exportPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.exportPostRequestBody::|public|InvoiceId:string +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.exportPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.exportPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.ExportPostRequestBody +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.exportPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.microsoftGraphPartnersBillingExportRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.microsoftGraphPartnersBillingExportRequestBuilder.microsoftGraphPartnersBillingExportRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.microsoftGraphPartnersBillingExportRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.microsoftGraphPartnersBillingExportRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.microsoftGraphPartnersBillingExportRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.ExportPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Partners.Billing.Operation +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.microsoftGraphPartnersBillingExportRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.ExportPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.microsoftGraphPartnersBillingExportRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.Billed.MicrosoftGraphPartnersBillingExport.MicrosoftGraphPartnersBillingExportRequestBuilder Microsoft.Graph.Beta.Reports.Partners.Billing.billingRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Reports.Partners.Billing.billingRequestBuilder.billingRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Reports.Partners.Billing.billingRequestBuilder.billingRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Reports.Partners.Billing.billingRequestBuilder.billingRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Beta.Reports.Partners.Billing.billingRequestBuilder.billingRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Reports.Partners.Billing.billingRequestBuilder.billingRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Reports.Partners.Billing.billingRequestBuilder::|public|aggregatedUsage:global.Microsoft.Graph.Beta.Reports.Partners.Billing.AggregatedUsage.AggregatedUsageRequestBuilder Microsoft.Graph.Beta.Reports.Partners.Billing.billingRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Reports.Partners.Billing.billingRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Reports.Partners.Billing.billingRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void @@ -265657,6 +269183,13 @@ Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermiss Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse-->global.Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -265669,10 +269202,18 @@ Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermiss Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -265686,6 +269227,7 @@ Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.UnifiedRoleDefi Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|inheritsPermissionsFrom:global.Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.CloudPC.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation @@ -266158,6 +269700,13 @@ Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermis Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse-->global.Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -266170,10 +269719,18 @@ Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermis Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -266187,6 +269744,7 @@ Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.UnifiedRoleDef Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|inheritsPermissionsFrom:global.Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.Defender.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation @@ -266623,6 +270181,13 @@ Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.Inheri Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse-->global.Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -266635,10 +270200,18 @@ Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.Inheri Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -266652,6 +270225,7 @@ Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.Unifie Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|inheritsPermissionsFrom:global.Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation @@ -266676,6 +270250,181 @@ Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.roleDefinit Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.roleDefinitionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.roleDefinitionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.roleDefinitionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DeviceManagement.RoleDefinitions.RoleDefinitionsRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.deletedItemsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.deletedItemsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.deletedItemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.deletedItemsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.deletedItemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.deletedItemsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.deletedItemsRequestBuilder::|public|roleDefinitions:global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.RoleDefinitionsRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.deletedItemsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.deletedItemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.deletedItemsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.deletedItemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.DeletedItemsRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Count.CountRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|public|Value:List +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|DirectoryScopeId:string +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|DirectoryScopeType:string +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Transitive:bool? +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse-->global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::[UnifiedRoleDefinitionId1:string]:global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinitionCollectionResponse +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|public|Value:List +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|DirectoryScopeId:string +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|DirectoryScopeType:string +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Transitive:bool? +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse-->global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId:global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId:global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|inheritsPermissionsFrom:global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::[UnifiedRoleDefinitionId:string]:global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.Count.CountRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinitionCollectionResponse +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.RoleDefinitions.RoleDefinitionsRequestBuilder Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.directoryRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.directoryRequestBuilder.directoryRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.directoryRequestBuilder.directoryRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -266685,6 +270434,7 @@ Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.directoryRequestBuilder.d Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.directoryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.directoryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.directoryRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.directoryRequestBuilder::|public|deletedItems:global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.DeletedItems.DeletedItemsRequestBuilder Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.directoryRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RbacApplication Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.directoryRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.RbacApplication; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RbacApplication Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.directoryRequestBuilder::|public|resourceNamespaces:global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.ResourceNamespaces.ResourceNamespacesRequestBuilder @@ -267502,6 +271252,13 @@ Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.Inhe Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse-->global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -267514,10 +271271,18 @@ Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.Inhe Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -267531,6 +271296,7 @@ Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.Unif Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|inheritsPermissionsFrom:global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.DirectoryNamespace.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation @@ -268070,6 +271836,181 @@ Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.enterpriseAppsRequestBuilder: Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.enterpriseAppsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.enterpriseAppsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.RbacApplication; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.enterpriseAppsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.EnterpriseAppsRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.deletedItemsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.deletedItemsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.deletedItemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.deletedItemsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.deletedItemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.deletedItemsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.deletedItemsRequestBuilder::|public|roleDefinitions:global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.RoleDefinitionsRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.deletedItemsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.deletedItemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.deletedItemsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.deletedItemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.DeletedItemsRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Count.CountRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|public|Value:List +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|DirectoryScopeId:string +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|DirectoryScopeType:string +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Transitive:bool? +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse-->global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::[UnifiedRoleDefinitionId1:string]:global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinitionCollectionResponse +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|public|Value:List +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|DirectoryScopeId:string +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|DirectoryScopeType:string +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Transitive:bool? +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse-->global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId:global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId:global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|inheritsPermissionsFrom:global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::[UnifiedRoleDefinitionId:string]:global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.Count.CountRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinitionCollectionResponse +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.RoleDefinitions.RoleDefinitionsRequestBuilder Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RbacApplicationItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RbacApplicationItemRequestBuilder.RbacApplicationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RbacApplicationItemRequestBuilder.RbacApplicationItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -268079,6 +272020,7 @@ Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RbacApplicationItemReque Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RbacApplicationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RbacApplicationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RbacApplicationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RbacApplicationItemRequestBuilder::|public|deletedItems:global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.DeletedItems.DeletedItemsRequestBuilder Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RbacApplicationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RbacApplication Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RbacApplicationItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.RbacApplication; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RbacApplication Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RbacApplicationItemRequestBuilder::|public|resourceNamespaces:global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.ResourceNamespaces.ResourceNamespacesRequestBuilder @@ -268896,6 +272838,13 @@ Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.Inh Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse-->global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -268908,10 +272857,18 @@ Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.Inh Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -268925,6 +272882,7 @@ Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.Uni Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|inheritsPermissionsFrom:global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation @@ -269435,6 +273393,181 @@ Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.TransitiveRoleAssignment Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.TransitiveRoleAssignments.transitiveRoleAssignmentsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.TransitiveRoleAssignments.transitiveRoleAssignmentsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleAssignment; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.TransitiveRoleAssignments.transitiveRoleAssignmentsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EnterpriseApps.Item.TransitiveRoleAssignments.TransitiveRoleAssignmentsRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.deletedItemsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.deletedItemsRequestBuilder.deletedItemsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.deletedItemsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.deletedItemsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.deletedItemsRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.deletedItemsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.deletedItemsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.deletedItemsRequestBuilder::|public|roleDefinitions:global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.RoleDefinitionsRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.deletedItemsRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.deletedItemsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.deletedItemsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.DirectoryRoleManagementDeletedItemContainer; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.deletedItemsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.DeletedItemsRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Count.CountRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|public|Value:List +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|DirectoryScopeId:string +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|DirectoryScopeType:string +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Transitive:bool? +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse-->global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder.inheritsPermissionsFromRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::[UnifiedRoleDefinitionId1:string]:global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Count.CountRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinitionCollectionResponse +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.inheritsPermissionsFromRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|public|Value:List +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|DirectoryScopeId:string +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|DirectoryScopeType:string +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetQueryParameters::|public|Transitive:bool? +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|GetAsAssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse-->global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId:global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId:global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|inheritsPermissionsFrom:global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.Restore.RestoreRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder.roleDefinitionsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::[UnifiedRoleDefinitionId:string]:global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.Count.CountRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinitionCollectionResponse +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.roleDefinitionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.RoleDefinitions.RoleDefinitionsRequestBuilder Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.entitlementManagementRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.entitlementManagementRequestBuilder.entitlementManagementRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.entitlementManagementRequestBuilder.entitlementManagementRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -269444,6 +273577,7 @@ Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.entitlementManagementR Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.entitlementManagementRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.entitlementManagementRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.entitlementManagementRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.entitlementManagementRequestBuilder::|public|deletedItems:global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.DeletedItems.DeletedItemsRequestBuilder Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.entitlementManagementRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RbacApplication Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.entitlementManagementRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.RbacApplication; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.RbacApplication Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.entitlementManagementRequestBuilder::|public|resourceNamespaces:global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.ResourceNamespaces.ResourceNamespacesRequestBuilder @@ -270261,6 +274395,13 @@ Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.I Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse-->global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -270273,10 +274414,18 @@ Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.I Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -270290,6 +274439,7 @@ Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.U Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|inheritsPermissionsFrom:global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.EntitlementManagement.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation @@ -271177,6 +275327,13 @@ Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermis Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdRequestBuilder Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse-->global.Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdGetResponse Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.assignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeId.AssignedPrincipalsWithTransitivedirectoryScopeTypeDirectoryScopeTypeDirectoryScopeIdDirectoryScopeIdResponse +Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -271189,10 +275346,18 @@ Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermis Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.Item.UnifiedRoleDefinitionItemRequestBuilder +Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.Restore.restoreRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.Restore.restoreRequestBuilder.restoreRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.Restore.restoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder.UnifiedRoleDefinitionItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -271206,6 +275371,7 @@ Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.UnifiedRoleDef Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|inheritsPermissionsFrom:global.Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.InheritsPermissionsFrom.InheritsPermissionsFromRequestBuilder Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition +Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|restore:global.Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.Restore.RestoreRequestBuilder Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.RoleManagement.Exchange.RoleDefinitions.Item.UnifiedRoleDefinitionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.UnifiedRoleDefinition; requestConfiguration?:Action>):RequestInformation @@ -277127,6 +281293,7 @@ Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|triggers:global.Mi Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|triggerTypes:global.Microsoft.Graph.Beta.Security.TriggerTypes.TriggerTypesRequestBuilder Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|userSecurityProfiles:global.Microsoft.Graph.Beta.Security.UserSecurityProfiles.UserSecurityProfilesRequestBuilder Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.SecurityRequestBuilder +Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|workbooks:global.Microsoft.Graph.Beta.Security.Workbooks.WorkbooksRequestBuilder Microsoft.Graph.Beta.Security.securityRequestBuilder::|public|zones:global.Microsoft.Graph.Beta.Security.Zones.ZonesRequestBuilder Microsoft.Graph.Beta.Security.SubjectRightsRequests.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Security.SubjectRightsRequests.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string @@ -279509,6 +283676,50 @@ Microsoft.Graph.Beta.Security.UserSecurityProfiles.userSecurityProfilesRequestBu Microsoft.Graph.Beta.Security.UserSecurityProfiles.userSecurityProfilesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.UserSecurityProfiles.userSecurityProfilesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.UserSecurityProfile; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Security.UserSecurityProfiles.userSecurityProfilesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.UserSecurityProfiles.UserSecurityProfilesRequestBuilder +Microsoft.Graph.Beta.Security.Workbooks.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.Workbooks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.Workbooks.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.Workbooks.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Workbooks.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Workbooks.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Workbooks.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Security.Workbooks.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Workbooks.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Workbooks.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder.WorkbookItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder.WorkbookItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder.WorkbookItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder.WorkbookItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder.WorkbookItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.Workbook +Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.Security.Workbook; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.Workbook +Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.Workbook; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder.workbooksRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder.workbooksRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder.workbooksRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder.workbooksRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder.workbooksRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder.workbooksRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder.workbooksRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder.workbooksRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder.workbooksRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder.workbooksRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder::[WorkbookId:string]:global.Microsoft.Graph.Beta.Security.Workbooks.Item.WorkbookItemRequestBuilder +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Security.Workbooks.Count.CountRequestBuilder +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.WorkbookCollectionResponse +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Security.Workbook; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Security.Workbook +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Security.Workbook; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Security.Workbooks.workbooksRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Security.Workbooks.WorkbooksRequestBuilder Microsoft.Graph.Beta.Security.Zones.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Security.Zones.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Security.Zones.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -280369,6 +284580,67 @@ Microsoft.Graph.Beta.ServicePrincipals.Item.LicenseDetails.licenseDetailsRequest Microsoft.Graph.Beta.ServicePrincipals.Item.LicenseDetails.licenseDetailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.ServicePrincipals.Item.LicenseDetails.licenseDetailsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.LicenseDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.ServicePrincipals.Item.LicenseDetails.licenseDetailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.ServicePrincipals.Item.LicenseDetails.LicenseDetailsRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::[ComplianceIssueId:string]:global.Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssueCollectionResponse +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssue +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder.effectiveGoverningPolicyRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder.effectiveGoverningPolicyRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder.effectiveGoverningPolicyRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|complianceIssues:global.Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|effectiveGoverningPolicy:global.Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.IdentityGovernance.IdentityLifecycle; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.lifecycleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.LifecycleRequestBuilder Microsoft.Graph.Beta.ServicePrincipals.Item.MemberOf.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.ServicePrincipals.Item.MemberOf.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.ServicePrincipals.Item.MemberOf.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -280512,6 +284784,13 @@ Microsoft.Graph.Beta.ServicePrincipals.Item.MemberOf.memberOfRequestBuilder::|pu Microsoft.Graph.Beta.ServicePrincipals.Item.MemberOf.memberOfRequestBuilder::|public|graphGroup:global.Microsoft.Graph.Beta.ServicePrincipals.Item.MemberOf.GraphGroup.GraphGroupRequestBuilder Microsoft.Graph.Beta.ServicePrincipals.Item.MemberOf.memberOfRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.ServicePrincipals.Item.MemberOf.memberOfRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.ServicePrincipals.Item.MemberOf.MemberOfRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder.microsoftGraphIdentityGovernanceAttestRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder Microsoft.Graph.Beta.ServicePrincipals.Item.Oauth2PermissionGrants.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.ServicePrincipals.Item.Oauth2PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.ServicePrincipals.Item.Oauth2PermissionGrants.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -281141,7 +285420,9 @@ Microsoft.Graph.Beta.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder:: Microsoft.Graph.Beta.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|public|getPasswordSingleSignOnCredentials:global.Microsoft.Graph.Beta.ServicePrincipals.Item.GetPasswordSingleSignOnCredentials.GetPasswordSingleSignOnCredentialsRequestBuilder Microsoft.Graph.Beta.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|public|homeRealmDiscoveryPolicies:global.Microsoft.Graph.Beta.ServicePrincipals.Item.HomeRealmDiscoveryPolicies.HomeRealmDiscoveryPoliciesRequestBuilder Microsoft.Graph.Beta.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|public|licenseDetails:global.Microsoft.Graph.Beta.ServicePrincipals.Item.LicenseDetails.LicenseDetailsRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|public|lifecycle:global.Microsoft.Graph.Beta.ServicePrincipals.Item.Lifecycle.LifecycleRequestBuilder Microsoft.Graph.Beta.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|public|memberOf:global.Microsoft.Graph.Beta.ServicePrincipals.Item.MemberOf.MemberOfRequestBuilder +Microsoft.Graph.Beta.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|public|microsoftGraphIdentityGovernanceAttest:global.Microsoft.Graph.Beta.ServicePrincipals.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder Microsoft.Graph.Beta.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|public|oauth2PermissionGrants:global.Microsoft.Graph.Beta.ServicePrincipals.Item.Oauth2PermissionGrants.Oauth2PermissionGrantsRequestBuilder Microsoft.Graph.Beta.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|public|ownedObjects:global.Microsoft.Graph.Beta.ServicePrincipals.Item.OwnedObjects.OwnedObjectsRequestBuilder Microsoft.Graph.Beta.ServicePrincipals.Item.ServicePrincipalItemRequestBuilder::|public|owners:global.Microsoft.Graph.Beta.ServicePrincipals.Item.Owners.OwnersRequestBuilder @@ -292698,6 +296979,7 @@ Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|publi Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|driveProtectionUnitsBulkAdditionJobs:global.Microsoft.Graph.Beta.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs.DriveProtectionUnitsBulkAdditionJobsRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|emailNotificationsSetting:global.Microsoft.Graph.Beta.Solutions.BackupRestore.EmailNotificationsSetting.EmailNotificationsSettingRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|enable:global.Microsoft.Graph.Beta.Solutions.BackupRestore.Enable.EnableRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|entraProtectionPolicies:global.Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.EntraProtectionPoliciesRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|exchangeProtectionPolicies:global.Microsoft.Graph.Beta.Solutions.BackupRestore.ExchangeProtectionPolicies.ExchangeProtectionPoliciesRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|exchangeRestoreSessions:global.Microsoft.Graph.Beta.Solutions.BackupRestore.ExchangeRestoreSessions.ExchangeRestoreSessionsRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|exclusionUnits:global.Microsoft.Graph.Beta.Solutions.BackupRestore.ExclusionUnits.ExclusionUnitsRequestBuilder @@ -293072,6 +297354,50 @@ Microsoft.Graph.Beta.Solutions.BackupRestore.Enable.enableRequestBuilder::|publi Microsoft.Graph.Beta.Solutions.BackupRestore.Enable.enableRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Solutions.BackupRestore.Enable.EnablePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ServiceStatus Microsoft.Graph.Beta.Solutions.BackupRestore.Enable.enableRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Solutions.BackupRestore.Enable.EnablePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Solutions.BackupRestore.Enable.enableRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.BackupRestore.Enable.EnableRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder.entraProtectionPoliciesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder.entraProtectionPoliciesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder.entraProtectionPoliciesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder.entraProtectionPoliciesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder.entraProtectionPoliciesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder.entraProtectionPoliciesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder.entraProtectionPoliciesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder.entraProtectionPoliciesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder.entraProtectionPoliciesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder.entraProtectionPoliciesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder::[EntraProtectionPolicyId:string]:global.Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Count.CountRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EntraProtectionPolicyCollectionResponse +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.EntraProtectionPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EntraProtectionPolicy +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.EntraProtectionPolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.entraProtectionPoliciesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.EntraProtectionPoliciesRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder.EntraProtectionPolicyItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder.EntraProtectionPolicyItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder.EntraProtectionPolicyItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder.EntraProtectionPolicyItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder.EntraProtectionPolicyItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EntraProtectionPolicy +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.EntraProtectionPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.EntraProtectionPolicy +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.EntraProtectionPolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Solutions.BackupRestore.EntraProtectionPolicies.Item.EntraProtectionPolicyItemRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.ExchangeProtectionPolicies.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Solutions.BackupRestore.ExchangeProtectionPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Solutions.BackupRestore.ExchangeProtectionPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -301310,7 +305636,9 @@ Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.HostedC Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody @@ -301339,7 +305667,9 @@ Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.UndoSof Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -301393,7 +305723,9 @@ Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.Replies.ReplyWithQuo Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.SetReaction.SetReactionPostRequestBody @@ -301422,7 +305754,9 @@ Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.UndoSoftDelete.undoS Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -301485,6 +305819,7 @@ Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.plannerRequestBuilder::|pu Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.plannerRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.plannerRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.plannerRequestBuilder::|public|plans:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.plannerRequestBuilder::|public|plans_v2:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.plannerRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.plannerRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.plannerRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner; requestConfiguration?:Action>):RequestInformation @@ -301829,6 +306164,13 @@ Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Details.details Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlanDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder.extendExpiryRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder.getUsageRightsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -301942,6 +306284,7 @@ Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.PlannerPlanItem Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|extendExpiry:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerPlan Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|getUsageRights:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|goals:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder @@ -302199,6 +306542,41 @@ Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.plansRequestBuilder: Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.plansRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.plansRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlan; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.plansRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Plan +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::[PlanId:string]:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlanCollectionResponse +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder.provisionEmailRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -303511,7 +307889,9 @@ Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.Hosted Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody @@ -303540,7 +307920,9 @@ Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.UndoSo Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -303594,7 +307976,9 @@ Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.Replies.ReplyWithQu Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.SetReaction.SetReactionPostRequestBody @@ -303623,7 +308007,9 @@ Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.UndoSoftDelete.undo Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -303686,6 +308072,7 @@ Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.plannerRequestBuilder::|p Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.plannerRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.plannerRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.plannerRequestBuilder::|public|plans:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.plannerRequestBuilder::|public|plans_v2:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.plannerRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.plannerRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.plannerRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner; requestConfiguration?:Action>):RequestInformation @@ -304030,6 +308417,13 @@ Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Details.detail Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlanDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder.extendExpiryRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder.getUsageRightsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -304143,6 +308537,7 @@ Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.PlannerPlanIte Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|extendExpiry:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerPlan Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|getUsageRights:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|goals:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder @@ -304400,6 +308795,41 @@ Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.plansRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.plansRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.plansRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlan; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.plansRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Plan +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::[PlanId:string]:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlanCollectionResponse +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -306380,7 +310810,9 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Me Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody @@ -306409,7 +310841,9 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Me Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -306463,7 +310897,9 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Me Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.SetReactionPostRequestBody @@ -306492,7 +310928,9 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Me Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -306555,6 +310993,7 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Pl Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.plannerRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.plannerRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.plannerRequestBuilder::|public|plans:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.plannerRequestBuilder::|public|plans_v2:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.plannerRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.plannerRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.plannerRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner; requestConfiguration?:Action>):RequestInformation @@ -306899,6 +311338,13 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Pl Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlanDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder.extendExpiryRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder.getUsageRightsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -307012,6 +311458,7 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Pl Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|extendExpiry:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerPlan Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|getUsageRights:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|goals:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder @@ -307269,6 +311716,41 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Pl Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.plansRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.plansRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlan; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.plansRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Plan +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::[PlanId:string]:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlanCollectionResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder.provisionEmailRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -308581,7 +313063,9 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.M Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody @@ -308610,7 +313094,9 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.M Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -308664,7 +313150,9 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.M Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.SetReactionPostRequestBody @@ -308693,7 +313181,9 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.M Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -308756,6 +313246,7 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.P Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.plannerRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.plannerRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.plannerRequestBuilder::|public|plans:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.plannerRequestBuilder::|public|plans_v2:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.plannerRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.plannerRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.plannerRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner; requestConfiguration?:Action>):RequestInformation @@ -309100,6 +313591,13 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.P Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlanDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder.extendExpiryRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder.getUsageRightsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -309213,6 +313711,7 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.P Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|extendExpiry:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerPlan Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|getUsageRights:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|goals:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder @@ -309470,6 +313969,41 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.P Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.plansRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.plansRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlan; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.plansRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Plan +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::[PlanId:string]:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlanCollectionResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -311464,7 +315998,9 @@ Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Repl Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody @@ -311493,7 +316029,9 @@ Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Repl Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -311547,7 +316085,9 @@ Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Repl Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.SetReaction.SetReactionPostRequestBody @@ -311576,7 +316116,9 @@ Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.Undo Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -311639,6 +316181,7 @@ Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.plannerReq Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.plannerRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.plannerRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.plannerRequestBuilder::|public|plans:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.plannerRequestBuilder::|public|plans_v2:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.plannerRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.plannerRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.plannerRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner; requestConfiguration?:Action>):RequestInformation @@ -311983,6 +316526,13 @@ Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlanDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder.extendExpiryRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder.getUsageRightsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -312096,6 +316646,7 @@ Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|extendExpiry:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerPlan Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|getUsageRights:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|goals:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder @@ -312353,6 +316904,41 @@ Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.plan Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.plansRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.plansRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlan; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.plansRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Plan +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::[PlanId:string]:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlanCollectionResponse +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder.provisionEmailRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -313746,7 +318332,9 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody @@ -313775,7 +318363,9 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -313829,7 +318419,9 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.SetReaction.SetReactionPostRequestBody @@ -313858,7 +318450,9 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -313921,6 +318515,7 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.plannerRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.plannerRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.plannerRequestBuilder::|public|plans:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.plannerRequestBuilder::|public|plans_v2:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.plannerRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.plannerRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.plannerRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner; requestConfiguration?:Action>):RequestInformation @@ -314265,6 +318860,13 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlanDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder.extendExpiryRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder.getUsageRightsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -314378,6 +318980,7 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|extendExpiry:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerPlan Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|getUsageRights:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|goals:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder @@ -314635,6 +319238,41 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.plansRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.plansRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlan; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.plansRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Plan +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::[PlanId:string]:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlanCollectionResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder.provisionEmailRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ProvisionEmail.provisionEmailRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -315947,7 +320585,9 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody @@ -315976,7 +320616,9 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -316030,7 +320672,9 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.SetReaction.SetReactionPostRequestBody @@ -316059,7 +320703,9 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -316122,6 +320768,7 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.plannerRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.plannerRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.plannerRequestBuilder::|public|plans:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.plannerRequestBuilder::|public|plans_v2:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.plannerRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.plannerRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.plannerRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.TeamsChannelPlanner; requestConfiguration?:Action>):RequestInformation @@ -316466,6 +321113,13 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlanDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder.extendExpiryRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder.getUsageRightsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -316579,6 +321233,7 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|extendExpiry:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerPlan Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|getUsageRights:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|goals:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder @@ -316836,6 +321491,41 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.plansRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.plansRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlan; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.plansRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Plan +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::[PlanId:string]:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlanCollectionResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.plans_v2RequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder.primaryChannelRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -327692,7 +332382,9 @@ Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.HostedCont Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody @@ -327721,7 +332413,9 @@ Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.UndoSoftDe Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -327775,7 +332469,9 @@ Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.Replies.ReplyWithQuote. Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.SetReaction.SetReactionPostRequestBody @@ -327804,7 +332500,9 @@ Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.UndoSoftDelete.undoSoft Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.Messages.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -328308,7 +333006,9 @@ Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.Ho Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.setReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.SetReaction.SetReactionPostRequestBody @@ -328337,7 +333037,9 @@ Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.Un Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|DisplayName:string Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionId:string Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|ReactionType:string Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.unsetReactionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Chats.Item.TargetedMessages.Item.Replies.Item.UnsetReaction.UnsetReactionPostRequestBody @@ -333799,6 +338501,67 @@ Microsoft.Graph.Beta.Users.Item.LicenseDetails.licenseDetailsRequestBuilder::|pu Microsoft.Graph.Beta.Users.Item.LicenseDetails.licenseDetailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.LicenseDetails.licenseDetailsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.LicenseDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.LicenseDetails.licenseDetailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.LicenseDetails.LicenseDetailsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder.complianceIssuesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::[ComplianceIssueId:string]:global.Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssueCollectionResponse +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.complianceIssuesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder.ComplianceIssueItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.ComplianceIssue +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.Item.ComplianceIssueItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder.effectiveGoverningPolicyRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder.effectiveGoverningPolicyRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder.effectiveGoverningPolicyRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.LifecyclePolicy +Microsoft.Graph.Beta.Users.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Lifecycle.EffectiveGoverningPolicy.effectiveGoverningPolicyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder +Microsoft.Graph.Beta.Users.Item.Lifecycle.lifecycleRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Lifecycle.lifecycleRequestBuilder.lifecycleRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|complianceIssues:global.Microsoft.Graph.Beta.Users.Item.Lifecycle.ComplianceIssues.ComplianceIssuesRequestBuilder +Microsoft.Graph.Beta.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|effectiveGoverningPolicy:global.Microsoft.Graph.Beta.Users.Item.Lifecycle.EffectiveGoverningPolicy.EffectiveGoverningPolicyRequestBuilder +Microsoft.Graph.Beta.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle +Microsoft.Graph.Beta.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle +Microsoft.Graph.Beta.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.IdentityGovernance.UserIdentityLifecycle; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Lifecycle.lifecycleRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Lifecycle.LifecycleRequestBuilder Microsoft.Graph.Beta.Users.Item.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] Microsoft.Graph.Beta.Users.Item.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] @@ -333912,6 +338675,13 @@ Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Copy.copyRequ Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Copy.copyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Copy.CopyRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder.importMimeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Message +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.importMimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -333924,6 +338694,7 @@ Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderIte Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|copy:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Copy.CopyRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|importMime:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.ImportMime.ImportMimeRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|messageRules:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MessageRules.MessageRulesRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.MailFolderItemRequestBuilder::|public|move:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ChildFolders.Item.Move.MoveRequestBuilder @@ -334540,6 +339311,13 @@ Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Copy.copyRequestBuilder::|publi Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Copy.copyRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Copy.copyRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Copy.CopyPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Copy.copyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Copy.CopyRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ImportMime.importMimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ImportMime.importMimeRequestBuilder.importMimeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Message +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ImportMime.importMimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ImportMime.ImportMimeRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder.MailFolderItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -334553,6 +339331,7 @@ Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::| Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|copy:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Copy.CopyRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailFolder +Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|importMime:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.ImportMime.ImportMimeRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|messageRules:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MessageRules.MessageRulesRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Messages.MessagesRequestBuilder Microsoft.Graph.Beta.Users.Item.MailFolders.Item.MailFolderItemRequestBuilder::|public|move:global.Microsoft.Graph.Beta.Users.Item.MailFolders.Item.Move.MoveRequestBuilder @@ -337163,6 +341942,27 @@ Microsoft.Graph.Beta.Users.Item.Messages.messagesRequestBuilder::|public|PostAsy Microsoft.Graph.Beta.Users.Item.Messages.messagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Messages.messagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Message; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Messages.messagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Messages.MessagesRequestBuilder +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.microsoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder.microsoftGraphIdentityGovernanceAttestRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAttest.microsoftGraphIdentityGovernanceAttestRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.microsoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder Microsoft.Graph.Beta.Users.Item.MobileAppIntentAndStates.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.MobileAppIntentAndStates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Users.Item.MobileAppIntentAndStates.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -342124,9 +346924,11 @@ Microsoft.Graph.Beta.Users.Item.Planner.plannerRequestBuilder::|public|GetAsync( Microsoft.Graph.Beta.Users.Item.Planner.plannerRequestBuilder::|public|myDayTasks:global.Microsoft.Graph.Beta.Users.Item.Planner.MyDayTasks.MyDayTasksRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.plannerRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.PlannerUser; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerUser Microsoft.Graph.Beta.Users.Item.Planner.plannerRequestBuilder::|public|plans:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.plannerRequestBuilder::|public|plans_v2:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.plannerRequestBuilder::|public|recentPlans:global.Microsoft.Graph.Beta.Users.Item.Planner.RecentPlans.RecentPlansRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.plannerRequestBuilder::|public|rosterPlans:global.Microsoft.Graph.Beta.Users.Item.Planner.RosterPlans.RosterPlansRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.plannerRequestBuilder::|public|tasks:global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.TasksRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.plannerRequestBuilder::|public|tasks_v2:global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Tasks_v2RequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.plannerRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Planner.plannerRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Planner.plannerRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerUser; requestConfiguration?:Action>):RequestInformation @@ -342471,6 +347273,13 @@ Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Details.detailsRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlanDetails; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Details.detailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder.extendExpiryRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.ExtendExpiry.extendExpiryRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder.getUsageRightsRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.GetUsageRights.getUsageRightsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -342584,6 +347393,7 @@ Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|details:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Details.DetailsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|extendExpiry:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlannerPlan Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|getUsageRights:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.PlannerPlanItemRequestBuilder::|public|goals:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder @@ -342841,6 +347651,41 @@ Microsoft.Graph.Beta.Users.Item.Planner.Plans.plansRequestBuilder::|public|PostA Microsoft.Graph.Beta.Users.Item.Planner.Plans.plansRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Planner.Plans.plansRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerPlan; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Planner.Plans.plansRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans.PlansRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder.PlanItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Plan +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.plans_v2RequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.plans_v2RequestBuilder.plans_v2RequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.plans_v2RequestBuilder::[PlanId:string]:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.PlanCollectionResponse +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.plans_v2RequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Plans_v2.Plans_v2RequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.RecentPlans.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.Planner.RecentPlans.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Users.Item.Planner.RecentPlans.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -343120,6 +347965,41 @@ Microsoft.Graph.Beta.Users.Item.Planner.Tasks.tasksRequestBuilder::|public|PostA Microsoft.Graph.Beta.Users.Item.Planner.Tasks.tasksRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Planner.Tasks.tasksRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.PlannerTask; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Planner.Tasks.tasksRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks.TasksRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Item.TaskItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Item.TaskItemRequestBuilder.TaskItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Item.TaskItemRequestBuilder.TaskItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Item.TaskItemRequestBuilder.TaskItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TaskObject +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Item.TaskItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Item.TaskItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.tasks_v2RequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.tasks_v2RequestBuilder.tasks_v2RequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.tasks_v2RequestBuilder::[TaskId:string]:global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Item.TaskItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.TaskCollectionResponse +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.tasks_v2RequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Planner.Tasks_v2.Tasks_v2RequestBuilder Microsoft.Graph.Beta.Users.Item.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder.clearAutomaticLocationRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.Users.Item.Presence.ClearAutomaticLocation.clearAutomaticLocationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -346366,6 +351246,7 @@ Microsoft.Graph.Beta.Users.Item.UserItemRequestBuilder::|public|isManagedAppUser Microsoft.Graph.Beta.Users.Item.UserItemRequestBuilder::|public|joinedGroups:global.Microsoft.Graph.Beta.Users.Item.JoinedGroups.JoinedGroupsRequestBuilder Microsoft.Graph.Beta.Users.Item.UserItemRequestBuilder::|public|joinedTeams:global.Microsoft.Graph.Beta.Users.Item.JoinedTeams.JoinedTeamsRequestBuilder Microsoft.Graph.Beta.Users.Item.UserItemRequestBuilder::|public|licenseDetails:global.Microsoft.Graph.Beta.Users.Item.LicenseDetails.LicenseDetailsRequestBuilder +Microsoft.Graph.Beta.Users.Item.UserItemRequestBuilder::|public|lifecycle:global.Microsoft.Graph.Beta.Users.Item.Lifecycle.LifecycleRequestBuilder Microsoft.Graph.Beta.Users.Item.UserItemRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Beta.Users.Item.MailboxSettings.MailboxSettingsRequestBuilder Microsoft.Graph.Beta.Users.Item.UserItemRequestBuilder::|public|mailFolders:global.Microsoft.Graph.Beta.Users.Item.MailFolders.MailFoldersRequestBuilder Microsoft.Graph.Beta.Users.Item.UserItemRequestBuilder::|public|managedAppLogCollectionRequests:global.Microsoft.Graph.Beta.Users.Item.ManagedAppLogCollectionRequests.ManagedAppLogCollectionRequestsRequestBuilder @@ -346374,6 +351255,9 @@ Microsoft.Graph.Beta.Users.Item.UserItemRequestBuilder::|public|managedDevices:g Microsoft.Graph.Beta.Users.Item.UserItemRequestBuilder::|public|manager:global.Microsoft.Graph.Beta.Users.Item.Manager.ManagerRequestBuilder Microsoft.Graph.Beta.Users.Item.UserItemRequestBuilder::|public|memberOf:global.Microsoft.Graph.Beta.Users.Item.MemberOf.MemberOfRequestBuilder Microsoft.Graph.Beta.Users.Item.UserItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Users.Item.Messages.MessagesRequestBuilder +Microsoft.Graph.Beta.Users.Item.UserItemRequestBuilder::|public|microsoftGraphIdentityGovernanceAddSelfAsSponsor:global.Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAddSelfAsSponsor.MicrosoftGraphIdentityGovernanceAddSelfAsSponsorRequestBuilder +Microsoft.Graph.Beta.Users.Item.UserItemRequestBuilder::|public|microsoftGraphIdentityGovernanceAttest:global.Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceAttest.MicrosoftGraphIdentityGovernanceAttestRequestBuilder +Microsoft.Graph.Beta.Users.Item.UserItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRemoveSelfAsSponsor:global.Microsoft.Graph.Beta.Users.Item.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsor.MicrosoftGraphIdentityGovernanceRemoveSelfAsSponsorRequestBuilder Microsoft.Graph.Beta.Users.Item.UserItemRequestBuilder::|public|mobileAppIntentAndStates:global.Microsoft.Graph.Beta.Users.Item.MobileAppIntentAndStates.MobileAppIntentAndStatesRequestBuilder Microsoft.Graph.Beta.Users.Item.UserItemRequestBuilder::|public|mobileAppTroubleshootingEvents:global.Microsoft.Graph.Beta.Users.Item.MobileAppTroubleshootingEvents.MobileAppTroubleshootingEventsRequestBuilder Microsoft.Graph.Beta.Users.Item.UserItemRequestBuilder::|public|notifications:global.Microsoft.Graph.Beta.Users.Item.Notifications.NotificationsRequestBuilder diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index c07bbc8bf854..9bb435ae095f 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "BFC4F70244B83270C51238018D9B0EEC3218DF0041376FAFAA4ADFE6F2668DA0892365930A40198DA35ED297C1E9ACAC3A4FD4195FB6466D1DD28E122D6F063B", + "descriptionHash": "AB79CF26D018D9B424196BA068BD180C6041DB0563D82B86BDBF8AA922753D906DFD9ABCB3AF2F044C5E12B903305D55C9BCB24D11217D3A202797D1D274FBDB", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.35.0", + "kiotaVersion": "1.36.1", "clientClassName": "BaseGraphServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "Microsoft.Graph.Beta",