From 21088d5c0c7b0ad1bd983221326a14de7ebc072c Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Thu, 2 Jul 2026 19:39:42 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 225467 --- .../IncidentReportRequestBuilder.cs | 4 +- .../IncidentReportRequestBuilder.cs | 4 +- .../ServiceHealthIssueItemRequestBuilder.cs | 6 +- .../ServiceUpdateMessageItemRequestBuilder.cs | 6 +- .../AcquireAccessTokenRequestBuilder.cs | 4 +- .../Jobs/Item/Pause/PauseRequestBuilder.cs | 4 +- .../ProvisionOnDemandRequestBuilder.cs | 4 +- .../Item/Restart/RestartRequestBuilder.cs | 4 +- .../Item/Discover/DiscoverRequestBuilder.cs | 4 +- .../FilterOperatorsRequestBuilder.cs | 8 +- .../Functions/FunctionsRequestBuilder.cs | 8 +- .../ParseExpressionRequestBuilder.cs | 4 +- .../Jobs/Item/Start/StartRequestBuilder.cs | 4 +- .../ValidateCredentialsRequestBuilder.cs | 4 +- .../Item/Discover/DiscoverRequestBuilder.cs | 4 +- .../FilterOperatorsRequestBuilder.cs | 8 +- .../Functions/FunctionsRequestBuilder.cs | 8 +- .../ParseExpressionRequestBuilder.cs | 4 +- ...nchronizationTemplateItemRequestBuilder.cs | 4 +- .../Item/KeepAlive/KeepAliveRequestBuilder.cs | 4 +- .../Calls/Item/Reject/RejectRequestBuilder.cs | 4 +- ...RowOperationResultWithKeyRequestBuilder.cs | 4 +- .../AcceptedSendersRequestBuilder.cs | 6 +- .../AcceptedSenders/Ref/RefRequestBuilder.cs | 6 +- .../Item/Usage/UsageRequestBuilder.cs | 4 +- .../AccessPackageSuggestionsRequestBuilder.cs | 249 ++++ .../Count/CountRequestBuilder.cs | 124 ++ .../FilterByCurrentUserWithOnGetResponse.cs | 65 + ...FilterByCurrentUserWithOnRequestBuilder.cs | 191 +++ .../FilterByCurrentUserWithOnResponse.cs | 28 + .../AccessPackageRequestBuilder.cs | 125 ++ ...cessPackageSuggestionItemRequestBuilder.cs | 235 ++++ .../AvailableAccessPackagesRequestBuilder.cs | 238 ++++ .../Count/CountRequestBuilder.cs | 124 ++ ...vailableAccessPackageItemRequestBuilder.cs | 235 ++++ .../Count/CountRequestBuilder.cs | 124 ++ ...kageResourceRoleScopeItemRequestBuilder.cs | 125 ++ .../ResourceRoleScopesRequestBuilder.cs | 184 +++ .../ControlConfigurationsRequestBuilder.cs | 238 ++++ .../Count/CountRequestBuilder.cs | 124 ++ .../ControlConfigurationItemRequestBuilder.cs | 229 ++++ .../EntitlementManagementRequestBuilder.cs | 18 + .../AccessPackageSubjectItemRequestBuilder.cs | 5 +- .../Subjects/SubjectsRequestBuilder.cs | 7 +- .../SubjectsWithObjectIdRequestBuilder.cs | 5 +- ...GovernanceClearQuarantineRequestBuilder.cs | 99 ++ ...rnancePreviewTaskFailuresRequestBuilder.cs | 123 ++ .../PreviewTaskFailuresPostResponse.cs | 66 + .../PreviewTaskFailuresResponse.cs | 28 + ...GovernancePreviewWorkflowRequestBuilder.cs | 102 ++ .../PreviewWorkflowPostRequestBody.cs | 82 ++ .../PreviewScope/Count/CountRequestBuilder.cs | 124 ++ .../Item/DirectoryObjectItemRequestBuilder.cs | 125 ++ .../PreviewScopeRequestBuilder.cs | 183 +++ .../Item/WorkflowItemRequestBuilder.cs | 24 + ...rtDateTimeWithEndDateTimeRequestBuilder.cs | 4 +- ...GovernanceClearQuarantineRequestBuilder.cs | 99 ++ ...rnancePreviewTaskFailuresRequestBuilder.cs | 123 ++ .../PreviewTaskFailuresPostResponse.cs | 66 + .../PreviewTaskFailuresResponse.cs | 28 + ...GovernancePreviewWorkflowRequestBuilder.cs | 102 ++ .../PreviewWorkflowPostRequestBody.cs | 82 ++ .../PreviewScope/Count/CountRequestBuilder.cs | 124 ++ .../Item/DirectoryObjectItemRequestBuilder.cs | 125 ++ .../PreviewScopeRequestBuilder.cs | 183 +++ .../Item/WorkflowItemRequestBuilder.cs | 24 + .../RecoveryKeysRequestBuilder.cs | 6 +- .../Overrides/OverridesRequestBuilder.cs | 6 +- .../ChildFoldersRequestBuilder.cs | 6 +- .../MailFolders/MailFoldersRequestBuilder.cs | 6 +- .../Generated/Models/AccessEntityType.cs | 24 + .../Models/AccessPackageApprovalStage.cs | 12 +- .../Models/AccessPackageResourceRole.cs | 10 +- .../Models/AccessPackageResourceScope.cs | 4 +- .../Models/AccessPackageSuggestion.cs | 82 ++ ...cessPackageSuggestionCollectionResponse.cs | 64 + .../Models/AccessPackageSuggestionReason.cs | 87 ++ ...cessPackageSuggestionRelatedPeopleBased.cs | 79 ++ ...kageSuggestionRelatedPeopleInsightLevel.cs | 28 + ...ageSuggestionSelfAssignmentHistoryBased.cs | 69 + .../Generated/Models/AllDomains.cs | 53 + .../Models/ApproverInformationVisibility.cs | 28 + .../Models/AvailableAccessPackage.cs | 100 ++ ...vailableAccessPackageCollectionResponse.cs | 64 + .../Models/AzureActiveDirectoryTenant.cs | 4 +- .../Generated/Models/BackupRestoreRoot.cs | 18 + .../Generated/Models/Channel.cs | 2 +- .../Generated/Models/ChatMessage.cs | 6 +- .../Models/ConditionalAccessPolicy.cs | 4 +- .../Generated/Models/ControlConfiguration.cs | 111 ++ .../ControlConfigurationCollectionResponse.cs | 64 + .../Generated/Models/CopilotAdmin.cs | 18 + .../Generated/Models/CopilotAdminCatalog.cs | 64 + .../Generated/Models/CopilotPackage.cs | 325 +++++ .../Generated/Models/CopilotPackageDetail.cs | 154 +++ .../CrossCloudAzureActiveDirectoryTenant.cs | 6 +- .../Models/DelegatedAdminRelationship.cs | 2 +- .../Generated/Models/DirectoryObject.cs | 1 + .../Generated/Models/DirectoryRole.cs | 2 +- .../Generated/Models/DomainIdentitySource.cs | 4 +- .../Models/EmailNotificationsSetting.cs | 80 ++ .../Generated/Models/EndUserSettings.cs | 69 + .../Generated/Models/EntitlementManagement.cs | 54 + .../Generated/Models/Entity.cs | 11 + .../Generated/Models/EnumeratedDomains.cs | 71 ++ .../Models/ExternalConnectors/Label.cs | 4 + .../Models/ExternalDomainFederation.cs | 6 +- .../Models/FederatedTokenValidationPolicy.cs | 71 ++ src/Microsoft.Graph/Generated/Models/Group.cs | 52 +- .../Generated/Models/GroupAccessType.cs | 32 + .../CountBasedQuarantineCondition.cs | 61 + .../LifecycleManagementSettings.cs | 18 + .../LifecycleWorkflowProcessingStatus.cs | 4 + .../Models/IdentityGovernance/MatchMode.cs | 24 + .../PercentageBasedQuarantineCondition.cs | 61 + .../IdentityGovernance/PreviewFailedTask.cs | 153 +++ .../IdentityGovernance/QuarantineCondition.cs | 87 ++ .../QuarantineConfiguration.cs | 107 ++ .../IdentityGovernance/QuarantineDetails.cs | 115 ++ .../IdentityGovernance/QuarantineType.cs | 32 + .../Models/IdentityGovernance/Workflow.cs | 54 + .../WorkflowExecutionType.cs | 4 + .../IdentityGovernance/WorkflowSetting.cs | 99 ++ .../IdentityGovernance/WorkflowVersion.cs | 18 + .../Models/NotificationEventsType.cs | 25 + .../Models/NotificationRecipients.cs | 107 ++ .../Models/NotificationRecipientsType.cs | 37 + ...PremisesDirectorySynchronizationFeature.cs | 2 +- .../Generated/Models/PackageAccessEntity.cs | 107 ++ .../Generated/Models/PackageElement.cs | 117 ++ .../Generated/Models/PackageElementDetail.cs | 117 ++ .../Generated/Models/PackageStatus.cs | 28 + .../Generated/Models/PackageType.cs | 32 + .../Generated/Models/PolicyRoot.cs | 18 + .../Generated/Models/ProfileCardProperty.cs | 8 + .../Generated/Models/Reminder.cs | 2 +- .../Generated/Models/RoleType.cs | 32 + .../Generated/Models/RootDomains.cs | 40 + .../Generated/Models/Schedule.cs | 2 +- .../Models/Security/AdditionalDataOptions.cs | 4 + .../Models/Security/AnalyzedEmail.cs | 682 ++++++++++ .../Security/AnalyzedEmailAttachment.cs | 223 ++++ .../AnalyzedEmailAuthenticationDetail.cs | 153 +++ .../AnalyzedEmailCollectionResponse.cs | 64 + .../Security/AnalyzedEmailDeliveryDetail.cs | 133 ++ .../Security/AnalyzedEmailDlpRuleInfo.cs | 117 ++ .../AnalyzedEmailExchangeTransportRuleInfo.cs | 117 ++ .../Security/AnalyzedEmailRecipientDetail.cs | 117 ++ .../Security/AnalyzedEmailSenderDetail.cs | 233 ++++ .../Models/Security/AnalyzedEmailUrl.cs | 161 +++ .../Models/Security/AntispamDirectionality.cs | 32 + .../Models/Security/CollaborationRoot.cs | 64 + .../Models/Security/CompromiseIndicator.cs | 107 ++ .../Models/Security/DeliveryAction.cs | 36 + .../Models/Security/DeliveryLocation.cs | 52 + .../Security/DetonationBehaviourDetails.cs | 233 ++++ .../Models/Security/DetonationChain.cs | 117 ++ .../Models/Security/DetonationDetails.cs | 305 +++++ .../Models/Security/DetonationObservables.cs | 135 ++ .../EdiscoveryAddToReviewSetOperation.cs | 2 +- .../Generated/Models/Security/EventSource.cs | 28 + .../Models/Security/MergeResponse.cs | 2 +- .../Models/Security/RemediationAction.cs | 40 + .../Models/Security/RemediationSeverity.cs | 28 + .../Generated/Models/Security/Security.cs | 18 + .../Models/Security/ServiceSource.cs | 4 + .../Models/Security/ThreatDetectionDetail.cs | 135 ++ .../Generated/Models/Security/ThreatType.cs | 36 + .../Models/Security/TimelineEvent.cs | 159 +++ .../Models/Security/TimelineEventType.cs | 52 + .../Generated/Models/Security/UserAccount.cs | 2 +- .../Models/Security/VerdictCategory.cs | 52 + .../Generated/Models/ServiceAnnouncement.cs | 6 +- .../Generated/Models/SharedInsight.cs | 2 +- src/Microsoft.Graph/Generated/Models/User.cs | 14 +- .../Generated/Models/ValidatingDomains.cs | 95 ++ .../Item/Usage/UsageRequestBuilder.cs | 4 +- ...atedTokenValidationPolicyRequestBuilder.cs | 229 ++++ .../Policies/PoliciesRequestBuilder.cs | 6 + .../Item/SchemaExtensionItemRequestBuilder.cs | 4 +- ...ftGraphSecurityMoveAlertsRequestBuilder.cs | 4 +- .../Item/SimulationItemRequestBuilder.cs | 4 +- .../AnalyzedEmailsRequestBuilder.cs | 245 ++++ .../Count/CountRequestBuilder.cs | 124 ++ .../Item/AnalyzedEmailItemRequestBuilder.cs | 230 ++++ ...oftGraphSecurityRemediateRequestBuilder.cs | 101 ++ .../RemediatePostRequestBody.cs | 143 +++ .../CollaborationRequestBuilder.cs | 235 ++++ ...aphSecurityMergeIncidentsRequestBuilder.cs | 4 +- .../Item/RetentionLabelItemRequestBuilder.cs | 7 +- .../Security/SecurityRequestBuilder.cs | 6 + .../AcquireAccessTokenRequestBuilder.cs | 4 +- .../Jobs/Item/Pause/PauseRequestBuilder.cs | 4 +- .../ProvisionOnDemandRequestBuilder.cs | 4 +- .../Item/Restart/RestartRequestBuilder.cs | 4 +- .../Item/Discover/DiscoverRequestBuilder.cs | 4 +- .../FilterOperatorsRequestBuilder.cs | 8 +- .../Functions/FunctionsRequestBuilder.cs | 8 +- .../ParseExpressionRequestBuilder.cs | 4 +- .../Jobs/Item/Schema/SchemaRequestBuilder.cs | 10 +- .../Jobs/Item/Start/StartRequestBuilder.cs | 4 +- .../SynchronizationJobItemRequestBuilder.cs | 10 +- .../ValidateCredentialsRequestBuilder.cs | 4 +- .../Jobs/JobsRequestBuilder.cs | 10 +- .../Secrets/SecretsRequestBuilder.cs | 6 +- .../Item/Discover/DiscoverRequestBuilder.cs | 4 +- .../FilterOperatorsRequestBuilder.cs | 8 +- .../Functions/FunctionsRequestBuilder.cs | 8 +- .../ParseExpressionRequestBuilder.cs | 4 +- .../Templates/TemplatesRequestBuilder.cs | 6 +- .../BackupRestoreRequestBuilder.cs | 6 + ...EmailNotificationsSettingRequestBuilder.cs | 231 ++++ .../BookingBusinessesRequestBuilder.cs | 6 +- .../AllowedMembersRequestBuilder.cs | 6 +- .../Item/SchedulingGroupItemRequestBuilder.cs | 4 +- .../Transcripts/TranscriptsRequestBuilder.cs | 6 +- .../Generated/kiota-dom-export.txt | 1113 +++++++++++++++++ src/Microsoft.Graph/Generated/kiota-lock.json | 4 +- 218 files changed, 14576 insertions(+), 207 deletions(-) create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/AccessPackageSuggestionsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnResponse.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/Item/AccessPackage/AccessPackageRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/Item/AccessPackageSuggestionItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/AvailableAccessPackagesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/Item/AvailableAccessPackageItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/Item/ResourceRoleScopes/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/Item/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ControlConfigurations/ControlConfigurationsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ControlConfigurations/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ControlConfigurations/Item/ControlConfigurationItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceClearQuarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresPostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresResponse.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/PreviewWorkflowPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/Item/DirectoryObjectItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/PreviewScopeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceClearQuarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresPostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresResponse.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/PreviewWorkflowPostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/Item/DirectoryObjectItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/PreviewScopeRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AccessEntityType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AccessPackageSuggestion.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AccessPackageSuggestionCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AccessPackageSuggestionReason.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AccessPackageSuggestionRelatedPeopleBased.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AccessPackageSuggestionRelatedPeopleInsightLevel.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AccessPackageSuggestionSelfAssignmentHistoryBased.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AllDomains.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ApproverInformationVisibility.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AvailableAccessPackage.cs create mode 100644 src/Microsoft.Graph/Generated/Models/AvailableAccessPackageCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ControlConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ControlConfigurationCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CopilotAdminCatalog.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CopilotPackage.cs create mode 100644 src/Microsoft.Graph/Generated/Models/CopilotPackageDetail.cs create mode 100644 src/Microsoft.Graph/Generated/Models/EmailNotificationsSetting.cs create mode 100644 src/Microsoft.Graph/Generated/Models/EndUserSettings.cs create mode 100644 src/Microsoft.Graph/Generated/Models/EnumeratedDomains.cs create mode 100644 src/Microsoft.Graph/Generated/Models/FederatedTokenValidationPolicy.cs create mode 100644 src/Microsoft.Graph/Generated/Models/GroupAccessType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/CountBasedQuarantineCondition.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/MatchMode.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/PercentageBasedQuarantineCondition.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/PreviewFailedTask.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/QuarantineCondition.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/QuarantineConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/QuarantineDetails.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/QuarantineType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowSetting.cs create mode 100644 src/Microsoft.Graph/Generated/Models/NotificationEventsType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/NotificationRecipients.cs create mode 100644 src/Microsoft.Graph/Generated/Models/NotificationRecipientsType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PackageAccessEntity.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PackageElement.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PackageElementDetail.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PackageStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/PackageType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/RoleType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/RootDomains.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmail.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailAttachment.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailAuthenticationDetail.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailDeliveryDetail.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailDlpRuleInfo.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailExchangeTransportRuleInfo.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailRecipientDetail.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailSenderDetail.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailUrl.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/AntispamDirectionality.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/CollaborationRoot.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/CompromiseIndicator.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/DeliveryAction.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/DeliveryLocation.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/DetonationBehaviourDetails.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/DetonationChain.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/DetonationDetails.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/DetonationObservables.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/EventSource.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/RemediationAction.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/RemediationSeverity.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/ThreatDetectionDetail.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/ThreatType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/TimelineEvent.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/TimelineEventType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/Security/VerdictCategory.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ValidatingDomains.cs create mode 100644 src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/AnalyzedEmailsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/Item/AnalyzedEmailItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/MicrosoftGraphSecurityRemediate/MicrosoftGraphSecurityRemediateRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/MicrosoftGraphSecurityRemediate/RemediatePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Security/Collaboration/CollaborationRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/EmailNotificationsSetting/EmailNotificationsSettingRequestBuilder.cs diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs index 5f259b7b8f6..7eefc819979 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs @@ -34,7 +34,7 @@ public IncidentReportRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. + /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. + /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs index cee0be0f539..ddb8837f09f 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs @@ -34,7 +34,7 @@ public IncidentReportRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. + /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue. + /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs index 6ae4ab02370..5a42da4a665 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. + /// Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant. /// Find more info here /// /// A @@ -131,7 +131,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. + /// Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -189,7 +189,7 @@ public partial class ServiceHealthIssueItemRequestBuilderDeleteRequestConfigurat { } /// - /// Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. + /// Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ServiceHealthIssueItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.cs index a4a3e8a87f9..15e0f794f8a 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. + /// Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant. /// Find more info here /// /// A @@ -137,7 +137,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. + /// Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -195,7 +195,7 @@ public partial class ServiceUpdateMessageItemRequestBuilderDeleteRequestConfigur { } /// - /// Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. + /// Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ServiceUpdateMessageItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs index 1d293afd08b..d839b8706c1 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs @@ -34,7 +34,7 @@ public AcquireAccessTokenRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Acquire an OAuth access token to authorize the Microsoft Entra provisioning service to provision users into an application. + /// Acquire an OAuth access token from the synchronization resource to authorize the Microsoft Entra provisioning service to provision users into an application. /// Find more info here /// /// The request body @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Applications.Item.Synchroniz await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Acquire an OAuth access token to authorize the Microsoft Entra provisioning service to provision users into an application. + /// Acquire an OAuth access token from the synchronization resource to authorize the Microsoft Entra provisioning service to provision users into an application. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs index 93db2c052d0..f45cce57aaa 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs @@ -34,7 +34,7 @@ public PauseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. + /// Temporarily stop a running synchronizationJob. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -57,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. + /// Temporarily stop a running synchronizationJob. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs index ab8c897ef0b..acf2b7fce1b 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs @@ -35,7 +35,7 @@ public ProvisionOnDemandRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. + /// Select a user and provision the account on-demand for a synchronizationJob. The rate limit for this API is 5 requests per 10 seconds. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public ProvisionOnDemandRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.StringKeyStringValuePair.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. + /// Select a user and provision the account on-demand for a synchronizationJob. The rate limit for this API is 5 requests per 10 seconds. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs index 51203fb53e6..0a1539df942 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs @@ -34,7 +34,7 @@ public RestartRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. + /// Restart a stopped synchronizationJob, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. /// Find more info here /// /// The request body @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Applications.Item.Synchroniz await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. + /// Restart a stopped synchronizationJob, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs index 9f1297e24f9..1ed650066c8 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs @@ -35,7 +35,7 @@ public DiscoverRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Discover the latest schema definition for provisioning to an application. + /// Discover the latest schema definition for provisioning to an application for the directoryDefinition. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public DiscoverRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Discover the latest schema definition for provisioning to an application. + /// Discover the latest schema definition for provisioning to an application for the directoryDefinition. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs index accdff2205e..a876a400f09 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs @@ -34,7 +34,7 @@ public FilterOperatorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// List all operators supported in the scoping filters. + /// List all operators supported in the scoping filters for a synchronizationSchema. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public FilterOperatorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.Item.Synchronization.Jobs.Item.Schema.FilterOperators.FilterOperatorsGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all operators supported in the scoping filters. + /// List all operators supported in the scoping filters for a synchronizationSchema. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public FilterOperatorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.Item.Synchronization.Jobs.Item.Schema.FilterOperators.FilterOperatorsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all operators supported in the scoping filters. + /// List all operators supported in the scoping filters for a synchronizationSchema. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// List all operators supported in the scoping filters. + /// List all operators supported in the scoping filters for a synchronizationSchema. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FilterOperatorsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs index bf211ed8331..2088b98dd44 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs @@ -34,7 +34,7 @@ public FunctionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// List all the functions currently supported in the attributeMappingSource. + /// List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public FunctionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.Item.Synchronization.Jobs.Item.Schema.Functions.FunctionsGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all the functions currently supported in the attributeMappingSource. + /// List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public FunctionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.Item.Synchronization.Jobs.Item.Schema.Functions.FunctionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all the functions currently supported in the attributeMappingSource. + /// List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// List all the functions currently supported in the attributeMappingSource. + /// List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FunctionsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs index 1efd68ee171..29fbfb28e71 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs @@ -35,7 +35,7 @@ public ParseExpressionRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. + /// Parse a given string expression into an attributeMappingSource object for a synchronizationSchema. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public ParseExpressionRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ParseExpressionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. + /// Parse a given string expression into an attributeMappingSource object for a synchronizationSchema. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs index 50a607d548a..e82bbdda55f 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs @@ -34,7 +34,7 @@ public StartRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. + /// Start an existing synchronizationJob. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -57,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. + /// Start an existing synchronizationJob. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs index 0f9a6c7306a..0a9cc95ba76 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs @@ -34,7 +34,7 @@ public ValidateCredentialsRequestBuilder(string rawUrl, IRequestAdapter requestA { } /// - /// Validate that the credentials are valid in the tenant. + /// Validate that the credentials are valid in the tenant for a synchronizationJob. /// Find more info here /// /// The request body @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Applications.Item.Synchroniz await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Validate that the credentials are valid in the tenant. + /// Validate that the credentials are valid in the tenant for a synchronizationJob. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs index fc482aed93d..747c61ed3ef 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs @@ -35,7 +35,7 @@ public DiscoverRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Discover the latest schema definition for provisioning to an application. + /// Discover the latest schema definition for provisioning to an application for the directoryDefinition. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public DiscoverRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Discover the latest schema definition for provisioning to an application. + /// Discover the latest schema definition for provisioning to an application for the directoryDefinition. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs index a31584b147c..a23a12a8a9f 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs @@ -34,7 +34,7 @@ public FilterOperatorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// List all operators supported in the scoping filters. + /// List all operators supported in the scoping filters for a synchronizationSchema. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public FilterOperatorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.Item.Synchronization.Templates.Item.Schema.FilterOperators.FilterOperatorsGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all operators supported in the scoping filters. + /// List all operators supported in the scoping filters for a synchronizationSchema. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public FilterOperatorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.Item.Synchronization.Templates.Item.Schema.FilterOperators.FilterOperatorsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all operators supported in the scoping filters. + /// List all operators supported in the scoping filters for a synchronizationSchema. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// List all operators supported in the scoping filters. + /// List all operators supported in the scoping filters for a synchronizationSchema. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FilterOperatorsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs index 7b13b76040a..da66b57c467 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs @@ -34,7 +34,7 @@ public FunctionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// List all the functions currently supported in the attributeMappingSource. + /// List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public FunctionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.Item.Synchronization.Templates.Item.Schema.Functions.FunctionsGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all the functions currently supported in the attributeMappingSource. + /// List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public FunctionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Applications.Item.Synchronization.Templates.Item.Schema.Functions.FunctionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all the functions currently supported in the attributeMappingSource. + /// List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// List all the functions currently supported in the attributeMappingSource. + /// List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FunctionsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs index cd1509f5421..70f584a6a4a 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs @@ -35,7 +35,7 @@ public ParseExpressionRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. + /// Parse a given string expression into an attributeMappingSource object for a synchronizationSchema. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public ParseExpressionRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ParseExpressionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. + /// Parse a given string expression into an attributeMappingSource object for a synchronizationSchema. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.cs index 32dd1afe321..80e2134ad36 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.cs @@ -86,7 +86,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.SynchronizationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update (override) the synchronization template associated with a given application. + /// Update (override) the synchronizationTemplate associated with a given application. /// Find more info here /// /// A @@ -150,7 +150,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update (override) the synchronization template associated with a given application. + /// Update (override) the synchronizationTemplate associated with a given application. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.cs index a21ce410c7e..f7eda06b913 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.cs @@ -34,7 +34,7 @@ public KeepAliveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. + /// Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that doesn't receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -57,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. + /// Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that doesn't receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Reject/RejectRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Reject/RejectRequestBuilder.cs index c8d96f194ba..04958a89a16 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Reject/RejectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Reject/RejectRequestBuilder.cs @@ -34,7 +34,7 @@ public RejectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas { } /// - /// Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. + /// Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API doesn't end existing calls that have already been answered. Use delete call to end a call. /// Find more info here /// /// The request body @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Communications.Calls.Item.Re await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. + /// Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API doesn't end existing calls that have already been answered. Use delete call to end a call. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.cs index 9c07fd3383b..853384ace29 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.cs @@ -37,7 +37,7 @@ public TableRowOperationResultWithKeyRequestBuilder(string rawUrl, IRequestAdapt { } /// - /// This function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function does not do anything if called independently. + /// This function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function doesn't do anything if called independently. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public TableRowOperationResultWithKeyRequestBuilder(string rawUrl, IRequestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// This function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function does not do anything if called independently. + /// This function is the last in a series of steps to create a workbookTableRow resource asynchronously. A best practice to create multiple table rows is to batch them in one create tableRow operation and carry out the operation asynchronously. An asynchronous request to create table rows involves the following steps:1. Issue an async Create tableRow request and get the query URL returned in the Location response header.2. Use the query URL returned from step 1 to issue the Get workbookOperation request and get the operation ID for step 3. Alternatively, for convenience, after you get a succeeded operationStatus result, you can get the query URL from the resourceLocation property of the workbookOperation returned in the response, and apply the query URL to step 3. 3. Use the query URL returned from step 2 as the GET request URL for this function tableRowOperationResult. A successful function call returns the new table rows in a workbookTableRow resource. This function doesn't do anything if called independently. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.cs index fd6bcf48f05..393c5e8aa7d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.cs @@ -60,7 +60,7 @@ public AcceptedSendersRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. + /// Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. /// Find more info here /// /// A @@ -84,7 +84,7 @@ public AcceptedSendersRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. + /// Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -112,7 +112,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. + /// Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AcceptedSendersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs index 0505380d679..1d2b37ef961 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task DeleteAsync(Action - /// Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. + /// Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. /// Find more info here /// /// A @@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. + /// Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -201,7 +201,7 @@ public partial class RefRequestBuilderDeleteRequestConfiguration : RequestConfig { } /// - /// Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. + /// Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RefRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/Usage/UsageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/Usage/UsageRequestBuilder.cs index 7426952309c..b30f2d8aef5 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/Usage/UsageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/Usage/UsageRequestBuilder.cs @@ -35,7 +35,7 @@ public UsageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. + /// Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that don't require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public UsageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AuthenticationStrengthUsage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. + /// Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that don't require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/AccessPackageSuggestionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/AccessPackageSuggestionsRequestBuilder.cs new file mode 100644 index 00000000000..ea4996e7d75 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/AccessPackageSuggestionsRequestBuilder.cs @@ -0,0 +1,249 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Count; +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn; +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions +{ + /// + /// Provides operations to manage the accessPackageSuggestions property of the microsoft.graph.entitlementManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AccessPackageSuggestionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the accessPackageSuggestions property of the microsoft.graph.entitlementManagement entity. + /// The unique identifier of accessPackageSuggestion + /// A + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("accessPackageSuggestion%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder(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 AccessPackageSuggestionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions{?%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 AccessPackageSuggestionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Provides operations to call the filterByCurrentUser method. + /// + /// A + /// Usage: on='{on}' + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnRequestBuilder FilterByCurrentUserWithOn(string on) + { + if(string.IsNullOrEmpty(on)) throw new ArgumentNullException(nameof(on)); + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnRequestBuilder(PathParameters, RequestAdapter, on); + } + /// + /// Suggested access packages for end users based on various criteria such as related people insights and assignment history. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageSuggestionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to accessPackageSuggestions for 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 PostAsync(global::Microsoft.Graph.Models.AccessPackageSuggestion body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.AccessPackageSuggestion 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageSuggestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Suggested access packages for end users based on various criteria such as related people insights and assignment history. + /// + /// A + /// Configuration 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 accessPackageSuggestions for 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 ToPostRequestInformation(global::Microsoft.Graph.Models.AccessPackageSuggestion body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.AccessPackageSuggestion 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.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.AccessPackageSuggestionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.AccessPackageSuggestionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Suggested access packages for end users based on various criteria such as related people insights and assignment history. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AccessPackageSuggestionsRequestBuilderGetQueryParameters + { + /// 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 AccessPackageSuggestionsRequestBuilderGetRequestConfiguration : 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 AccessPackageSuggestionsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..7a7ae5c45f0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.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/entitlementManagement/accessPackageSuggestions/$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/entitlementManagement/accessPackageSuggestions/$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.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.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.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/EntitlementManagement/AccessPackageSuggestions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs new file mode 100644 index 00000000000..84fb7612a45 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnGetResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class FilterByCurrentUserWithOnGetResponse : global::Microsoft.Graph.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.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse(); + } + /// + /// 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.Models.AccessPackageSuggestion.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/EntitlementManagement/AccessPackageSuggestions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs new file mode 100644 index 00000000000..8d0eb2f2d8e --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -0,0 +1,191 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn +{ + /// + /// Provides operations to call the filterByCurrentUser method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FilterByCurrentUserWithOnRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: on='{on}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public FilterByCurrentUserWithOnRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string on = "") : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions/filterByCurrentUser(on='{on}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters) + { + if (!string.IsNullOrWhiteSpace(on)) PathParameters.Add("on", on); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public FilterByCurrentUserWithOnRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions/filterByCurrentUser(on='{on}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Retrieve suggested accessPackageSuggestion objects for the current end user. This operation returns access packages that are suggested based on various criteria such as related people insights and the user's assignment history. The suggestions help end users discover relevant access packages they may need for their role or work context. + /// 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 GetAsFilterByCurrentUserWithOnGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsFilterByCurrentUserWithOnGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve suggested accessPackageSuggestion objects for the current end user. This operation returns access packages that are suggested based on various criteria such as related people insights and the user's assignment history. The suggestions help end users discover relevant access packages they may need for their role or work context. + /// 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 GetAsFilterByCurrentUserWithOnGetResponseAsync 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Retrieve suggested accessPackageSuggestion objects for the current end user. This operation returns access packages that are suggested based on various criteria such as related people insights and the user's assignment history. The suggestions help end users discover relevant access packages they may need for their role or work context. + /// + /// A + /// Configuration 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.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Retrieve suggested accessPackageSuggestion objects for the current end user. This operation returns access packages that are suggested based on various criteria such as related people insights and the user's assignment history. The suggestions help end users discover relevant access packages they may need for their role or work context. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FilterByCurrentUserWithOnRequestBuilderGetQueryParameters + { + /// 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 FilterByCurrentUserWithOnRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnResponse.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnResponse.cs new file mode 100644 index 00000000000..3e00590bff4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnResponse.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.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn +{ + [Obsolete("This class is obsolete. Use FilterByCurrentUserWithOnGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class FilterByCurrentUserWithOnResponse : global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse, 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.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/Item/AccessPackage/AccessPackageRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/Item/AccessPackage/AccessPackageRequestBuilder.cs new file mode 100644 index 00000000000..694a6691a95 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/Item/AccessPackage/AccessPackageRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackage +{ + /// + /// Provides operations to manage the accessPackage property of the microsoft.graph.accessPackageSuggestion entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AccessPackageRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AccessPackageRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions/{accessPackageSuggestion%2Did}/accessPackage{?%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 AccessPackageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions/{accessPackageSuggestion%2Did}/accessPackage{?%24expand,%24select}", rawUrl) + { + } + /// + /// The access package information for the suggested package. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AvailableAccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The access package information for the suggested package. + /// + /// A + /// Configuration 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.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackage.AccessPackageRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackage.AccessPackageRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The access package information for the suggested package. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AccessPackageRequestBuilderGetQueryParameters + { + /// 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 AccessPackageRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/Item/AccessPackageSuggestionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/Item/AccessPackageSuggestionItemRequestBuilder.cs new file mode 100644 index 00000000000..1eca55284b3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageSuggestions/Item/AccessPackageSuggestionItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackage; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item +{ + /// + /// Provides operations to manage the accessPackageSuggestions property of the microsoft.graph.entitlementManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AccessPackageSuggestionItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the accessPackage property of the microsoft.graph.accessPackageSuggestion entity. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackage.AccessPackageRequestBuilder AccessPackage + { + get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackage.AccessPackageRequestBuilder(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 AccessPackageSuggestionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions/{accessPackageSuggestion%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 AccessPackageSuggestionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageSuggestions/{accessPackageSuggestion%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property accessPackageSuggestions 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Suggested access packages for end users based on various criteria such as related people insights and assignment history. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageSuggestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property accessPackageSuggestions 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.Models.AccessPackageSuggestion body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.AccessPackageSuggestion 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageSuggestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property accessPackageSuggestions 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; + } + /// + /// Suggested access packages for end users based on various criteria such as related people insights and assignment history. + /// + /// A + /// Configuration 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 accessPackageSuggestions 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.Models.AccessPackageSuggestion body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AccessPackageSuggestion 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.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder(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 AccessPackageSuggestionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Suggested access packages for end users based on various criteria such as related people insights and assignment history. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AccessPackageSuggestionItemRequestBuilderGetQueryParameters + { + /// 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 AccessPackageSuggestionItemRequestBuilderGetRequestConfiguration : 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 AccessPackageSuggestionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/AvailableAccessPackagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/AvailableAccessPackagesRequestBuilder.cs new file mode 100644 index 00000000000..f6c164dcd84 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/AvailableAccessPackagesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Count; +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.EntitlementManagement.AvailableAccessPackages +{ + /// + /// Provides operations to manage the availableAccessPackages property of the microsoft.graph.entitlementManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AvailableAccessPackagesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the availableAccessPackages property of the microsoft.graph.entitlementManagement entity. + /// The unique identifier of availableAccessPackage + /// A + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("availableAccessPackage%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder(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 AvailableAccessPackagesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages{?%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 AvailableAccessPackagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Access packages available for end users to browse and request. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AvailableAccessPackageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to availableAccessPackages for 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 PostAsync(global::Microsoft.Graph.Models.AvailableAccessPackage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.AvailableAccessPackage 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AvailableAccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Access packages available for end users to browse and request. + /// + /// A + /// Configuration 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 availableAccessPackages for 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 ToPostRequestInformation(global::Microsoft.Graph.Models.AvailableAccessPackage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.AvailableAccessPackage 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.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.AvailableAccessPackagesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.AvailableAccessPackagesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Access packages available for end users to browse and request. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AvailableAccessPackagesRequestBuilderGetQueryParameters + { + /// 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 AvailableAccessPackagesRequestBuilderGetRequestConfiguration : 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 AvailableAccessPackagesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..9f2b5c865bc --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.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/entitlementManagement/availableAccessPackages/$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/entitlementManagement/availableAccessPackages/$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.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.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.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/EntitlementManagement/AvailableAccessPackages/Item/AvailableAccessPackageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/Item/AvailableAccessPackageItemRequestBuilder.cs new file mode 100644 index 00000000000..bf6fdbf6499 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/Item/AvailableAccessPackageItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item +{ + /// + /// Provides operations to manage the availableAccessPackages property of the microsoft.graph.entitlementManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AvailableAccessPackageItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the resourceRoleScopes property of the microsoft.graph.availableAccessPackage entity. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.ResourceRoleScopesRequestBuilder ResourceRoleScopes + { + get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.ResourceRoleScopesRequestBuilder(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 AvailableAccessPackageItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages/{availableAccessPackage%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 AvailableAccessPackageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property availableAccessPackages 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Access packages available for end users to browse and request. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AvailableAccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property availableAccessPackages 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.Models.AvailableAccessPackage body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.AvailableAccessPackage 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AvailableAccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property availableAccessPackages 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; + } + /// + /// Access packages available for end users to browse and request. + /// + /// A + /// Configuration 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 availableAccessPackages 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.Models.AvailableAccessPackage body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.AvailableAccessPackage 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.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder(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 AvailableAccessPackageItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Access packages available for end users to browse and request. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AvailableAccessPackageItemRequestBuilderGetQueryParameters + { + /// 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 AvailableAccessPackageItemRequestBuilderGetRequestConfiguration : 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 AvailableAccessPackageItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/Item/ResourceRoleScopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/Item/ResourceRoleScopes/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..35e307f7767 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/Item/ResourceRoleScopes/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.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/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}/resourceRoleScopes/$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/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}/resourceRoleScopes/$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.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.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.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/EntitlementManagement/AvailableAccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs new file mode 100644 index 00000000000..5f17c3fb152 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Item +{ + /// + /// Provides operations to manage the resourceRoleScopes property of the microsoft.graph.availableAccessPackage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AccessPackageResourceRoleScopeItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AccessPackageResourceRoleScopeItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}/resourceRoleScopes/{accessPackageResourceRoleScope%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 AccessPackageResourceRoleScopeItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}/resourceRoleScopes/{accessPackageResourceRoleScope%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The resource role scopes associated with this available access package. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageResourceRoleScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The resource role scopes associated with this available access package. + /// + /// A + /// Configuration 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.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Item.AccessPackageResourceRoleScopeItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Item.AccessPackageResourceRoleScopeItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The resource role scopes associated with this available access package. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AccessPackageResourceRoleScopeItemRequestBuilderGetQueryParameters + { + /// 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 AccessPackageResourceRoleScopeItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/Item/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/Item/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs new file mode 100644 index 00000000000..8df9b61fd7d --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AvailableAccessPackages/Item/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs @@ -0,0 +1,184 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Count; +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes +{ + /// + /// Provides operations to manage the resourceRoleScopes property of the microsoft.graph.availableAccessPackage entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ResourceRoleScopesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the resourceRoleScopes property of the microsoft.graph.availableAccessPackage entity. + /// The unique identifier of accessPackageResourceRoleScope + /// A + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Item.AccessPackageResourceRoleScopeItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("accessPackageResourceRoleScope%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Item.AccessPackageResourceRoleScopeItemRequestBuilder(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 ResourceRoleScopesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}/resourceRoleScopes{?%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 ResourceRoleScopesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/availableAccessPackages/{availableAccessPackage%2Did}/resourceRoleScopes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the accessPackageResourceRoleScope objects associated with an availableAccessPackage. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageResourceRoleScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the accessPackageResourceRoleScope objects associated with an availableAccessPackage. + /// + /// A + /// Configuration 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.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.ResourceRoleScopesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.ResourceRoleScopesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the accessPackageResourceRoleScope objects associated with an availableAccessPackage. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ResourceRoleScopesRequestBuilderGetQueryParameters + { + /// 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 ResourceRoleScopesRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ControlConfigurations/ControlConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ControlConfigurations/ControlConfigurationsRequestBuilder.cs new file mode 100644 index 00000000000..279176691d1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ControlConfigurations/ControlConfigurationsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Count; +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.EntitlementManagement.ControlConfigurations +{ + /// + /// Provides operations to manage the controlConfigurations property of the microsoft.graph.entitlementManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ControlConfigurationsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the controlConfigurations property of the microsoft.graph.entitlementManagement entity. + /// The unique identifier of controlConfiguration + /// A + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("controlConfiguration%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder(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 ControlConfigurationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/controlConfigurations{?%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 ControlConfigurationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/controlConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ControlConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to controlConfigurations for 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 PostAsync(global::Microsoft.Graph.Models.ControlConfiguration body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.ControlConfiguration 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ControlConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. + /// + /// A + /// Configuration 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 controlConfigurations for 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 ToPostRequestInformation(global::Microsoft.Graph.Models.ControlConfiguration body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ControlConfiguration 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.IdentityGovernance.EntitlementManagement.ControlConfigurations.ControlConfigurationsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.ControlConfigurationsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ControlConfigurationsRequestBuilderGetQueryParameters + { + /// 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 ControlConfigurationsRequestBuilderGetRequestConfiguration : 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 ControlConfigurationsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ControlConfigurations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ControlConfigurations/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..d31d3ae07c2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ControlConfigurations/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.EntitlementManagement.ControlConfigurations.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/entitlementManagement/controlConfigurations/$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/entitlementManagement/controlConfigurations/$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.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.IdentityGovernance.EntitlementManagement.ControlConfigurations.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.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/EntitlementManagement/ControlConfigurations/Item/ControlConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ControlConfigurations/Item/ControlConfigurationItemRequestBuilder.cs new file mode 100644 index 00000000000..86c84259b97 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ControlConfigurations/Item/ControlConfigurationItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item +{ + /// + /// Provides operations to manage the controlConfigurations property of the microsoft.graph.entitlementManagement entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ControlConfigurationItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ControlConfigurationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/controlConfigurations/{controlConfiguration%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 ControlConfigurationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/controlConfigurations/{controlConfiguration%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property controlConfigurations 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ControlConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property controlConfigurations 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 PutAsync(global::Microsoft.Graph.Models.ControlConfiguration body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PutAsync(global::Microsoft.Graph.Models.ControlConfiguration body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ControlConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property controlConfigurations 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; + } + /// + /// Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. + /// + /// A + /// Configuration 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 controlConfigurations 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 ToPutRequestInformation(global::Microsoft.Graph.Models.ControlConfiguration body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPutRequestInformation(global::Microsoft.Graph.Models.ControlConfiguration body, Action> requestConfiguration = default) + { +#endif + if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation(Method.PUT, 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.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder(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 ControlConfigurationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ControlConfigurationItemRequestBuilderGetQueryParameters + { + /// 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 ControlConfigurationItemRequestBuilderGetRequestConfiguration : 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 ControlConfigurationItemRequestBuilderPutRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs index fb69524439f..9359bf7ae0c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs @@ -1,12 +1,15 @@ // #pragma warning disable CS0618 using Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals; +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions; using Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackages; using Microsoft.Graph.IdentityGovernance.EntitlementManagement.AssignmentPolicies; using Microsoft.Graph.IdentityGovernance.EntitlementManagement.AssignmentRequests; using Microsoft.Graph.IdentityGovernance.EntitlementManagement.Assignments; +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages; using Microsoft.Graph.IdentityGovernance.EntitlementManagement.Catalogs; using Microsoft.Graph.IdentityGovernance.EntitlementManagement.ConnectedOrganizations; +using Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations; using Microsoft.Graph.IdentityGovernance.EntitlementManagement.ResourceEnvironments; using Microsoft.Graph.IdentityGovernance.EntitlementManagement.ResourceRequests; using Microsoft.Graph.IdentityGovernance.EntitlementManagement.ResourceRoleScopes; @@ -42,6 +45,11 @@ public partial class EntitlementManagementRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackages.AccessPackagesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the accessPackageSuggestions property of the microsoft.graph.entitlementManagement entity. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.AccessPackageSuggestionsRequestBuilder AccessPackageSuggestions + { + get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.AccessPackageSuggestionsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the assignmentPolicies property of the microsoft.graph.entitlementManagement entity. public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AssignmentPolicies.AssignmentPoliciesRequestBuilder AssignmentPolicies { @@ -57,6 +65,11 @@ public partial class EntitlementManagementRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Assignments.AssignmentsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the availableAccessPackages property of the microsoft.graph.entitlementManagement entity. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.AvailableAccessPackagesRequestBuilder AvailableAccessPackages + { + get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.AvailableAccessPackagesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the catalogs property of the microsoft.graph.entitlementManagement entity. public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Catalogs.CatalogsRequestBuilder Catalogs { @@ -67,6 +80,11 @@ public partial class EntitlementManagementRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.ConnectedOrganizationsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the controlConfigurations property of the microsoft.graph.entitlementManagement entity. + public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.ControlConfigurationsRequestBuilder ControlConfigurations + { + get => new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.ControlConfigurationsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the resourceEnvironments property of the microsoft.graph.entitlementManagement entity. public global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.ResourceEnvironments.ResourceEnvironmentsRequestBuilder ResourceEnvironments { diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/AccessPackageSubjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/AccessPackageSubjectItemRequestBuilder.cs index 3e1bb9513cd..a4eec46710b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/AccessPackageSubjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/Item/AccessPackageSubjectItemRequestBuilder.cs @@ -86,7 +86,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the navigation property subjects in identityGovernance + /// Update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. + /// Find more info here /// /// A /// The request body @@ -149,7 +150,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property subjects in identityGovernance + /// Update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/SubjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/SubjectsRequestBuilder.cs index cc895414b09..44c80d180b8 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/SubjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Subjects/SubjectsRequestBuilder.cs @@ -54,7 +54,8 @@ public SubjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Get subjects from identityGovernance + /// Get the properties of an external directory user represented by an existing accessPackageSubject object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +103,7 @@ public SubjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get subjects from identityGovernance + /// Get the properties of an external directory user represented by an existing accessPackageSubject object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.IdentityGovernance.EntitlementManagement.Subjects.SubjectsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get subjects from identityGovernance + /// Get the properties of an external directory user represented by an existing accessPackageSubject object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SubjectsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/SubjectsWithObjectId/SubjectsWithObjectIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/SubjectsWithObjectId/SubjectsWithObjectIdRequestBuilder.cs index 92bd6fc1770..c86f9d23539 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/SubjectsWithObjectId/SubjectsWithObjectIdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/SubjectsWithObjectId/SubjectsWithObjectIdRequestBuilder.cs @@ -82,7 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the navigation property subjects in identityGovernance + /// Update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. + /// Find more info here /// /// A /// The request body @@ -145,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the navigation property subjects in identityGovernance + /// Update an external directory user represented by an existing accessPackageSubject object to change the subject lifecycle. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceClearQuarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceClearQuarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.cs new file mode 100644 index 00000000000..725f8efe169 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceClearQuarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine +{ + /// + /// Provides operations to call the clearQuarantine method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.clearQuarantine", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.clearQuarantine", rawUrl) + { + } + /// + /// Release a quarantined workflow so that it resumes processing. A workflow is automatically quarantined when a run exceeds the threshold conditions defined in its quarantineConfiguration. After an administrator reviews the cause of the quarantine, calling this action clears the quarantine state and allows the workflow to run again. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.Workflow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Release a quarantined workflow so that it resumes processing. A workflow is automatically quarantined when a run exceeds the threshold conditions defined in its quarantineConfiguration. After an administrator reviews the cause of the quarantine, calling this action clears the quarantine state and allows the workflow to run again. + /// + /// A + /// Configuration 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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(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 MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.cs new file mode 100644 index 00000000000..e65e2173347 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.cs @@ -0,0 +1,123 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures +{ + /// + /// Provides operations to call the previewTaskFailures method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewTaskFailures", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewTaskFailures", rawUrl) + { + } + /// + /// Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. + /// 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 PostAsPreviewTaskFailuresPostResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsPreviewTaskFailuresPostResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. + /// 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 PostAsPreviewTaskFailuresPostResponseAsync instead.")] +#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. + /// + /// A + /// Configuration 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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(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 MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresPostResponse.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresPostResponse.cs new file mode 100644 index 00000000000..94c73d2e630 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresPostResponse.cs @@ -0,0 +1,66 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PreviewTaskFailuresPostResponse : global::Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse(); + } + /// + /// 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.Models.IdentityGovernance.PreviewFailedTask.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/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresResponse.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresResponse.cs new file mode 100644 index 00000000000..8dfade01f4d --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresResponse.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures +{ + [Obsolete("This class is obsolete. Use PreviewTaskFailuresPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PreviewTaskFailuresResponse : global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse, 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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.cs new file mode 100644 index 00000000000..6cc0e5bfc31 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow +{ + /// + /// Provides operations to call the previewWorkflow method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewWorkflow", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewWorkflow", rawUrl) + { + } + /// + /// Run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'preview'. + /// Find more info here + /// + /// 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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'preview'. + /// + /// 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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody 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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(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 MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/PreviewWorkflowPostRequestBody.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/PreviewWorkflowPostRequestBody.cs new file mode 100644 index 00000000000..fd0aac7966d --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/PreviewWorkflowPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PreviewWorkflowPostRequestBody : 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 subjects property +#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 + /// + /// Instantiates a new and sets the default values. + /// + public PreviewWorkflowPostRequestBody() + { + 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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "subjects", n => { Subjects = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DirectoryObject.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("subjects", Subjects); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..04fef9286a5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.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/workflows/{workflow%2Did}/previewScope/$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/workflows/{workflow%2Did}/previewScope/$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.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.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/Workflows/Item/PreviewScope/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/Item/DirectoryObjectItemRequestBuilder.cs new file mode 100644 index 00000000000..67f61860de5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/Item/DirectoryObjectItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item +{ + /// + /// Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DirectoryObjectItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope/{directoryObject%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 DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope/{directoryObject%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The preview scope for the workflow. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The preview scope for the workflow. + /// + /// A + /// Configuration 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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The preview scope for the workflow. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DirectoryObjectItemRequestBuilderGetQueryParameters + { + /// 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 DirectoryObjectItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/PreviewScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/PreviewScopeRequestBuilder.cs new file mode 100644 index 00000000000..882a0451b47 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/PreviewScope/PreviewScopeRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope +{ + /// + /// Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PreviewScopeRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. + /// The unique identifier of directoryObject + /// A + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("directoryObject%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder(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 PreviewScopeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope{?%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 PreviewScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/previewScope{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The preview scope for the workflow. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The preview scope for the workflow. + /// + /// A + /// Configuration 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.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The preview scope for the workflow. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PreviewScopeRequestBuilderGetQueryParameters + { + /// 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 PreviewScopeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs index 790e2e405c4..bf14be0cddf 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs @@ -6,8 +6,12 @@ using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.LastModifiedBy; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivate; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks; @@ -61,16 +65,36 @@ public partial class WorkflowItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the clearQuarantine method. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder MicrosoftGraphIdentityGovernanceClearQuarantine + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the createNewVersion method. public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder MicrosoftGraphIdentityGovernanceCreateNewVersion { get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the previewTaskFailures method. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder MicrosoftGraphIdentityGovernancePreviewTaskFailures + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the previewWorkflow method. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder MicrosoftGraphIdentityGovernancePreviewWorkflow + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the restore method. public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder MicrosoftGraphIdentityGovernanceRestore { get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder PreviewScope + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.RunsRequestBuilder Runs { diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Insights/MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Insights/MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs index 195f8717e6c..95f58988f08 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Insights/MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Insights/MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -39,7 +39,7 @@ public MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTim { } /// - /// Provide a summary of all workflows processed within a tenant for a specified period. Because the amount of results for listed workflows as returned by the List workflows does not tell you which workflows were processed from the list of created workflows, this summary gives you a quick overview of processed status based on counts. + /// Provide a summary of all workflows processed within a tenant for a specified period. Because the amount of results for listed workflows as returned by the List workflows doesn't tell you which workflows were processed from the list of created workflows, this summary gives you a quick overview of processed status based on counts. /// Find more info here /// /// A @@ -63,7 +63,7 @@ public MicrosoftGraphIdentityGovernanceWorkflowsProcessedSummaryWithStartDateTim return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.WorkflowsInsightsSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Provide a summary of all workflows processed within a tenant for a specified period. Because the amount of results for listed workflows as returned by the List workflows does not tell you which workflows were processed from the list of created workflows, this summary gives you a quick overview of processed status based on counts. + /// Provide a summary of all workflows processed within a tenant for a specified period. Because the amount of results for listed workflows as returned by the List workflows doesn't tell you which workflows were processed from the list of created workflows, this summary gives you a quick overview of processed status based on counts. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceClearQuarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceClearQuarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.cs new file mode 100644 index 00000000000..c514355c8d6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceClearQuarantine/MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder.cs @@ -0,0 +1,99 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine +{ + /// + /// Provides operations to call the clearQuarantine method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.clearQuarantine", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.clearQuarantine", rawUrl) + { + } + /// + /// Release a quarantined workflow so that it resumes processing. A workflow is automatically quarantined when a run exceeds the threshold conditions defined in its quarantineConfiguration. After an administrator reviews the cause of the quarantine, calling this action clears the quarantine state and allows the workflow to run again. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.IdentityGovernance.Workflow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Release a quarantined workflow so that it resumes processing. A workflow is automatically quarantined when a run exceeds the threshold conditions defined in its quarantineConfiguration. After an administrator reviews the cause of the quarantine, calling this action clears the quarantine state and allows the workflow to run again. + /// + /// A + /// Configuration 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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(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 MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.cs new file mode 100644 index 00000000000..1884541d8fc --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.cs @@ -0,0 +1,123 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures +{ + /// + /// Provides operations to call the previewTaskFailures method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewTaskFailures", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewTaskFailures", rawUrl) + { + } + /// + /// Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. + /// 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 PostAsPreviewTaskFailuresPostResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsPreviewTaskFailuresPostResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. + /// 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 PostAsPreviewTaskFailuresPostResponseAsync instead.")] +#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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Validate the tasks configured in a workflow to check for configuration errors. This action identifies any tasks that would fail during execution, allowing you to fix issues before running the workflow. Returns an empty collection if no task failures are detected. + /// + /// A + /// Configuration 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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(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 MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresPostResponse.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresPostResponse.cs new file mode 100644 index 00000000000..e4882ab8c15 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresPostResponse.cs @@ -0,0 +1,66 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.IdentityGovernance; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PreviewTaskFailuresPostResponse : global::Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse(); + } + /// + /// 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.Models.IdentityGovernance.PreviewFailedTask.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/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresResponse.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresResponse.cs new file mode 100644 index 00000000000..167651bc167 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewTaskFailures/PreviewTaskFailuresResponse.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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures +{ + [Obsolete("This class is obsolete. Use PreviewTaskFailuresPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PreviewTaskFailuresResponse : global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse, 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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.cs new file mode 100644 index 00000000000..1a760486790 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.cs @@ -0,0 +1,102 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow +{ + /// + /// Provides operations to call the previewWorkflow method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewWorkflow", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/microsoft.graph.identityGovernance.previewWorkflow", rawUrl) + { + } + /// + /// Run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'preview'. + /// Find more info here + /// + /// 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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Run a workflow in preview mode for selected directory objects without affecting production users. This action triggers workflow processing in preview mode, and results can be retrieved using the List userProcessingResults operation with $filter=workflowExecutionType eq 'preview'. + /// + /// 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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody 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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(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 MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/PreviewWorkflowPostRequestBody.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/PreviewWorkflowPostRequestBody.cs new file mode 100644 index 00000000000..90b755151fe --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernancePreviewWorkflow/PreviewWorkflowPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PreviewWorkflowPostRequestBody : 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 subjects property +#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 + /// + /// Instantiates a new and sets the default values. + /// + public PreviewWorkflowPostRequestBody() + { + 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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "subjects", n => { Subjects = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DirectoryObject.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("subjects", Subjects); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..0e7a65c1be4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.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/workflows/{workflow%2Did}/previewScope/$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/workflows/{workflow%2Did}/previewScope/$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.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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.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/Workflows/Item/PreviewScope/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/Item/DirectoryObjectItemRequestBuilder.cs new file mode 100644 index 00000000000..0638721529b --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/Item/DirectoryObjectItemRequestBuilder.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item +{ + /// + /// Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DirectoryObjectItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DirectoryObjectItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope/{directoryObject%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 DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope/{directoryObject%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// The preview scope for the workflow. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The preview scope for the workflow. + /// + /// A + /// Configuration 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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The preview scope for the workflow. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DirectoryObjectItemRequestBuilderGetQueryParameters + { + /// 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 DirectoryObjectItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/PreviewScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/PreviewScopeRequestBuilder.cs new file mode 100644 index 00000000000..f395f019432 --- /dev/null +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/PreviewScope/PreviewScopeRequestBuilder.cs @@ -0,0 +1,183 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope +{ + /// + /// Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PreviewScopeRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. + /// The unique identifier of directoryObject + /// A + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("directoryObject%2Did", position); + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder(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 PreviewScopeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope{?%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 PreviewScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/previewScope{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// The preview scope for the workflow. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// The preview scope for the workflow. + /// + /// A + /// Configuration 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.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// The preview scope for the workflow. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class PreviewScopeRequestBuilderGetQueryParameters + { + /// 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 PreviewScopeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs index b4a6e18e3d6..aa559d4f762 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs @@ -6,8 +6,12 @@ using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.LastModifiedBy; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivate; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore; +using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports; using Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks; @@ -61,16 +65,36 @@ public partial class WorkflowItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the clearQuarantine method. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder MicrosoftGraphIdentityGovernanceClearQuarantine + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the createNewVersion method. public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder MicrosoftGraphIdentityGovernanceCreateNewVersion { get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the previewTaskFailures method. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder MicrosoftGraphIdentityGovernancePreviewTaskFailures + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the previewWorkflow method. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder MicrosoftGraphIdentityGovernancePreviewWorkflow + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the restore method. public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder MicrosoftGraphIdentityGovernanceRestore { get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the previewScope property of the microsoft.graph.identityGovernance.workflow entity. + public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder PreviewScope + { + get => new global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the runs property of the microsoft.graph.identityGovernance.workflow entity. public global::Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.RunsRequestBuilder Runs { diff --git a/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.cs index 5554388bba2..2bb88ae7968 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.cs @@ -54,7 +54,7 @@ public RecoveryKeysRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. + /// Get a list of the bitlockerRecoveryKey objects and their properties. This operation doesn't return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. /// Find more info here /// /// A @@ -78,7 +78,7 @@ public RecoveryKeysRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.BitlockerRecoveryKeyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. + /// Get a list of the bitlockerRecoveryKey objects and their properties. This operation doesn't return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -106,7 +106,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. + /// Get a list of the bitlockerRecoveryKey objects and their properties. This operation doesn't return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RecoveryKeysRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/OverridesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/OverridesRequestBuilder.cs index 0c0432c5971..8bcdde7c512 100644 --- a/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/OverridesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/OverridesRequestBuilder.cs @@ -54,7 +54,7 @@ public OverridesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. + /// Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user doesn't have any overrides. /// Find more info here /// /// A @@ -104,7 +104,7 @@ public OverridesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.InferenceClassificationOverride.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. + /// Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user doesn't have any overrides. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Me.InferenceClassification.Overrides.OverridesRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. + /// Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user doesn't have any overrides. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OverridesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs index 9f5865b9699..b65850bf053 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -60,7 +60,7 @@ public ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get the folder collection under the specified folder. You can use the .../me/mailFolders shortcut to get the top-levelfolder collection and navigate to another folder. By default, this operation does not return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. + /// Get the folder collection under the specified folder. You can use the .../me/mailFolders shortcut to get the top-levelfolder collection and navigate to another folder. By default, this operation doesn't return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. /// Find more info here /// /// A @@ -110,7 +110,7 @@ public ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the folder collection under the specified folder. You can use the .../me/mailFolders shortcut to get the top-levelfolder collection and navigate to another folder. By default, this operation does not return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. + /// Get the folder collection under the specified folder. You can use the .../me/mailFolders shortcut to get the top-levelfolder collection and navigate to another folder. By default, this operation doesn't return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Me.MailFolders.Item.ChildFolders.ChildFoldersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get the folder collection under the specified folder. You can use the .../me/mailFolders shortcut to get the top-levelfolder collection and navigate to another folder. By default, this operation does not return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. + /// Get the folder collection under the specified folder. You can use the .../me/mailFolders shortcut to get the top-levelfolder collection and navigate to another folder. By default, this operation doesn't return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ChildFoldersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/MailFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/MailFoldersRequestBuilder.cs index 0c045708af4..9316c4f785d 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/MailFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/MailFoldersRequestBuilder.cs @@ -60,7 +60,7 @@ public MailFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get the mail folder collection directly under the root folder of the signed-in user. The returned collection includes any mail search folders directly under the root. By default, this operation does not return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. This operation does not return all mail folders in a mailbox, only the child folders of the root folder. To return all mail folders in a mailbox, each child folder must be traversed separately. + /// Get the mail folder collection directly under the root folder of the signed-in user. The returned collection includes any mail search folders directly under the root. By default, this operation doesn't return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. This operation doesn't return all mail folders in a mailbox, only the child folders of the root folder. To return all mail folders in a mailbox, each child folder must be traversed separately. /// Find more info here /// /// A @@ -110,7 +110,7 @@ public MailFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the mail folder collection directly under the root folder of the signed-in user. The returned collection includes any mail search folders directly under the root. By default, this operation does not return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. This operation does not return all mail folders in a mailbox, only the child folders of the root folder. To return all mail folders in a mailbox, each child folder must be traversed separately. + /// Get the mail folder collection directly under the root folder of the signed-in user. The returned collection includes any mail search folders directly under the root. By default, this operation doesn't return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. This operation doesn't return all mail folders in a mailbox, only the child folders of the root folder. To return all mail folders in a mailbox, each child folder must be traversed separately. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Me.MailFolders.MailFoldersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get the mail folder collection directly under the root folder of the signed-in user. The returned collection includes any mail search folders directly under the root. By default, this operation does not return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. This operation does not return all mail folders in a mailbox, only the child folders of the root folder. To return all mail folders in a mailbox, each child folder must be traversed separately. + /// Get the mail folder collection directly under the root folder of the signed-in user. The returned collection includes any mail search folders directly under the root. By default, this operation doesn't return hidden folders. Use a query parameter includeHiddenFolders to include them in the response. This operation doesn't return all mail folders in a mailbox, only the child folders of the root folder. To return all mail folders in a mailbox, each child folder must be traversed separately. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MailFoldersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Models/AccessEntityType.cs b/src/Microsoft.Graph/Generated/Models/AccessEntityType.cs new file mode 100644 index 00000000000..2f6e31bf6eb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AccessEntityType.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AccessEntityType + #pragma warning restore CS1591 + { + [EnumMember(Value = "user")] + #pragma warning disable CS1591 + User, + #pragma warning restore CS1591 + [EnumMember(Value = "group")] + #pragma warning disable CS1591 + Group, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/AccessPackageApprovalStage.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageApprovalStage.cs index 9c2623741d6..a8749aab69d 100644 --- a/src/Microsoft.Graph/Generated/Models/AccessPackageApprovalStage.cs +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageApprovalStage.cs @@ -19,6 +19,12 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } + /// The approverInformationVisibility property + public global::Microsoft.Graph.Models.ApproverInformationVisibility? ApproverInformationVisibility + { + get { return BackingStore?.Get("approverInformationVisibility"); } + set { BackingStore?.Set("approverInformationVisibility", value); } + } /// Stores model information. public IBackingStore BackingStore { get; private set; } /// The number of days that a request can be pending a response before it is automatically denied. @@ -33,7 +39,7 @@ public TimeSpan? DurationBeforeEscalation get { return BackingStore?.Get("durationBeforeEscalation"); } set { BackingStore?.Set("durationBeforeEscalation", value); } } - /// If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who will be asked to approve requests. + /// If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who are asked to approve requests. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? EscalationApprovers @@ -109,7 +115,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The subjects, typically users, who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors, or targetUserSponsors. + /// The subjects, typically users, who are asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors, or targetUserSponsors. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? PrimaryApprovers @@ -156,6 +162,7 @@ public virtual IDictionary> GetFieldDeserializers() { return new Dictionary> { + { "approverInformationVisibility", n => { ApproverInformationVisibility = n.GetEnumValue(); } }, { "durationBeforeAutomaticDenial", n => { DurationBeforeAutomaticDenial = n.GetTimeSpanValue(); } }, { "durationBeforeEscalation", n => { DurationBeforeEscalation = n.GetTimeSpanValue(); } }, { "escalationApprovers", n => { EscalationApprovers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SubjectSet.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -174,6 +181,7 @@ public virtual IDictionary> GetFieldDeserializers() public virtual void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("approverInformationVisibility", ApproverInformationVisibility); writer.WriteTimeSpanValue("durationBeforeAutomaticDenial", DurationBeforeAutomaticDenial); writer.WriteTimeSpanValue("durationBeforeEscalation", DurationBeforeEscalation); writer.WriteCollectionOfObjectValues("escalationApprovers", EscalationApprovers); diff --git a/src/Microsoft.Graph/Generated/Models/AccessPackageResourceRole.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageResourceRole.cs index 9934565b9f6..adb33804f87 100644 --- a/src/Microsoft.Graph/Generated/Models/AccessPackageResourceRole.cs +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageResourceRole.cs @@ -60,7 +60,7 @@ public string OriginId set { BackingStore?.Set("originId", value); } } #endif - /// The type of the resource in the origin system, such as SharePointOnline, AadApplication, or AadGroup. + /// The type of the resource in the origin system, such as SharePointOnline, AadApplication, AzureResources, or AadGroup. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? OriginSystem @@ -92,6 +92,12 @@ public string OriginSystem set { BackingStore?.Set("resource", value); } } #endif + /// The role type for the Azure resource role. The possible values are: active, eligible, application, delegated, unknownFutureValue. The values active and eligible are only supported where originSystem is AzureResources while application and delegated aren't currently implemented. + public global::Microsoft.Graph.Models.RoleType? Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } /// /// Creates a new instance of the appropriate class based on discriminator value /// @@ -115,6 +121,7 @@ public override IDictionary> GetFieldDeserializers() { "originId", n => { OriginId = n.GetStringValue(); } }, { "originSystem", n => { OriginSystem = n.GetStringValue(); } }, { "resource", n => { Resource = n.GetObjectValue(global::Microsoft.Graph.Models.AccessPackageResource.CreateFromDiscriminatorValue); } }, + { "type", n => { Type = n.GetEnumValue(); } }, }; } /// @@ -130,6 +137,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("originId", OriginId); writer.WriteStringValue("originSystem", OriginSystem); writer.WriteObjectValue("resource", Resource); + writer.WriteEnumValue("type", Type); } } } diff --git a/src/Microsoft.Graph/Generated/Models/AccessPackageResourceScope.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageResourceScope.cs index 02b961a5f6b..5a6dc27faf4 100644 --- a/src/Microsoft.Graph/Generated/Models/AccessPackageResourceScope.cs +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageResourceScope.cs @@ -50,7 +50,7 @@ public bool? IsRootScope get { return BackingStore?.Get("isRootScope"); } set { BackingStore?.Set("isRootScope", value); } } - /// The unique identifier for the scope in the resource as defined in the origin system. + /// The unique identifier of the resource in the origin system. If a Microsoft Entra group, originId is the identifier of the group. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? OriginId @@ -66,7 +66,7 @@ public string OriginId set { BackingStore?.Set("originId", value); } } #endif - /// The origin system for the scope. + /// The type of the resource in the origin system, such as SharePointOnline, AadApplication, AadGroup, AzureResources, or CustomDataProvidedResource. Supports $filter (eq). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? OriginSystem diff --git a/src/Microsoft.Graph/Generated/Models/AccessPackageSuggestion.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageSuggestion.cs new file mode 100644 index 00000000000..44228888dad --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageSuggestion.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AccessPackageSuggestion : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The access package information for the suggested package. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.AvailableAccessPackage? AccessPackage + { + get { return BackingStore?.Get("accessPackage"); } + set { BackingStore?.Set("accessPackage", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.AvailableAccessPackage AccessPackage + { + get { return BackingStore?.Get("accessPackage"); } + set { BackingStore?.Set("accessPackage", value); } + } +#endif + /// A collection of reasons why this access package is being suggested to the user. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Reasons + { + get { return BackingStore?.Get?>("reasons"); } + set { BackingStore?.Set("reasons", value); } + } +#nullable restore +#else + public List Reasons + { + get { return BackingStore?.Get>("reasons"); } + set { BackingStore?.Set("reasons", 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.Models.AccessPackageSuggestion CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AccessPackageSuggestion(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "accessPackage", n => { AccessPackage = n.GetObjectValue(global::Microsoft.Graph.Models.AvailableAccessPackage.CreateFromDiscriminatorValue); } }, + { "reasons", n => { Reasons = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackageSuggestionReason.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("accessPackage", AccessPackage); + writer.WriteCollectionOfObjectValues("reasons", Reasons); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AccessPackageSuggestionCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageSuggestionCollectionResponse.cs new file mode 100644 index 00000000000..7f0fbf3f056 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageSuggestionCollectionResponse.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AccessPackageSuggestionCollectionResponse : global::Microsoft.Graph.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.Models.AccessPackageSuggestionCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AccessPackageSuggestionCollectionResponse(); + } + /// + /// 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.Models.AccessPackageSuggestion.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/AccessPackageSuggestionReason.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageSuggestionReason.cs new file mode 100644 index 00000000000..c5b14fa777a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageSuggestionReason.cs @@ -0,0 +1,87 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AccessPackageSuggestionReason : 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 AccessPackageSuggestionReason() + { + 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.Models.AccessPackageSuggestionReason CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.accessPackageSuggestionRelatedPeopleBased" => new global::Microsoft.Graph.Models.AccessPackageSuggestionRelatedPeopleBased(), + "#microsoft.graph.accessPackageSuggestionSelfAssignmentHistoryBased" => new global::Microsoft.Graph.Models.AccessPackageSuggestionSelfAssignmentHistoryBased(), + _ => new global::Microsoft.Graph.Models.AccessPackageSuggestionReason(), + }; + } + /// + /// 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/AccessPackageSuggestionRelatedPeopleBased.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageSuggestionRelatedPeopleBased.cs new file mode 100644 index 00000000000..74e36c56e28 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageSuggestionRelatedPeopleBased.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AccessPackageSuggestionRelatedPeopleBased : global::Microsoft.Graph.Models.AccessPackageSuggestionReason, IParsable + #pragma warning restore CS1591 + { + /// A collection of identities representing people related to the current user who may have access to similar resources. This property is only populated when the tenant's endUserSettings have relatedPeopleInsightLevel set to countAndNames. This includes both the user ID and display name information. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? RelatedPeople + { + get { return BackingStore?.Get?>("relatedPeople"); } + set { BackingStore?.Set("relatedPeople", value); } + } +#nullable restore +#else + public List RelatedPeople + { + get { return BackingStore?.Get>("relatedPeople"); } + set { BackingStore?.Set("relatedPeople", value); } + } +#endif + /// The number of related people who have assignments to this access package. This count is always provided regardless of the relatedPeopleInsightLevel setting. + public int? RelatedPeopleAssignmentCount + { + get { return BackingStore?.Get("relatedPeopleAssignmentCount"); } + set { BackingStore?.Set("relatedPeopleAssignmentCount", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public AccessPackageSuggestionRelatedPeopleBased() : base() + { + OdataType = "#microsoft.graph.accessPackageSuggestionRelatedPeopleBased"; + } + /// + /// 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.Models.AccessPackageSuggestionRelatedPeopleBased CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AccessPackageSuggestionRelatedPeopleBased(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "relatedPeople", n => { RelatedPeople = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Identity.CreateFromDiscriminatorValue)?.AsList(); } }, + { "relatedPeopleAssignmentCount", n => { RelatedPeopleAssignmentCount = 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.WriteCollectionOfObjectValues("relatedPeople", RelatedPeople); + writer.WriteIntValue("relatedPeopleAssignmentCount", RelatedPeopleAssignmentCount); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AccessPackageSuggestionRelatedPeopleInsightLevel.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageSuggestionRelatedPeopleInsightLevel.cs new file mode 100644 index 00000000000..e08177bf837 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageSuggestionRelatedPeopleInsightLevel.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AccessPackageSuggestionRelatedPeopleInsightLevel + #pragma warning restore CS1591 + { + [EnumMember(Value = "disabled")] + #pragma warning disable CS1591 + Disabled, + #pragma warning restore CS1591 + [EnumMember(Value = "count")] + #pragma warning disable CS1591 + Count, + #pragma warning restore CS1591 + [EnumMember(Value = "countAndNames")] + #pragma warning disable CS1591 + CountAndNames, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/AccessPackageSuggestionSelfAssignmentHistoryBased.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageSuggestionSelfAssignmentHistoryBased.cs new file mode 100644 index 00000000000..c0500b1d2ff --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageSuggestionSelfAssignmentHistoryBased.cs @@ -0,0 +1,69 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AccessPackageSuggestionSelfAssignmentHistoryBased : global::Microsoft.Graph.Models.AccessPackageSuggestionReason, IParsable + #pragma warning restore CS1591 + { + /// The date and time when the user was last assigned to this access package. 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 is 2014-01-01T00:00:00Z. Read-only. + public DateTimeOffset? LastAssignmentDateTime + { + get { return BackingStore?.Get("lastAssignmentDateTime"); } + set { BackingStore?.Set("lastAssignmentDateTime", value); } + } + /// The number of times the user has been assigned to this access package in the past. Read-only. + public int? PastAssignmentCount + { + get { return BackingStore?.Get("pastAssignmentCount"); } + set { BackingStore?.Set("pastAssignmentCount", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public AccessPackageSuggestionSelfAssignmentHistoryBased() : base() + { + OdataType = "#microsoft.graph.accessPackageSuggestionSelfAssignmentHistoryBased"; + } + /// + /// 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.Models.AccessPackageSuggestionSelfAssignmentHistoryBased CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AccessPackageSuggestionSelfAssignmentHistoryBased(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "lastAssignmentDateTime", n => { LastAssignmentDateTime = n.GetDateTimeOffsetValue(); } }, + { "pastAssignmentCount", n => { PastAssignmentCount = 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.WriteDateTimeOffsetValue("lastAssignmentDateTime", LastAssignmentDateTime); + writer.WriteIntValue("pastAssignmentCount", PastAssignmentCount); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AllDomains.cs b/src/Microsoft.Graph/Generated/Models/AllDomains.cs new file mode 100644 index 00000000000..20fffc21d81 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AllDomains.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AllDomains : global::Microsoft.Graph.Models.ValidatingDomains, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public AllDomains() : base() + { + OdataType = "#microsoft.graph.allDomains"; + } + /// + /// 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.Models.AllDomains CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AllDomains(); + } + /// + /// 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/ApproverInformationVisibility.cs b/src/Microsoft.Graph/Generated/Models/ApproverInformationVisibility.cs new file mode 100644 index 00000000000..fae36749e5c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ApproverInformationVisibility.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ApproverInformationVisibility + #pragma warning restore CS1591 + { + [EnumMember(Value = "default")] + #pragma warning disable CS1591 + Default, + #pragma warning restore CS1591 + [EnumMember(Value = "notVisible")] + #pragma warning disable CS1591 + NotVisible, + #pragma warning restore CS1591 + [EnumMember(Value = "visible")] + #pragma warning disable CS1591 + Visible, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/AvailableAccessPackage.cs b/src/Microsoft.Graph/Generated/Models/AvailableAccessPackage.cs new file mode 100644 index 00000000000..d2b29805455 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AvailableAccessPackage.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AvailableAccessPackage : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The description of the access package. +#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 access package. +#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 resource role scopes associated with this available access package. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ResourceRoleScopes + { + get { return BackingStore?.Get?>("resourceRoleScopes"); } + set { BackingStore?.Set("resourceRoleScopes", value); } + } +#nullable restore +#else + public List ResourceRoleScopes + { + get { return BackingStore?.Get>("resourceRoleScopes"); } + set { BackingStore?.Set("resourceRoleScopes", 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.Models.AvailableAccessPackage CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AvailableAccessPackage(); + } + /// + /// 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(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "resourceRoleScopes", n => { ResourceRoleScopes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackageResourceRoleScope.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.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteCollectionOfObjectValues("resourceRoleScopes", ResourceRoleScopes); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AvailableAccessPackageCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/AvailableAccessPackageCollectionResponse.cs new file mode 100644 index 00000000000..643c2f1acb6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AvailableAccessPackageCollectionResponse.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AvailableAccessPackageCollectionResponse : global::Microsoft.Graph.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.Models.AvailableAccessPackageCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.AvailableAccessPackageCollectionResponse(); + } + /// + /// 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.Models.AvailableAccessPackage.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/AzureActiveDirectoryTenant.cs b/src/Microsoft.Graph/Generated/Models/AzureActiveDirectoryTenant.cs index f4041385d50..288ebb21f8f 100644 --- a/src/Microsoft.Graph/Generated/Models/AzureActiveDirectoryTenant.cs +++ b/src/Microsoft.Graph/Generated/Models/AzureActiveDirectoryTenant.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class AzureActiveDirectoryTenant : global::Microsoft.Graph.Models.IdentitySource, IParsable #pragma warning restore CS1591 { - /// The name of the Microsoft Entra tenant. Read only. + /// The name of the Microsoft Entra tenant. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -28,7 +28,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The ID of the Microsoft Entra tenant. Read only. + /// The ID of the Microsoft Entra tenant. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TenantId diff --git a/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs b/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs index 68e4afbae9e..c0f314882fb 100644 --- a/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs @@ -75,6 +75,22 @@ public partial class BackupRestoreRoot : global::Microsoft.Graph.Models.Entity, get { return BackingStore?.Get>("driveProtectionUnitsBulkAdditionJobs"); } set { BackingStore?.Set("driveProtectionUnitsBulkAdditionJobs", value); } } +#endif + /// The email notification settings in the tenant. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.EmailNotificationsSetting? EmailNotificationsSetting + { + get { return BackingStore?.Get("emailNotificationsSetting"); } + set { BackingStore?.Set("emailNotificationsSetting", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.EmailNotificationsSetting EmailNotificationsSetting + { + get { return BackingStore?.Get("emailNotificationsSetting"); } + set { BackingStore?.Set("emailNotificationsSetting", value); } + } #endif /// The list of Exchange protection policies in the tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -418,6 +434,7 @@ public override IDictionary> GetFieldDeserializers() { "driveInclusionRules", n => { DriveInclusionRules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveProtectionRule.CreateFromDiscriminatorValue)?.AsList(); } }, { "driveProtectionUnits", n => { DriveProtectionUnits = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveProtectionUnit.CreateFromDiscriminatorValue)?.AsList(); } }, { "driveProtectionUnitsBulkAdditionJobs", n => { DriveProtectionUnitsBulkAdditionJobs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveProtectionUnitsBulkAdditionJob.CreateFromDiscriminatorValue)?.AsList(); } }, + { "emailNotificationsSetting", n => { EmailNotificationsSetting = n.GetObjectValue(global::Microsoft.Graph.Models.EmailNotificationsSetting.CreateFromDiscriminatorValue); } }, { "exchangeProtectionPolicies", n => { ExchangeProtectionPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ExchangeProtectionPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "exchangeRestoreSessions", n => { ExchangeRestoreSessions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ExchangeRestoreSession.CreateFromDiscriminatorValue)?.AsList(); } }, { "mailboxInclusionRules", n => { MailboxInclusionRules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailboxProtectionRule.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -452,6 +469,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("driveInclusionRules", DriveInclusionRules); writer.WriteCollectionOfObjectValues("driveProtectionUnits", DriveProtectionUnits); writer.WriteCollectionOfObjectValues("driveProtectionUnitsBulkAdditionJobs", DriveProtectionUnitsBulkAdditionJobs); + writer.WriteObjectValue("emailNotificationsSetting", EmailNotificationsSetting); writer.WriteCollectionOfObjectValues("exchangeProtectionPolicies", ExchangeProtectionPolicies); writer.WriteCollectionOfObjectValues("exchangeRestoreSessions", ExchangeRestoreSessions); writer.WriteCollectionOfObjectValues("mailboxInclusionRules", MailboxInclusionRules); diff --git a/src/Microsoft.Graph/Generated/Models/Channel.cs b/src/Microsoft.Graph/Generated/Models/Channel.cs index b07ebc1e1db..b0573dd6325 100644 --- a/src/Microsoft.Graph/Generated/Models/Channel.cs +++ b/src/Microsoft.Graph/Generated/Models/Channel.cs @@ -28,7 +28,7 @@ public partial class Channel : global::Microsoft.Graph.Models.Entity, IParsable set { BackingStore?.Set("allMembers", value); } } #endif - /// Read only. Timestamp at which the channel was created. + /// Read-only. Timestamp at which the channel was created. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } diff --git a/src/Microsoft.Graph/Generated/Models/ChatMessage.cs b/src/Microsoft.Graph/Generated/Models/ChatMessage.cs index fdda498ddc5..9c304dce2e1 100644 --- a/src/Microsoft.Graph/Generated/Models/ChatMessage.cs +++ b/src/Microsoft.Graph/Generated/Models/ChatMessage.cs @@ -82,7 +82,7 @@ public DateTimeOffset? CreatedDateTime get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// Read only. Timestamp at which the chat message was deleted, or null if not deleted. + /// Read-only. Timestamp at which the chat message was deleted, or null if not deleted. public DateTimeOffset? DeletedDateTime { get { return BackingStore?.Get("deletedDateTime"); } @@ -158,13 +158,13 @@ public string Etag get { return BackingStore?.Get("importance"); } set { BackingStore?.Set("importance", value); } } - /// Read only. Timestamp when edits to the chat message were made. Triggers an 'Edited' flag in the Teams UI. If no edits are made the value is null. + /// Read-only. Timestamp when edits to the chat message were made. Triggers an 'Edited' flag in the Teams UI. If no edits are made the value is null. public DateTimeOffset? LastEditedDateTime { get { return BackingStore?.Get("lastEditedDateTime"); } set { BackingStore?.Set("lastEditedDateTime", value); } } - /// Read only. Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. + /// Read-only. Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed. public DateTimeOffset? LastModifiedDateTime { get { return BackingStore?.Get("lastModifiedDateTime"); } diff --git a/src/Microsoft.Graph/Generated/Models/ConditionalAccessPolicy.cs b/src/Microsoft.Graph/Generated/Models/ConditionalAccessPolicy.cs index a18fd8892d4..614a14861a8 100644 --- a/src/Microsoft.Graph/Generated/Models/ConditionalAccessPolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/ConditionalAccessPolicy.cs @@ -28,7 +28,7 @@ public partial class ConditionalAccessPolicy : global::Microsoft.Graph.Models.Po set { BackingStore?.Set("conditions", value); } } #endif - /// 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 is 2014-01-01T00:00:00Z. Readonly. + /// 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 is 2014-01-01T00:00:00Z. Read-only. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } @@ -98,7 +98,7 @@ public string Id set { BackingStore?.Set("id", value); } } #endif - /// 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 is 2014-01-01T00:00:00Z. Readonly. + /// 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 is 2014-01-01T00:00:00Z. Read-only. public DateTimeOffset? ModifiedDateTime { get { return BackingStore?.Get("modifiedDateTime"); } diff --git a/src/Microsoft.Graph/Generated/Models/ControlConfiguration.cs b/src/Microsoft.Graph/Generated/Models/ControlConfiguration.cs new file mode 100644 index 00000000000..726be13911c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ControlConfiguration.cs @@ -0,0 +1,111 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ControlConfiguration : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The userPrincipalName of the user or identity that created the control configuration. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#nullable restore +#else + public string CreatedBy + { + get { return BackingStore?.Get("createdBy"); } + set { BackingStore?.Set("createdBy", value); } + } +#endif + /// The date and time the control configuration was created. + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// Determines whether or not the control configuration is enabled. + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// The userPrincipalName of the user or identity that modified the control configuration. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ModifiedBy + { + get { return BackingStore?.Get("modifiedBy"); } + set { BackingStore?.Set("modifiedBy", value); } + } +#nullable restore +#else + public string ModifiedBy + { + get { return BackingStore?.Get("modifiedBy"); } + set { BackingStore?.Set("modifiedBy", value); } + } +#endif + /// The date and time the control configuration was modified. + public DateTimeOffset? ModifiedDateTime + { + get { return BackingStore?.Get("modifiedDateTime"); } + set { BackingStore?.Set("modifiedDateTime", 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.Models.ControlConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.endUserSettings" => new global::Microsoft.Graph.Models.EndUserSettings(), + _ => new global::Microsoft.Graph.Models.ControlConfiguration(), + }; + } + /// + /// 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.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "modifiedBy", n => { ModifiedBy = n.GetStringValue(); } }, + { "modifiedDateTime", n => { ModifiedDateTime = 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.WriteStringValue("createdBy", CreatedBy); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteStringValue("modifiedBy", ModifiedBy); + writer.WriteDateTimeOffsetValue("modifiedDateTime", ModifiedDateTime); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ControlConfigurationCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/ControlConfigurationCollectionResponse.cs new file mode 100644 index 00000000000..bd16b8947b7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ControlConfigurationCollectionResponse.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ControlConfigurationCollectionResponse : global::Microsoft.Graph.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.Models.ControlConfigurationCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ControlConfigurationCollectionResponse(); + } + /// + /// 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.Models.ControlConfiguration.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/CopilotAdmin.cs b/src/Microsoft.Graph/Generated/Models/CopilotAdmin.cs index 79cac53259b..449665a50e3 100644 --- a/src/Microsoft.Graph/Generated/Models/CopilotAdmin.cs +++ b/src/Microsoft.Graph/Generated/Models/CopilotAdmin.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class CopilotAdmin : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The catalog property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CopilotAdminCatalog? Catalog + { + get { return BackingStore?.Get("catalog"); } + set { BackingStore?.Set("catalog", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CopilotAdminCatalog Catalog + { + get { return BackingStore?.Get("catalog"); } + set { BackingStore?.Set("catalog", value); } + } +#endif /// The settings property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -46,6 +62,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "catalog", n => { Catalog = n.GetObjectValue(global::Microsoft.Graph.Models.CopilotAdminCatalog.CreateFromDiscriminatorValue); } }, { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Models.CopilotAdminSetting.CreateFromDiscriminatorValue); } }, }; } @@ -57,6 +74,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteObjectValue("catalog", Catalog); writer.WriteObjectValue("settings", Settings); } } diff --git a/src/Microsoft.Graph/Generated/Models/CopilotAdminCatalog.cs b/src/Microsoft.Graph/Generated/Models/CopilotAdminCatalog.cs new file mode 100644 index 00000000000..a2a28911ae3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotAdminCatalog.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CopilotAdminCatalog : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The packages property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Packages + { + get { return BackingStore?.Get?>("packages"); } + set { BackingStore?.Set("packages", value); } + } +#nullable restore +#else + public List Packages + { + get { return BackingStore?.Get>("packages"); } + set { BackingStore?.Set("packages", 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.Models.CopilotAdminCatalog CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CopilotAdminCatalog(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "packages", n => { Packages = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.CopilotPackageDetail.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("packages", Packages); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPackage.cs b/src/Microsoft.Graph/Generated/Models/CopilotPackage.cs new file mode 100644 index 00000000000..218fb53fb7d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotPackage.cs @@ -0,0 +1,325 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CopilotPackage : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The appId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AppId + { + get { return BackingStore?.Get("appId"); } + set { BackingStore?.Set("appId", value); } + } +#nullable restore +#else + public string AppId + { + get { return BackingStore?.Get("appId"); } + set { BackingStore?.Set("appId", value); } + } +#endif + /// The assetId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AssetId + { + get { return BackingStore?.Get("assetId"); } + set { BackingStore?.Set("assetId", value); } + } +#nullable restore +#else + public string AssetId + { + get { return BackingStore?.Get("assetId"); } + set { BackingStore?.Set("assetId", value); } + } +#endif + /// The availableTo property + public global::Microsoft.Graph.Models.PackageStatus? AvailableTo + { + get { return BackingStore?.Get("availableTo"); } + set { BackingStore?.Set("availableTo", value); } + } + /// The deployedTo property + public global::Microsoft.Graph.Models.PackageStatus? DeployedTo + { + get { return BackingStore?.Get("deployedTo"); } + set { BackingStore?.Set("deployedTo", value); } + } + /// 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 elementTypes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ElementTypes + { + get { return BackingStore?.Get?>("elementTypes"); } + set { BackingStore?.Set("elementTypes", value); } + } +#nullable restore +#else + public List ElementTypes + { + get { return BackingStore?.Get>("elementTypes"); } + set { BackingStore?.Set("elementTypes", value); } + } +#endif + /// The isBlocked property + public bool? IsBlocked + { + get { return BackingStore?.Get("isBlocked"); } + set { BackingStore?.Set("isBlocked", value); } + } + /// The lastModifiedDateTime property + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// The manifestId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ManifestId + { + get { return BackingStore?.Get("manifestId"); } + set { BackingStore?.Set("manifestId", value); } + } +#nullable restore +#else + public string ManifestId + { + get { return BackingStore?.Get("manifestId"); } + set { BackingStore?.Set("manifestId", value); } + } +#endif + /// The manifestVersion property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ManifestVersion + { + get { return BackingStore?.Get("manifestVersion"); } + set { BackingStore?.Set("manifestVersion", value); } + } +#nullable restore +#else + public string ManifestVersion + { + get { return BackingStore?.Get("manifestVersion"); } + set { BackingStore?.Set("manifestVersion", value); } + } +#endif + /// The ownerId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OwnerId + { + get { return BackingStore?.Get("ownerId"); } + set { BackingStore?.Set("ownerId", value); } + } +#nullable restore +#else + public string OwnerId + { + get { return BackingStore?.Get("ownerId"); } + set { BackingStore?.Set("ownerId", value); } + } +#endif + /// The platform property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Platform + { + get { return BackingStore?.Get("platform"); } + set { BackingStore?.Set("platform", value); } + } +#nullable restore +#else + public string Platform + { + get { return BackingStore?.Get("platform"); } + set { BackingStore?.Set("platform", value); } + } +#endif + /// The publisher property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Publisher + { + get { return BackingStore?.Get("publisher"); } + set { BackingStore?.Set("publisher", value); } + } +#nullable restore +#else + public string Publisher + { + get { return BackingStore?.Get("publisher"); } + set { BackingStore?.Set("publisher", value); } + } +#endif + /// The shortDescription property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ShortDescription + { + get { return BackingStore?.Get("shortDescription"); } + set { BackingStore?.Set("shortDescription", value); } + } +#nullable restore +#else + public string ShortDescription + { + get { return BackingStore?.Get("shortDescription"); } + set { BackingStore?.Set("shortDescription", value); } + } +#endif + /// The supportedHosts property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SupportedHosts + { + get { return BackingStore?.Get?>("supportedHosts"); } + set { BackingStore?.Set("supportedHosts", value); } + } +#nullable restore +#else + public List SupportedHosts + { + get { return BackingStore?.Get>("supportedHosts"); } + set { BackingStore?.Set("supportedHosts", value); } + } +#endif + /// The type property + public global::Microsoft.Graph.Models.PackageType? Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } + /// The version property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Version + { + get { return BackingStore?.Get("version"); } + set { BackingStore?.Set("version", value); } + } +#nullable restore +#else + public string Version + { + get { return BackingStore?.Get("version"); } + set { BackingStore?.Set("version", value); } + } +#endif + /// The zipFile property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public byte[]? ZipFile + { + get { return BackingStore?.Get("zipFile"); } + set { BackingStore?.Set("zipFile", value); } + } +#nullable restore +#else + public byte[] ZipFile + { + get { return BackingStore?.Get("zipFile"); } + set { BackingStore?.Set("zipFile", 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.Models.CopilotPackage CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.copilotPackageDetail" => new global::Microsoft.Graph.Models.CopilotPackageDetail(), + _ => new global::Microsoft.Graph.Models.CopilotPackage(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "appId", n => { AppId = n.GetStringValue(); } }, + { "assetId", n => { AssetId = n.GetStringValue(); } }, + { "availableTo", n => { AvailableTo = n.GetEnumValue(); } }, + { "deployedTo", n => { DeployedTo = n.GetEnumValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "elementTypes", n => { ElementTypes = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "isBlocked", n => { IsBlocked = n.GetBoolValue(); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "manifestId", n => { ManifestId = n.GetStringValue(); } }, + { "manifestVersion", n => { ManifestVersion = n.GetStringValue(); } }, + { "ownerId", n => { OwnerId = n.GetStringValue(); } }, + { "platform", n => { Platform = n.GetStringValue(); } }, + { "publisher", n => { Publisher = n.GetStringValue(); } }, + { "shortDescription", n => { ShortDescription = n.GetStringValue(); } }, + { "supportedHosts", n => { SupportedHosts = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, + { "version", n => { Version = n.GetStringValue(); } }, + { "zipFile", n => { ZipFile = n.GetByteArrayValue(); } }, + }; + } + /// + /// 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("appId", AppId); + writer.WriteStringValue("assetId", AssetId); + writer.WriteEnumValue("availableTo", AvailableTo); + writer.WriteEnumValue("deployedTo", DeployedTo); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteCollectionOfPrimitiveValues("elementTypes", ElementTypes); + writer.WriteBoolValue("isBlocked", IsBlocked); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteStringValue("manifestId", ManifestId); + writer.WriteStringValue("manifestVersion", ManifestVersion); + writer.WriteStringValue("ownerId", OwnerId); + writer.WriteStringValue("platform", Platform); + writer.WriteStringValue("publisher", Publisher); + writer.WriteStringValue("shortDescription", ShortDescription); + writer.WriteCollectionOfPrimitiveValues("supportedHosts", SupportedHosts); + writer.WriteEnumValue("type", Type); + writer.WriteStringValue("version", Version); + writer.WriteByteArrayValue("zipFile", ZipFile); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CopilotPackageDetail.cs b/src/Microsoft.Graph/Generated/Models/CopilotPackageDetail.cs new file mode 100644 index 00000000000..2b4dc437a68 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/CopilotPackageDetail.cs @@ -0,0 +1,154 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CopilotPackageDetail : global::Microsoft.Graph.Models.CopilotPackage, IParsable + #pragma warning restore CS1591 + { + /// The acquireUsersAndGroups property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AcquireUsersAndGroups + { + get { return BackingStore?.Get?>("acquireUsersAndGroups"); } + set { BackingStore?.Set("acquireUsersAndGroups", value); } + } +#nullable restore +#else + public List AcquireUsersAndGroups + { + get { return BackingStore?.Get>("acquireUsersAndGroups"); } + set { BackingStore?.Set("acquireUsersAndGroups", value); } + } +#endif + /// The allowedUsersAndGroups property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AllowedUsersAndGroups + { + get { return BackingStore?.Get?>("allowedUsersAndGroups"); } + set { BackingStore?.Set("allowedUsersAndGroups", value); } + } +#nullable restore +#else + public List AllowedUsersAndGroups + { + get { return BackingStore?.Get>("allowedUsersAndGroups"); } + set { BackingStore?.Set("allowedUsersAndGroups", value); } + } +#endif + /// 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 elementDetails property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ElementDetails + { + get { return BackingStore?.Get?>("elementDetails"); } + set { BackingStore?.Set("elementDetails", value); } + } +#nullable restore +#else + public List ElementDetails + { + get { return BackingStore?.Get>("elementDetails"); } + set { BackingStore?.Set("elementDetails", value); } + } +#endif + /// The longDescription property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LongDescription + { + get { return BackingStore?.Get("longDescription"); } + set { BackingStore?.Set("longDescription", value); } + } +#nullable restore +#else + public string LongDescription + { + get { return BackingStore?.Get("longDescription"); } + set { BackingStore?.Set("longDescription", value); } + } +#endif + /// The sensitivity property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Sensitivity + { + get { return BackingStore?.Get("sensitivity"); } + set { BackingStore?.Set("sensitivity", value); } + } +#nullable restore +#else + public string Sensitivity + { + get { return BackingStore?.Get("sensitivity"); } + set { BackingStore?.Set("sensitivity", 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.Models.CopilotPackageDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.CopilotPackageDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "acquireUsersAndGroups", n => { AcquireUsersAndGroups = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PackageAccessEntity.CreateFromDiscriminatorValue)?.AsList(); } }, + { "allowedUsersAndGroups", n => { AllowedUsersAndGroups = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PackageAccessEntity.CreateFromDiscriminatorValue)?.AsList(); } }, + { "categories", n => { Categories = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "elementDetails", n => { ElementDetails = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PackageElementDetail.CreateFromDiscriminatorValue)?.AsList(); } }, + { "longDescription", n => { LongDescription = n.GetStringValue(); } }, + { "sensitivity", n => { Sensitivity = 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.WriteCollectionOfObjectValues("acquireUsersAndGroups", AcquireUsersAndGroups); + writer.WriteCollectionOfObjectValues("allowedUsersAndGroups", AllowedUsersAndGroups); + writer.WriteCollectionOfPrimitiveValues("categories", Categories); + writer.WriteCollectionOfObjectValues("elementDetails", ElementDetails); + writer.WriteStringValue("longDescription", LongDescription); + writer.WriteStringValue("sensitivity", Sensitivity); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CrossCloudAzureActiveDirectoryTenant.cs b/src/Microsoft.Graph/Generated/Models/CrossCloudAzureActiveDirectoryTenant.cs index a0e64366191..2f805d4cc31 100644 --- a/src/Microsoft.Graph/Generated/Models/CrossCloudAzureActiveDirectoryTenant.cs +++ b/src/Microsoft.Graph/Generated/Models/CrossCloudAzureActiveDirectoryTenant.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class CrossCloudAzureActiveDirectoryTenant : global::Microsoft.Graph.Models.IdentitySource, IParsable #pragma warning restore CS1591 { - /// The ID of the cloud where the tenant is located, one of microsoftonline.com, microsoftonline.us or partner.microsoftonline.cn. Read only. + /// The ID of the cloud where the tenant is located, one of microsoftonline.com, microsoftonline.us or partner.microsoftonline.cn. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? CloudInstance @@ -28,7 +28,7 @@ public string CloudInstance set { BackingStore?.Set("cloudInstance", value); } } #endif - /// The name of the Microsoft Entra tenant. Read only. + /// The name of the Microsoft Entra tenant. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -44,7 +44,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The ID of the Microsoft Entra tenant. Read only. + /// The ID of the Microsoft Entra tenant. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TenantId diff --git a/src/Microsoft.Graph/Generated/Models/DelegatedAdminRelationship.cs b/src/Microsoft.Graph/Generated/Models/DelegatedAdminRelationship.cs index 961b9de5c03..35e8d14bcfb 100644 --- a/src/Microsoft.Graph/Generated/Models/DelegatedAdminRelationship.cs +++ b/src/Microsoft.Graph/Generated/Models/DelegatedAdminRelationship.cs @@ -144,7 +144,7 @@ public DateTimeOffset? LastModifiedDateTime set { BackingStore?.Set("requests", value); } } #endif - /// The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderby. + /// The status of the relationship. Read-only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderby. public global::Microsoft.Graph.Models.DelegatedAdminRelationshipStatus? Status { get { return BackingStore?.Get("status"); } diff --git a/src/Microsoft.Graph/Generated/Models/DirectoryObject.cs b/src/Microsoft.Graph/Generated/Models/DirectoryObject.cs index cc964994e37..465b61ac9b0 100644 --- a/src/Microsoft.Graph/Generated/Models/DirectoryObject.cs +++ b/src/Microsoft.Graph/Generated/Models/DirectoryObject.cs @@ -50,6 +50,7 @@ public DateTimeOffset? DeletedDateTime "#microsoft.graph.directoryRoleTemplate" => new global::Microsoft.Graph.Models.DirectoryRoleTemplate(), "#microsoft.graph.endpoint" => new global::Microsoft.Graph.Models.Endpoint(), "#microsoft.graph.extensionProperty" => new global::Microsoft.Graph.Models.ExtensionProperty(), + "#microsoft.graph.federatedTokenValidationPolicy" => new global::Microsoft.Graph.Models.FederatedTokenValidationPolicy(), "#microsoft.graph.group" => new global::Microsoft.Graph.Models.Group(), "#microsoft.graph.groupSettingTemplate" => new global::Microsoft.Graph.Models.GroupSettingTemplate(), "#microsoft.graph.homeRealmDiscoveryPolicy" => new global::Microsoft.Graph.Models.HomeRealmDiscoveryPolicy(), diff --git a/src/Microsoft.Graph/Generated/Models/DirectoryRole.cs b/src/Microsoft.Graph/Generated/Models/DirectoryRole.cs index eda63e0b2b1..6739c6e8f46 100644 --- a/src/Microsoft.Graph/Generated/Models/DirectoryRole.cs +++ b/src/Microsoft.Graph/Generated/Models/DirectoryRole.cs @@ -60,7 +60,7 @@ public string DisplayName set { BackingStore?.Set("members", value); } } #endif - /// The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only. Supports $filter (eq), $select. + /// The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read-only. Supports $filter (eq), $select. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RoleTemplateId diff --git a/src/Microsoft.Graph/Generated/Models/DomainIdentitySource.cs b/src/Microsoft.Graph/Generated/Models/DomainIdentitySource.cs index 5194b50dfd2..ed56c80717c 100644 --- a/src/Microsoft.Graph/Generated/Models/DomainIdentitySource.cs +++ b/src/Microsoft.Graph/Generated/Models/DomainIdentitySource.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class DomainIdentitySource : global::Microsoft.Graph.Models.IdentitySource, IParsable #pragma warning restore CS1591 { - /// The name of the identity source, typically also the domain name. Read only. + /// The name of the identity source, typically also the domain name. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -28,7 +28,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The domain name. Read only. + /// The domain name. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DomainName diff --git a/src/Microsoft.Graph/Generated/Models/EmailNotificationsSetting.cs b/src/Microsoft.Graph/Generated/Models/EmailNotificationsSetting.cs new file mode 100644 index 00000000000..1d0232e225b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EmailNotificationsSetting.cs @@ -0,0 +1,80 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EmailNotificationsSetting : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The additionalEvents property + public global::Microsoft.Graph.Models.NotificationEventsType? AdditionalEvents + { + get { return BackingStore?.Get("additionalEvents"); } + set { BackingStore?.Set("additionalEvents", value); } + } + /// Indicates whether notifications are enabled. + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// The recipients property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.NotificationRecipients? Recipients + { + get { return BackingStore?.Get("recipients"); } + set { BackingStore?.Set("recipients", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.NotificationRecipients Recipients + { + get { return BackingStore?.Get("recipients"); } + set { BackingStore?.Set("recipients", 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.Models.EmailNotificationsSetting CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.EmailNotificationsSetting(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "additionalEvents", n => { AdditionalEvents = n.GetEnumValue(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "recipients", n => { Recipients = n.GetObjectValue(global::Microsoft.Graph.Models.NotificationRecipients.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("additionalEvents", AdditionalEvents); + writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteObjectValue("recipients", Recipients); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/EndUserSettings.cs b/src/Microsoft.Graph/Generated/Models/EndUserSettings.cs new file mode 100644 index 00000000000..7e85b4ed682 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EndUserSettings.cs @@ -0,0 +1,69 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EndUserSettings : global::Microsoft.Graph.Models.ControlConfiguration, IParsable + #pragma warning restore CS1591 + { + /// The level of related people insights to show in access package suggestions. The possible values are: disabled, count, countAndNames, unknownFutureValue. + public global::Microsoft.Graph.Models.AccessPackageSuggestionRelatedPeopleInsightLevel? RelatedPeopleInsightLevel + { + get { return BackingStore?.Get("relatedPeopleInsightLevel"); } + set { BackingStore?.Set("relatedPeopleInsightLevel", value); } + } + /// Indicates whether approver details are shown to end users. When true, approver information is visible to members. + public bool? ShowApproverDetailsToMembers + { + get { return BackingStore?.Get("showApproverDetailsToMembers"); } + set { BackingStore?.Set("showApproverDetailsToMembers", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public EndUserSettings() : base() + { + OdataType = "#microsoft.graph.endUserSettings"; + } + /// + /// 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.Models.EndUserSettings CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.EndUserSettings(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "relatedPeopleInsightLevel", n => { RelatedPeopleInsightLevel = n.GetEnumValue(); } }, + { "showApproverDetailsToMembers", n => { ShowApproverDetailsToMembers = 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.WriteEnumValue("relatedPeopleInsightLevel", RelatedPeopleInsightLevel); + writer.WriteBoolValue("showApproverDetailsToMembers", ShowApproverDetailsToMembers); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/EntitlementManagement.cs b/src/Microsoft.Graph/Generated/Models/EntitlementManagement.cs index 20ceb8e70cd..20323ded979 100644 --- a/src/Microsoft.Graph/Generated/Models/EntitlementManagement.cs +++ b/src/Microsoft.Graph/Generated/Models/EntitlementManagement.cs @@ -43,6 +43,22 @@ public partial class EntitlementManagement : global::Microsoft.Graph.Models.Enti get { return BackingStore?.Get>("accessPackages"); } set { BackingStore?.Set("accessPackages", value); } } +#endif + /// Suggested access packages for end users based on various criteria such as related people insights and assignment history. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AccessPackageSuggestions + { + get { return BackingStore?.Get?>("accessPackageSuggestions"); } + set { BackingStore?.Set("accessPackageSuggestions", value); } + } +#nullable restore +#else + public List AccessPackageSuggestions + { + get { return BackingStore?.Get>("accessPackageSuggestions"); } + set { BackingStore?.Set("accessPackageSuggestions", value); } + } #endif /// Access package assignment policies govern which subjects can request or be assigned an access package via an access package assignment. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -91,6 +107,22 @@ public partial class EntitlementManagement : global::Microsoft.Graph.Models.Enti get { return BackingStore?.Get>("assignments"); } set { BackingStore?.Set("assignments", value); } } +#endif + /// Access packages available for end users to browse and request. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AvailableAccessPackages + { + get { return BackingStore?.Get?>("availableAccessPackages"); } + set { BackingStore?.Set("availableAccessPackages", value); } + } +#nullable restore +#else + public List AvailableAccessPackages + { + get { return BackingStore?.Get>("availableAccessPackages"); } + set { BackingStore?.Set("availableAccessPackages", value); } + } #endif /// A container for access packages. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -123,6 +155,22 @@ public partial class EntitlementManagement : global::Microsoft.Graph.Models.Enti get { return BackingStore?.Get>("connectedOrganizations"); } set { BackingStore?.Set("connectedOrganizations", value); } } +#endif + /// Configuration settings that control the lifecycle and access policies of entitlement management within a tenant. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ControlConfigurations + { + get { return BackingStore?.Get?>("controlConfigurations"); } + set { BackingStore?.Set("controlConfigurations", value); } + } +#nullable restore +#else + public List ControlConfigurations + { + get { return BackingStore?.Get>("controlConfigurations"); } + set { BackingStore?.Set("controlConfigurations", value); } + } #endif /// A reference to the geolocation environments in which a resource is located. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -239,12 +287,15 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "accessPackageAssignmentApprovals", n => { AccessPackageAssignmentApprovals = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Approval.CreateFromDiscriminatorValue)?.AsList(); } }, + { "accessPackageSuggestions", n => { AccessPackageSuggestions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackageSuggestion.CreateFromDiscriminatorValue)?.AsList(); } }, { "accessPackages", n => { AccessPackages = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue)?.AsList(); } }, { "assignmentPolicies", n => { AssignmentPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "assignmentRequests", n => { AssignmentRequests = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackageAssignmentRequest.CreateFromDiscriminatorValue)?.AsList(); } }, { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackageAssignment.CreateFromDiscriminatorValue)?.AsList(); } }, + { "availableAccessPackages", n => { AvailableAccessPackages = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AvailableAccessPackage.CreateFromDiscriminatorValue)?.AsList(); } }, { "catalogs", n => { Catalogs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackageCatalog.CreateFromDiscriminatorValue)?.AsList(); } }, { "connectedOrganizations", n => { ConnectedOrganizations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ConnectedOrganization.CreateFromDiscriminatorValue)?.AsList(); } }, + { "controlConfigurations", n => { ControlConfigurations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ControlConfiguration.CreateFromDiscriminatorValue)?.AsList(); } }, { "resourceEnvironments", n => { ResourceEnvironments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackageResourceEnvironment.CreateFromDiscriminatorValue)?.AsList(); } }, { "resourceRequests", n => { ResourceRequests = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackageResourceRequest.CreateFromDiscriminatorValue)?.AsList(); } }, { "resourceRoleScopes", n => { ResourceRoleScopes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AccessPackageResourceRoleScope.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -263,11 +314,14 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteCollectionOfObjectValues("accessPackageAssignmentApprovals", AccessPackageAssignmentApprovals); writer.WriteCollectionOfObjectValues("accessPackages", AccessPackages); + writer.WriteCollectionOfObjectValues("accessPackageSuggestions", AccessPackageSuggestions); writer.WriteCollectionOfObjectValues("assignmentPolicies", AssignmentPolicies); writer.WriteCollectionOfObjectValues("assignmentRequests", AssignmentRequests); writer.WriteCollectionOfObjectValues("assignments", Assignments); + writer.WriteCollectionOfObjectValues("availableAccessPackages", AvailableAccessPackages); writer.WriteCollectionOfObjectValues("catalogs", Catalogs); writer.WriteCollectionOfObjectValues("connectedOrganizations", ConnectedOrganizations); + writer.WriteCollectionOfObjectValues("controlConfigurations", ControlConfigurations); writer.WriteCollectionOfObjectValues("resourceEnvironments", ResourceEnvironments); writer.WriteCollectionOfObjectValues("resourceRequests", ResourceRequests); writer.WriteCollectionOfObjectValues("resourceRoleScopes", ResourceRoleScopes); diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index ab16c827405..75c8e646d40 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -98,6 +98,7 @@ public Entity() "#microsoft.graph.accessPackageResourceRoleScope" => new global::Microsoft.Graph.Models.AccessPackageResourceRoleScope(), "#microsoft.graph.accessPackageResourceScope" => new global::Microsoft.Graph.Models.AccessPackageResourceScope(), "#microsoft.graph.accessPackageSubject" => new global::Microsoft.Graph.Models.AccessPackageSubject(), + "#microsoft.graph.accessPackageSuggestion" => new global::Microsoft.Graph.Models.AccessPackageSuggestion(), "#microsoft.graph.accessPackageTextInputQuestion" => new global::Microsoft.Graph.Models.AccessPackageTextInputQuestion(), "#microsoft.graph.accessReviewHistoryDefinition" => new global::Microsoft.Graph.Models.AccessReviewHistoryDefinition(), "#microsoft.graph.accessReviewHistoryInstance" => new global::Microsoft.Graph.Models.AccessReviewHistoryInstance(), @@ -188,6 +189,7 @@ public Entity() "#microsoft.graph.authenticationStrengthRoot" => new global::Microsoft.Graph.Models.AuthenticationStrengthRoot(), "#microsoft.graph.authoredNote" => new global::Microsoft.Graph.Models.AuthoredNote(), "#microsoft.graph.authorizationPolicy" => new global::Microsoft.Graph.Models.AuthorizationPolicy(), + "#microsoft.graph.availableAccessPackage" => new global::Microsoft.Graph.Models.AvailableAccessPackage(), "#microsoft.graph.azureCommunicationServicesUserConversationMember" => new global::Microsoft.Graph.Models.AzureCommunicationServicesUserConversationMember(), "#microsoft.graph.b2xIdentityUserFlow" => new global::Microsoft.Graph.Models.B2xIdentityUserFlow(), "#microsoft.graph.backupRestoreRoot" => new global::Microsoft.Graph.Models.BackupRestoreRoot(), @@ -277,12 +279,16 @@ public Entity() "#microsoft.graph.contentSharingSession" => new global::Microsoft.Graph.Models.ContentSharingSession(), "#microsoft.graph.contentType" => new global::Microsoft.Graph.Models.ContentType(), "#microsoft.graph.contract" => new global::Microsoft.Graph.Models.Contract(), + "#microsoft.graph.controlConfiguration" => new global::Microsoft.Graph.Models.ControlConfiguration(), "#microsoft.graph.conversation" => new global::Microsoft.Graph.Models.Conversation(), "#microsoft.graph.conversationMember" => new global::Microsoft.Graph.Models.ConversationMember(), "#microsoft.graph.conversationThread" => new global::Microsoft.Graph.Models.ConversationThread(), "#microsoft.graph.copilotAdmin" => new global::Microsoft.Graph.Models.CopilotAdmin(), + "#microsoft.graph.copilotAdminCatalog" => new global::Microsoft.Graph.Models.CopilotAdminCatalog(), "#microsoft.graph.copilotAdminLimitedMode" => new global::Microsoft.Graph.Models.CopilotAdminLimitedMode(), "#microsoft.graph.copilotAdminSetting" => new global::Microsoft.Graph.Models.CopilotAdminSetting(), + "#microsoft.graph.copilotPackage" => new global::Microsoft.Graph.Models.CopilotPackage(), + "#microsoft.graph.copilotPackageDetail" => new global::Microsoft.Graph.Models.CopilotPackageDetail(), "#microsoft.graph.copilotReportRoot" => new global::Microsoft.Graph.Models.CopilotReportRoot(), "#microsoft.graph.crossTenantAccessPolicy" => new global::Microsoft.Graph.Models.CrossTenantAccessPolicy(), "#microsoft.graph.crossTenantAccessPolicyConfigurationDefault" => new global::Microsoft.Graph.Models.CrossTenantAccessPolicyConfigurationDefault(), @@ -397,11 +403,13 @@ public Entity() "#microsoft.graph.emailAuthenticationMethod" => new global::Microsoft.Graph.Models.EmailAuthenticationMethod(), "#microsoft.graph.emailAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.EmailAuthenticationMethodConfiguration(), "#microsoft.graph.emailFileAssessmentRequest" => new global::Microsoft.Graph.Models.EmailFileAssessmentRequest(), + "#microsoft.graph.emailNotificationsSetting" => new global::Microsoft.Graph.Models.EmailNotificationsSetting(), "#microsoft.graph.emergencyCallEvent" => new global::Microsoft.Graph.Models.EmergencyCallEvent(), "#microsoft.graph.employeeExperienceUser" => new global::Microsoft.Graph.Models.EmployeeExperienceUser(), "#microsoft.graph.endpoint" => new global::Microsoft.Graph.Models.Endpoint(), "#microsoft.graph.endUserNotification" => new global::Microsoft.Graph.Models.EndUserNotification(), "#microsoft.graph.endUserNotificationDetail" => new global::Microsoft.Graph.Models.EndUserNotificationDetail(), + "#microsoft.graph.endUserSettings" => new global::Microsoft.Graph.Models.EndUserSettings(), "#microsoft.graph.engagementAsyncOperation" => new global::Microsoft.Graph.Models.EngagementAsyncOperation(), "#microsoft.graph.engagementConversation" => new global::Microsoft.Graph.Models.EngagementConversation(), "#microsoft.graph.engagementConversationDiscussionMessage" => new global::Microsoft.Graph.Models.EngagementConversationDiscussionMessage(), @@ -442,6 +450,7 @@ public Entity() "#microsoft.graph.externalUsersSelfServiceSignUpEventsFlow" => new global::Microsoft.Graph.Models.ExternalUsersSelfServiceSignUpEventsFlow(), "#microsoft.graph.featureRolloutPolicy" => new global::Microsoft.Graph.Models.FeatureRolloutPolicy(), "#microsoft.graph.federatedIdentityCredential" => new global::Microsoft.Graph.Models.FederatedIdentityCredential(), + "#microsoft.graph.federatedTokenValidationPolicy" => new global::Microsoft.Graph.Models.FederatedTokenValidationPolicy(), "#microsoft.graph.fido2AuthenticationMethod" => new global::Microsoft.Graph.Models.Fido2AuthenticationMethod(), "#microsoft.graph.fido2AuthenticationMethodConfiguration" => new global::Microsoft.Graph.Models.Fido2AuthenticationMethodConfiguration(), "#microsoft.graph.fido2CombinationConfiguration" => new global::Microsoft.Graph.Models.Fido2CombinationConfiguration(), @@ -807,6 +816,7 @@ public Entity() "#microsoft.graph.secureScoreControlProfile" => new global::Microsoft.Graph.Models.SecureScoreControlProfile(), "#microsoft.graph.security" => new global::Microsoft.Graph.Models.Security.Security(), "#microsoft.graph.security.alert" => new global::Microsoft.Graph.Models.Security.Alert(), + "#microsoft.graph.security.analyzedEmail" => new global::Microsoft.Graph.Models.Security.AnalyzedEmail(), "#microsoft.graph.security.article" => new global::Microsoft.Graph.Models.Security.Article(), "#microsoft.graph.security.articleIndicator" => new global::Microsoft.Graph.Models.Security.ArticleIndicator(), "#microsoft.graph.security.artifact" => new global::Microsoft.Graph.Models.Security.Artifact(), @@ -817,6 +827,7 @@ public Entity() "#microsoft.graph.security.casesRoot" => new global::Microsoft.Graph.Models.Security.CasesRoot(), "#microsoft.graph.security.categoryTemplate" => new global::Microsoft.Graph.Models.Security.CategoryTemplate(), "#microsoft.graph.security.citationTemplate" => new global::Microsoft.Graph.Models.Security.CitationTemplate(), + "#microsoft.graph.security.collaborationRoot" => new global::Microsoft.Graph.Models.Security.CollaborationRoot(), "#microsoft.graph.security.dataSet" => new global::Microsoft.Graph.Models.Security.DataSet(), "#microsoft.graph.security.dataSource" => new global::Microsoft.Graph.Models.Security.DataSource(), "#microsoft.graph.security.dataSourceContainer" => new global::Microsoft.Graph.Models.Security.DataSourceContainer(), diff --git a/src/Microsoft.Graph/Generated/Models/EnumeratedDomains.cs b/src/Microsoft.Graph/Generated/Models/EnumeratedDomains.cs new file mode 100644 index 00000000000..c63557fe8bf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EnumeratedDomains.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EnumeratedDomains : global::Microsoft.Graph.Models.ValidatingDomains, IParsable + #pragma warning restore CS1591 + { + /// The domainNames property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DomainNames + { + get { return BackingStore?.Get?>("domainNames"); } + set { BackingStore?.Set("domainNames", value); } + } +#nullable restore +#else + public List DomainNames + { + get { return BackingStore?.Get>("domainNames"); } + set { BackingStore?.Set("domainNames", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public EnumeratedDomains() : base() + { + OdataType = "#microsoft.graph.enumeratedDomains"; + } + /// + /// 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.Models.EnumeratedDomains CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.EnumeratedDomains(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "domainNames", n => { DomainNames = 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("domainNames", DomainNames); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs index 10c1f558418..d220b83a664 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs @@ -224,5 +224,9 @@ public enum Label #pragma warning disable CS1591 PersonPatents, #pragma warning restore CS1591 + [EnumMember(Value = "personWorkPositions")] + #pragma warning disable CS1591 + PersonWorkPositions, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/ExternalDomainFederation.cs b/src/Microsoft.Graph/Generated/Models/ExternalDomainFederation.cs index b744ba5ecec..e9432104d92 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalDomainFederation.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalDomainFederation.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class ExternalDomainFederation : global::Microsoft.Graph.Models.IdentitySource, IParsable #pragma warning restore CS1591 { - /// The name of the identity source, typically also the domain name. Read only. + /// The name of the identity source, typically also the domain name. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -28,7 +28,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The domain name. Read only. + /// The domain name. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DomainName @@ -44,7 +44,7 @@ public string DomainName set { BackingStore?.Set("domainName", value); } } #endif - /// The issuerURI of the incoming federation. Read only. + /// The issuerURI of the incoming federation. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? IssuerUri diff --git a/src/Microsoft.Graph/Generated/Models/FederatedTokenValidationPolicy.cs b/src/Microsoft.Graph/Generated/Models/FederatedTokenValidationPolicy.cs new file mode 100644 index 00000000000..18087e78fde --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FederatedTokenValidationPolicy.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class FederatedTokenValidationPolicy : global::Microsoft.Graph.Models.DirectoryObject, IParsable + #pragma warning restore CS1591 + { + /// The validatingDomains property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ValidatingDomains? ValidatingDomains + { + get { return BackingStore?.Get("validatingDomains"); } + set { BackingStore?.Set("validatingDomains", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ValidatingDomains ValidatingDomains + { + get { return BackingStore?.Get("validatingDomains"); } + set { BackingStore?.Set("validatingDomains", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public FederatedTokenValidationPolicy() : base() + { + OdataType = "#microsoft.graph.federatedTokenValidationPolicy"; + } + /// + /// 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.Models.FederatedTokenValidationPolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.FederatedTokenValidationPolicy(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "validatingDomains", n => { ValidatingDomains = n.GetObjectValue(global::Microsoft.Graph.Models.ValidatingDomains.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("validatingDomains", ValidatingDomains); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Group.cs b/src/Microsoft.Graph/Generated/Models/Group.cs index 4d769152378..50632b37c26 100644 --- a/src/Microsoft.Graph/Generated/Models/Group.cs +++ b/src/Microsoft.Graph/Generated/Models/Group.cs @@ -29,6 +29,12 @@ public partial class Group : global::Microsoft.Graph.Models.DirectoryObject, IPa set { BackingStore?.Set("acceptedSenders", value); } } #endif + /// Indicates the type of access to the group. The possible values are: none, private, secret, public, unknownFutureValue. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + public global::Microsoft.Graph.Models.GroupAccessType? AccessType + { + get { return BackingStore?.Get("accessType"); } + set { BackingStore?.Set("accessType", value); } + } /// Indicates if people external to the organization can send messages to the group. The default value is false. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). public bool? AllowExternalSenders { @@ -355,6 +361,12 @@ public bool? IsAssignableToRole get { return BackingStore?.Get("isAssignableToRole"); } set { BackingStore?.Set("isAssignableToRole", value); } } + /// Indicates whether the user marked the group as favorite. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + public bool? IsFavorite + { + get { return BackingStore?.Get("isFavorite"); } + set { BackingStore?.Set("isFavorite", value); } + } /// Indicates whether the group is a member of a restricted management administrative unit. If not set, the default value is null and the default behavior is false. Read-only. To manage a group member of a restricted management administrative unit, the administrator or calling app must be assigned a Microsoft Entra role at the scope of the restricted management administrative unit. Requires $select to retrieve. public bool? IsManagementRestricted { @@ -532,6 +544,22 @@ public string OnPremisesDomainName get { return BackingStore?.Get("onPremisesDomainName"); } set { BackingStore?.Set("onPremisesDomainName", value); } } +#endif + /// The onPremisesExtensionAttributes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.OnPremisesExtensionAttributes? OnPremisesExtensionAttributes + { + get { return BackingStore?.Get("onPremisesExtensionAttributes"); } + set { BackingStore?.Set("onPremisesExtensionAttributes", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.OnPremisesExtensionAttributes OnPremisesExtensionAttributes + { + get { return BackingStore?.Get("onPremisesExtensionAttributes"); } + set { BackingStore?.Set("onPremisesExtensionAttributes", value); } + } #endif /// Indicates the last time at which the group was synced with the on-premises directory. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on January 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only. Supports $filter (eq, ne, not, ge, le, in). public DateTimeOffset? OnPremisesLastSyncDateTime @@ -973,12 +1001,24 @@ public string UniqueName set { BackingStore?.Set("uniqueName", value); } } #endif - /// Count of conversations that received new posts since the signed-in user last visited the group. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + /// Count of conversations that have had one or more new posts delivered since the signed-in user's last visit to the group. This property is the same as unseenCount. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + public int? UnseenConversationsCount + { + get { return BackingStore?.Get("unseenConversationsCount"); } + set { BackingStore?.Set("unseenConversationsCount", value); } + } + /// Count of conversations that have received new posts since the signed-in user last visited the group. This property is the same as unseenConversationsCount.Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). public int? UnseenCount { get { return BackingStore?.Get("unseenCount"); } set { BackingStore?.Set("unseenCount", value); } } + /// Count of new posts that have been delivered to the group's conversations since the signed-in user's last visit to the group. Requires $select to retrieve. Supported only on the Get group API (GET /groups/{ID}). + public int? UnseenMessagesCount + { + get { return BackingStore?.Get("unseenMessagesCount"); } + set { BackingStore?.Set("unseenMessagesCount", value); } + } /// Specifies the group join policy and group content visibility for groups. The possible values are: Private, Public, or HiddenMembership. HiddenMembership can be set only for Microsoft 365 groups when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value isn't specified during group creation on Microsoft Graph, a security group is created as Private by default, and the Microsoft 365 group is Public. Groups assignable to roles are always Private. To learn more, see group visibility options. Returned by default. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -1027,6 +1067,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "acceptedSenders", n => { AcceptedSenders = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, + { "accessType", n => { AccessType = n.GetEnumValue(); } }, { "allowExternalSenders", n => { AllowExternalSenders = n.GetBoolValue(); } }, { "appRoleAssignments", n => { AppRoleAssignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AppRoleAssignment.CreateFromDiscriminatorValue)?.AsList(); } }, { "assignedLabels", n => { AssignedLabels = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.AssignedLabel.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -1053,6 +1094,7 @@ public override IDictionary> GetFieldDeserializers() { "infoCatalogs", n => { InfoCatalogs = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "isArchived", n => { IsArchived = n.GetBoolValue(); } }, { "isAssignableToRole", n => { IsAssignableToRole = n.GetBoolValue(); } }, + { "isFavorite", n => { IsFavorite = n.GetBoolValue(); } }, { "isManagementRestricted", n => { IsManagementRestricted = n.GetBoolValue(); } }, { "isSubscribedByMail", n => { IsSubscribedByMail = n.GetBoolValue(); } }, { "licenseProcessingState", n => { LicenseProcessingState = n.GetObjectValue(global::Microsoft.Graph.Models.LicenseProcessingState.CreateFromDiscriminatorValue); } }, @@ -1065,6 +1107,7 @@ public override IDictionary> GetFieldDeserializers() { "membershipRule", n => { MembershipRule = n.GetStringValue(); } }, { "membershipRuleProcessingState", n => { MembershipRuleProcessingState = n.GetStringValue(); } }, { "onPremisesDomainName", n => { OnPremisesDomainName = n.GetStringValue(); } }, + { "onPremisesExtensionAttributes", n => { OnPremisesExtensionAttributes = n.GetObjectValue(global::Microsoft.Graph.Models.OnPremisesExtensionAttributes.CreateFromDiscriminatorValue); } }, { "onPremisesLastSyncDateTime", n => { OnPremisesLastSyncDateTime = n.GetDateTimeOffsetValue(); } }, { "onPremisesNetBiosName", n => { OnPremisesNetBiosName = n.GetStringValue(); } }, { "onPremisesProvisioningErrors", n => { OnPremisesProvisioningErrors = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.OnPremisesProvisioningError.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -1096,7 +1139,9 @@ public override IDictionary> GetFieldDeserializers() { "transitiveMemberOf", n => { TransitiveMemberOf = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, { "transitiveMembers", n => { TransitiveMembers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, { "uniqueName", n => { UniqueName = n.GetStringValue(); } }, + { "unseenConversationsCount", n => { UnseenConversationsCount = n.GetIntValue(); } }, { "unseenCount", n => { UnseenCount = n.GetIntValue(); } }, + { "unseenMessagesCount", n => { UnseenMessagesCount = n.GetIntValue(); } }, { "visibility", n => { Visibility = n.GetStringValue(); } }, { "welcomeMessageEnabled", n => { WelcomeMessageEnabled = n.GetBoolValue(); } }, }; @@ -1110,6 +1155,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteCollectionOfObjectValues("acceptedSenders", AcceptedSenders); + writer.WriteEnumValue("accessType", AccessType); writer.WriteBoolValue("allowExternalSenders", AllowExternalSenders); writer.WriteCollectionOfObjectValues("appRoleAssignments", AppRoleAssignments); writer.WriteCollectionOfObjectValues("assignedLabels", AssignedLabels); @@ -1136,6 +1182,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfPrimitiveValues("infoCatalogs", InfoCatalogs); writer.WriteBoolValue("isArchived", IsArchived); writer.WriteBoolValue("isAssignableToRole", IsAssignableToRole); + writer.WriteBoolValue("isFavorite", IsFavorite); writer.WriteBoolValue("isManagementRestricted", IsManagementRestricted); writer.WriteBoolValue("isSubscribedByMail", IsSubscribedByMail); writer.WriteObjectValue("licenseProcessingState", LicenseProcessingState); @@ -1149,6 +1196,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("membersWithLicenseErrors", MembersWithLicenseErrors); writer.WriteObjectValue("onenote", Onenote); writer.WriteStringValue("onPremisesDomainName", OnPremisesDomainName); + writer.WriteObjectValue("onPremisesExtensionAttributes", OnPremisesExtensionAttributes); writer.WriteDateTimeOffsetValue("onPremisesLastSyncDateTime", OnPremisesLastSyncDateTime); writer.WriteStringValue("onPremisesNetBiosName", OnPremisesNetBiosName); writer.WriteCollectionOfObjectValues("onPremisesProvisioningErrors", OnPremisesProvisioningErrors); @@ -1179,7 +1227,9 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("transitiveMemberOf", TransitiveMemberOf); writer.WriteCollectionOfObjectValues("transitiveMembers", TransitiveMembers); writer.WriteStringValue("uniqueName", UniqueName); + writer.WriteIntValue("unseenConversationsCount", UnseenConversationsCount); writer.WriteIntValue("unseenCount", UnseenCount); + writer.WriteIntValue("unseenMessagesCount", UnseenMessagesCount); writer.WriteStringValue("visibility", Visibility); writer.WriteBoolValue("welcomeMessageEnabled", WelcomeMessageEnabled); } diff --git a/src/Microsoft.Graph/Generated/Models/GroupAccessType.cs b/src/Microsoft.Graph/Generated/Models/GroupAccessType.cs new file mode 100644 index 00000000000..4aab3857950 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/GroupAccessType.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum GroupAccessType + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "private")] + #pragma warning disable CS1591 + Private, + #pragma warning restore CS1591 + [EnumMember(Value = "secret")] + #pragma warning disable CS1591 + Secret, + #pragma warning restore CS1591 + [EnumMember(Value = "public")] + #pragma warning disable CS1591 + Public, + #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/CountBasedQuarantineCondition.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/CountBasedQuarantineCondition.cs new file mode 100644 index 00000000000..070e66a7d92 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/CountBasedQuarantineCondition.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CountBasedQuarantineCondition : global::Microsoft.Graph.Models.IdentityGovernance.QuarantineCondition, IParsable + #pragma warning restore CS1591 + { + /// The maximum number of users a workflow run can process before the workflow is quarantined. + public long? Threshold + { + get { return BackingStore?.Get("threshold"); } + set { BackingStore?.Set("threshold", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CountBasedQuarantineCondition() : base() + { + OdataType = "#microsoft.graph.identityGovernance.countBasedQuarantineCondition"; + } + /// + /// 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.Models.IdentityGovernance.CountBasedQuarantineCondition CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.CountBasedQuarantineCondition(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "threshold", n => { Threshold = n.GetLongValue(); } }, + }; + } + /// + /// 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.WriteLongValue("threshold", Threshold); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleManagementSettings.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleManagementSettings.cs index 39dd457f0a6..4d7f7f1c22d 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleManagementSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleManagementSettings.cs @@ -27,6 +27,22 @@ public partial class LifecycleManagementSettings : global::Microsoft.Graph.Model get { return BackingStore?.Get("emailSettings"); } set { BackingStore?.Set("emailSettings", value); } } +#endif + /// The tenant-level quarantine configuration that automatically halts a workflow when its threshold conditions are met. Optional. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityGovernance.QuarantineConfiguration? QuarantineConfiguration + { + get { return BackingStore?.Get("quarantineConfiguration"); } + set { BackingStore?.Set("quarantineConfiguration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityGovernance.QuarantineConfiguration QuarantineConfiguration + { + get { return BackingStore?.Get("quarantineConfiguration"); } + set { BackingStore?.Set("quarantineConfiguration", value); } + } #endif /// The interval in hours at which all workflows running in the tenant should be scheduled for execution. This interval has a minimum value of 1 and a maximum value of 24. The default value is 3 hours. public int? WorkflowScheduleIntervalInHours @@ -53,6 +69,7 @@ public override IDictionary> GetFieldDeserializers() return new Dictionary>(base.GetFieldDeserializers()) { { "emailSettings", n => { EmailSettings = n.GetObjectValue(global::Microsoft.Graph.Models.EmailSettings.CreateFromDiscriminatorValue); } }, + { "quarantineConfiguration", n => { QuarantineConfiguration = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.QuarantineConfiguration.CreateFromDiscriminatorValue); } }, { "workflowScheduleIntervalInHours", n => { WorkflowScheduleIntervalInHours = n.GetIntValue(); } }, }; } @@ -65,6 +82,7 @@ public override void Serialize(ISerializationWriter writer) if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); writer.WriteObjectValue("emailSettings", EmailSettings); + writer.WriteObjectValue("quarantineConfiguration", QuarantineConfiguration); writer.WriteIntValue("workflowScheduleIntervalInHours", WorkflowScheduleIntervalInHours); } } diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleWorkflowProcessingStatus.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleWorkflowProcessingStatus.cs index 7133d0073de..12a19bafdbc 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleWorkflowProcessingStatus.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/LifecycleWorkflowProcessingStatus.cs @@ -36,5 +36,9 @@ public enum LifecycleWorkflowProcessingStatus #pragma warning disable CS1591 UnknownFutureValue, #pragma warning restore CS1591 + [EnumMember(Value = "quarantined")] + #pragma warning disable CS1591 + Quarantined, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/MatchMode.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/MatchMode.cs new file mode 100644 index 00000000000..56dd02191e3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/MatchMode.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum MatchMode + #pragma warning restore CS1591 + { + [EnumMember(Value = "any")] + #pragma warning disable CS1591 + Any, + #pragma warning restore CS1591 + [EnumMember(Value = "all")] + #pragma warning disable CS1591 + All, + #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/PercentageBasedQuarantineCondition.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/PercentageBasedQuarantineCondition.cs new file mode 100644 index 00000000000..e7b2bc27a4a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/PercentageBasedQuarantineCondition.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PercentageBasedQuarantineCondition : global::Microsoft.Graph.Models.IdentityGovernance.QuarantineCondition, IParsable + #pragma warning restore CS1591 + { + /// The maximum percentage of in-scope users a workflow run can process before the workflow is quarantined. + public int? Percentage + { + get { return BackingStore?.Get("percentage"); } + set { BackingStore?.Set("percentage", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public PercentageBasedQuarantineCondition() : base() + { + OdataType = "#microsoft.graph.identityGovernance.percentageBasedQuarantineCondition"; + } + /// + /// 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.Models.IdentityGovernance.PercentageBasedQuarantineCondition CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.PercentageBasedQuarantineCondition(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "percentage", n => { Percentage = 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("percentage", Percentage); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/PreviewFailedTask.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/PreviewFailedTask.cs new file mode 100644 index 00000000000..57d9ae869c3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/PreviewFailedTask.cs @@ -0,0 +1,153 @@ +// +#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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PreviewFailedTask : 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 identifier of the task definition of the task that failed during the preview operation of a workflow. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DefinitionId + { + get { return BackingStore?.Get("definitionId"); } + set { BackingStore?.Set("definitionId", value); } + } +#nullable restore +#else + public string DefinitionId + { + get { return BackingStore?.Get("definitionId"); } + set { BackingStore?.Set("definitionId", value); } + } +#endif + /// The reason why the task failed in the preview operation of a workflow. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FailureReason + { + get { return BackingStore?.Get("failureReason"); } + set { BackingStore?.Set("failureReason", value); } + } +#nullable restore +#else + public string FailureReason + { + get { return BackingStore?.Get("failureReason"); } + set { BackingStore?.Set("failureReason", value); } + } +#endif + /// The name of the task that failed within the preview operation of a workflow. +#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 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 identifier of the task that failed during the preview operation of a workflow. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TaskId + { + get { return BackingStore?.Get("taskId"); } + set { BackingStore?.Set("taskId", value); } + } +#nullable restore +#else + public string TaskId + { + get { return BackingStore?.Get("taskId"); } + set { BackingStore?.Set("taskId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public PreviewFailedTask() + { + 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.Models.IdentityGovernance.PreviewFailedTask CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.PreviewFailedTask(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "definitionId", n => { DefinitionId = n.GetStringValue(); } }, + { "failureReason", n => { FailureReason = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "taskId", n => { TaskId = 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("definitionId", DefinitionId); + writer.WriteStringValue("failureReason", FailureReason); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("taskId", TaskId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/QuarantineCondition.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/QuarantineCondition.cs new file mode 100644 index 00000000000..7c7beb3c5f9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/QuarantineCondition.cs @@ -0,0 +1,87 @@ +// +#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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class QuarantineCondition : 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 QuarantineCondition() + { + 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.Models.IdentityGovernance.QuarantineCondition 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.countBasedQuarantineCondition" => new global::Microsoft.Graph.Models.IdentityGovernance.CountBasedQuarantineCondition(), + "#microsoft.graph.identityGovernance.percentageBasedQuarantineCondition" => new global::Microsoft.Graph.Models.IdentityGovernance.PercentageBasedQuarantineCondition(), + _ => new global::Microsoft.Graph.Models.IdentityGovernance.QuarantineCondition(), + }; + } + /// + /// 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/QuarantineConfiguration.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/QuarantineConfiguration.cs new file mode 100644 index 00000000000..3bee1c09d01 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/QuarantineConfiguration.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class QuarantineConfiguration : 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 set of threshold conditions evaluated for the workflow. Each condition is either a countBasedQuarantineCondition or a percentageBasedQuarantineCondition. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Conditions + { + get { return BackingStore?.Get?>("conditions"); } + set { BackingStore?.Set("conditions", value); } + } +#nullable restore +#else + public List Conditions + { + get { return BackingStore?.Get>("conditions"); } + set { BackingStore?.Set("conditions", value); } + } +#endif + /// The matchMode property + public global::Microsoft.Graph.Models.IdentityGovernance.MatchMode? MatchMode + { + get { return BackingStore?.Get("matchMode"); } + set { BackingStore?.Set("matchMode", 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 QuarantineConfiguration() + { + 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.Models.IdentityGovernance.QuarantineConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.QuarantineConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "conditions", n => { Conditions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityGovernance.QuarantineCondition.CreateFromDiscriminatorValue)?.AsList(); } }, + { "matchMode", n => { MatchMode = 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.WriteCollectionOfObjectValues("conditions", Conditions); + writer.WriteEnumValue("matchMode", MatchMode); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/QuarantineDetails.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/QuarantineDetails.cs new file mode 100644 index 00000000000..b5ffb0cfd16 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/QuarantineDetails.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class QuarantineDetails : 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 + /// The date and time when the workflow was quarantined. + public DateTimeOffset? QuarantinedDateTime + { + get { return BackingStore?.Get("quarantinedDateTime"); } + set { BackingStore?.Set("quarantinedDateTime", value); } + } + /// The reason the workflow was quarantined. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? QuarantineReason + { + get { return BackingStore?.Get("quarantineReason"); } + set { BackingStore?.Set("quarantineReason", value); } + } +#nullable restore +#else + public string QuarantineReason + { + get { return BackingStore?.Get("quarantineReason"); } + set { BackingStore?.Set("quarantineReason", value); } + } +#endif + /// The quarantineType property + public global::Microsoft.Graph.Models.IdentityGovernance.QuarantineType? QuarantineType + { + get { return BackingStore?.Get("quarantineType"); } + set { BackingStore?.Set("quarantineType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public QuarantineDetails() + { + 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.Models.IdentityGovernance.QuarantineDetails CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.QuarantineDetails(); + } + /// + /// 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(); } }, + { "quarantineReason", n => { QuarantineReason = n.GetStringValue(); } }, + { "quarantineType", n => { QuarantineType = n.GetEnumValue(); } }, + { "quarantinedDateTime", n => { QuarantinedDateTime = 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.WriteStringValue("@odata.type", OdataType); + writer.WriteDateTimeOffsetValue("quarantinedDateTime", QuarantinedDateTime); + writer.WriteStringValue("quarantineReason", QuarantineReason); + writer.WriteEnumValue("quarantineType", QuarantineType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/QuarantineType.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/QuarantineType.cs new file mode 100644 index 00000000000..e3b9a2a7229 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/QuarantineType.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum QuarantineType + #pragma warning restore CS1591 + { + [EnumMember(Value = "notQuarantined")] + #pragma warning disable CS1591 + NotQuarantined, + #pragma warning restore CS1591 + [EnumMember(Value = "countBasedThresholdExceeded")] + #pragma warning disable CS1591 + CountBasedThresholdExceeded, + #pragma warning restore CS1591 + [EnumMember(Value = "percentageBasedThresholdExceeded")] + #pragma warning disable CS1591 + PercentageBasedThresholdExceeded, + #pragma warning restore CS1591 + [EnumMember(Value = "multipleConditionsExceeded")] + #pragma warning disable CS1591 + MultipleConditionsExceeded, + #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/Workflow.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/Workflow.cs index ad7b2cfc40f..d08401fb0ad 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/Workflow.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/Workflow.cs @@ -56,6 +56,38 @@ public DateTimeOffset? NextScheduleRunDateTime get { return BackingStore?.Get("nextScheduleRunDateTime"); } set { BackingStore?.Set("nextScheduleRunDateTime", value); } } + /// The preview scope for the workflow. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PreviewScope + { + get { return BackingStore?.Get?>("previewScope"); } + set { BackingStore?.Set("previewScope", value); } + } +#nullable restore +#else + public List PreviewScope + { + get { return BackingStore?.Get>("previewScope"); } + set { BackingStore?.Set("previewScope", value); } + } +#endif + /// The quarantineDetails property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityGovernance.QuarantineDetails? QuarantineDetails + { + get { return BackingStore?.Get("quarantineDetails"); } + set { BackingStore?.Set("quarantineDetails", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityGovernance.QuarantineDetails QuarantineDetails + { + get { return BackingStore?.Get("quarantineDetails"); } + set { BackingStore?.Set("quarantineDetails", value); } + } +#endif /// Workflow runs. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -71,6 +103,22 @@ public DateTimeOffset? NextScheduleRunDateTime get { return BackingStore?.Get>("runs"); } set { BackingStore?.Set("runs", value); } } +#endif + /// The settings property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityGovernance.WorkflowSetting? Settings + { + get { return BackingStore?.Get("settings"); } + set { BackingStore?.Set("settings", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityGovernance.WorkflowSetting Settings + { + get { return BackingStore?.Get("settings"); } + set { BackingStore?.Set("settings", value); } + } #endif /// Represents the aggregation of task execution data for tasks within a workflow object. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -155,7 +203,10 @@ public override IDictionary> GetFieldDeserializers() { "executionScope", n => { ExecutionScope = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityGovernance.UserProcessingResult.CreateFromDiscriminatorValue)?.AsList(); } }, { "id", n => { Id = n.GetStringValue(); } }, { "nextScheduleRunDateTime", n => { NextScheduleRunDateTime = n.GetDateTimeOffsetValue(); } }, + { "previewScope", n => { PreviewScope = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, + { "quarantineDetails", n => { QuarantineDetails = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.QuarantineDetails.CreateFromDiscriminatorValue); } }, { "runs", n => { Runs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityGovernance.Run.CreateFromDiscriminatorValue)?.AsList(); } }, + { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.WorkflowSetting.CreateFromDiscriminatorValue); } }, { "taskReports", n => { TaskReports = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityGovernance.TaskReport.CreateFromDiscriminatorValue)?.AsList(); } }, { "userProcessingResults", n => { UserProcessingResults = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityGovernance.UserProcessingResult.CreateFromDiscriminatorValue)?.AsList(); } }, { "version", n => { Version = n.GetIntValue(); } }, @@ -174,7 +225,10 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("executionScope", ExecutionScope); writer.WriteStringValue("id", Id); writer.WriteDateTimeOffsetValue("nextScheduleRunDateTime", NextScheduleRunDateTime); + writer.WriteCollectionOfObjectValues("previewScope", PreviewScope); + writer.WriteObjectValue("quarantineDetails", QuarantineDetails); writer.WriteCollectionOfObjectValues("runs", Runs); + writer.WriteObjectValue("settings", Settings); writer.WriteCollectionOfObjectValues("taskReports", TaskReports); writer.WriteCollectionOfObjectValues("userProcessingResults", UserProcessingResults); writer.WriteIntValue("version", Version); diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionType.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionType.cs index 72e8a2adb3c..41b9979eebe 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionType.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowExecutionType.cs @@ -24,5 +24,9 @@ public enum WorkflowExecutionType #pragma warning disable CS1591 ActivatedWithScope, #pragma warning restore CS1591 + [EnumMember(Value = "preview")] + #pragma warning disable CS1591 + Preview, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowSetting.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowSetting.cs new file mode 100644 index 00000000000..26ab8264ca1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowSetting.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.Models.IdentityGovernance +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WorkflowSetting : 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 + /// The threshold configuration that automatically halts the workflow when its conditions are met. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityGovernance.QuarantineConfiguration? QuarantineConfiguration + { + get { return BackingStore?.Get("quarantineConfiguration"); } + set { BackingStore?.Set("quarantineConfiguration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityGovernance.QuarantineConfiguration QuarantineConfiguration + { + get { return BackingStore?.Get("quarantineConfiguration"); } + set { BackingStore?.Set("quarantineConfiguration", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WorkflowSetting() + { + 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.Models.IdentityGovernance.WorkflowSetting CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityGovernance.WorkflowSetting(); + } + /// + /// 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(); } }, + { "quarantineConfiguration", n => { QuarantineConfiguration = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.QuarantineConfiguration.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.WriteObjectValue("quarantineConfiguration", QuarantineConfiguration); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowVersion.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowVersion.cs index 6f9422c89db..726a50f089b 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowVersion.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/WorkflowVersion.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models.IdentityGovernance public partial class WorkflowVersion : global::Microsoft.Graph.Models.IdentityGovernance.WorkflowBase, IParsable #pragma warning restore CS1591 { + /// The settings property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityGovernance.WorkflowSetting? Settings + { + get { return BackingStore?.Get("settings"); } + set { BackingStore?.Set("settings", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityGovernance.WorkflowSetting Settings + { + get { return BackingStore?.Get("settings"); } + set { BackingStore?.Set("settings", value); } + } +#endif /// The version of the workflow.Supports $filter(lt, le, gt, ge, eq, ne) and $orderby. public int? VersionNumber { @@ -43,6 +59,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "settings", n => { Settings = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityGovernance.WorkflowSetting.CreateFromDiscriminatorValue); } }, { "versionNumber", n => { VersionNumber = n.GetIntValue(); } }, }; } @@ -54,6 +71,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteObjectValue("settings", Settings); writer.WriteIntValue("versionNumber", VersionNumber); } } diff --git a/src/Microsoft.Graph/Generated/Models/NotificationEventsType.cs b/src/Microsoft.Graph/Generated/Models/NotificationEventsType.cs new file mode 100644 index 00000000000..80e86aa54b4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/NotificationEventsType.cs @@ -0,0 +1,25 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum NotificationEventsType + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "restoreAndPolicyUpdates")] + #pragma warning disable CS1591 + RestoreAndPolicyUpdates = 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/NotificationRecipients.cs b/src/Microsoft.Graph/Generated/Models/NotificationRecipients.cs new file mode 100644 index 00000000000..9a6d6588d46 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/NotificationRecipients.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class NotificationRecipients : 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; } + /// A list of users or groups that receive notifications. Only specify this property when role is set to custom. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CustomRecipients + { + get { return BackingStore?.Get?>("customRecipients"); } + set { BackingStore?.Set("customRecipients", value); } + } +#nullable restore +#else + public List CustomRecipients + { + get { return BackingStore?.Get>("customRecipients"); } + set { BackingStore?.Set("customRecipients", 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 role property + public global::Microsoft.Graph.Models.NotificationRecipientsType? Role + { + get { return BackingStore?.Get("role"); } + set { BackingStore?.Set("role", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public NotificationRecipients() + { + 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.Models.NotificationRecipients CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.NotificationRecipients(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "customRecipients", n => { CustomRecipients = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.EmailIdentity.CreateFromDiscriminatorValue)?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "role", n => { Role = 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.WriteCollectionOfObjectValues("customRecipients", CustomRecipients); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("role", Role); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/NotificationRecipientsType.cs b/src/Microsoft.Graph/Generated/Models/NotificationRecipientsType.cs new file mode 100644 index 00000000000..5c2304e0490 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/NotificationRecipientsType.cs @@ -0,0 +1,37 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + [Flags] + #pragma warning disable CS1591 + public enum NotificationRecipientsType + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None = 1, + #pragma warning restore CS1591 + [EnumMember(Value = "globalAdmins")] + #pragma warning disable CS1591 + GlobalAdmins = 2, + #pragma warning restore CS1591 + [EnumMember(Value = "backupAdmins")] + #pragma warning disable CS1591 + BackupAdmins = 4, + #pragma warning restore CS1591 + [EnumMember(Value = "custom")] + #pragma warning disable CS1591 + Custom = 8, + #pragma warning restore CS1591 + [EnumMember(Value = "allAdmins")] + #pragma warning disable CS1591 + AllAdmins = 16, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue = 32, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/OnPremisesDirectorySynchronizationFeature.cs b/src/Microsoft.Graph/Generated/Models/OnPremisesDirectorySynchronizationFeature.cs index edc47f20a40..fc15a9f77b3 100644 --- a/src/Microsoft.Graph/Generated/Models/OnPremisesDirectorySynchronizationFeature.cs +++ b/src/Microsoft.Graph/Generated/Models/OnPremisesDirectorySynchronizationFeature.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The allowOnPremUpdateOfOnPremisesObjectIdentifierEnabled property + /// When true, allows on-premises directory sync clients to update the onPremisesObjectIdentifier property. public bool? AllowOnPremUpdateOfOnPremisesObjectIdentifierEnabled { get { return BackingStore?.Get("allowOnPremUpdateOfOnPremisesObjectIdentifierEnabled"); } diff --git a/src/Microsoft.Graph/Generated/Models/PackageAccessEntity.cs b/src/Microsoft.Graph/Generated/Models/PackageAccessEntity.cs new file mode 100644 index 00000000000..b7f64f7aeda --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PackageAccessEntity.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PackageAccessEntity : 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 + /// The resourceId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ResourceId + { + get { return BackingStore?.Get("resourceId"); } + set { BackingStore?.Set("resourceId", value); } + } +#nullable restore +#else + public string ResourceId + { + get { return BackingStore?.Get("resourceId"); } + set { BackingStore?.Set("resourceId", value); } + } +#endif + /// The resourceType property + public global::Microsoft.Graph.Models.AccessEntityType? ResourceType + { + get { return BackingStore?.Get("resourceType"); } + set { BackingStore?.Set("resourceType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public PackageAccessEntity() + { + 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.Models.PackageAccessEntity CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.PackageAccessEntity(); + } + /// + /// 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(); } }, + { "resourceId", n => { ResourceId = n.GetStringValue(); } }, + { "resourceType", n => { ResourceType = 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.WriteStringValue("resourceId", ResourceId); + writer.WriteEnumValue("resourceType", ResourceType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PackageElement.cs b/src/Microsoft.Graph/Generated/Models/PackageElement.cs new file mode 100644 index 00000000000..a6657777314 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PackageElement.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PackageElement : 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 definition property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public UntypedNode? Definition + { + get { return BackingStore?.Get("definition"); } + set { BackingStore?.Set("definition", value); } + } +#nullable restore +#else + public UntypedNode Definition + { + get { return BackingStore?.Get("definition"); } + set { BackingStore?.Set("definition", value); } + } +#endif + /// The id property +#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 PackageElement() + { + 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.Models.PackageElement CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.PackageElement(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "definition", n => { Definition = n.GetObjectValue(UntypedNode.CreateFromDiscriminatorValue); } }, + { "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.WriteObjectValue("definition", Definition); + writer.WriteStringValue("id", Id); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PackageElementDetail.cs b/src/Microsoft.Graph/Generated/Models/PackageElementDetail.cs new file mode 100644 index 00000000000..dc8e95a3295 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PackageElementDetail.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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class PackageElementDetail : 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 elements property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Elements + { + get { return BackingStore?.Get?>("elements"); } + set { BackingStore?.Set("elements", value); } + } +#nullable restore +#else + public List Elements + { + get { return BackingStore?.Get>("elements"); } + set { BackingStore?.Set("elements", value); } + } +#endif + /// The elementType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ElementType + { + get { return BackingStore?.Get("elementType"); } + set { BackingStore?.Set("elementType", value); } + } +#nullable restore +#else + public string ElementType + { + get { return BackingStore?.Get("elementType"); } + set { BackingStore?.Set("elementType", 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 PackageElementDetail() + { + 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.Models.PackageElementDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.PackageElementDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "elementType", n => { ElementType = n.GetStringValue(); } }, + { "elements", n => { Elements = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PackageElement.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("elements", Elements); + writer.WriteStringValue("elementType", ElementType); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PackageStatus.cs b/src/Microsoft.Graph/Generated/Models/PackageStatus.cs new file mode 100644 index 00000000000..da82da16bda --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PackageStatus.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum PackageStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "some")] + #pragma warning disable CS1591 + Some, + #pragma warning restore CS1591 + [EnumMember(Value = "all")] + #pragma warning disable CS1591 + All, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PackageType.cs b/src/Microsoft.Graph/Generated/Models/PackageType.cs new file mode 100644 index 00000000000..ee0f60bf552 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/PackageType.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum PackageType + #pragma warning restore CS1591 + { + [EnumMember(Value = "microsoft")] + #pragma warning disable CS1591 + Microsoft, + #pragma warning restore CS1591 + [EnumMember(Value = "external")] + #pragma warning disable CS1591 + External, + #pragma warning restore CS1591 + [EnumMember(Value = "shared")] + #pragma warning disable CS1591 + Shared, + #pragma warning restore CS1591 + [EnumMember(Value = "custom")] + #pragma warning disable CS1591 + Custom, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs b/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs index b0d942a1d66..78ffdbfc057 100644 --- a/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs @@ -219,6 +219,22 @@ public partial class PolicyRoot : global::Microsoft.Graph.Models.Entity, IParsab get { return BackingStore?.Get>("featureRolloutPolicies"); } set { BackingStore?.Set("featureRolloutPolicies", value); } } +#endif + /// The federatedTokenValidationPolicy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.FederatedTokenValidationPolicy? FederatedTokenValidationPolicy + { + get { return BackingStore?.Get("federatedTokenValidationPolicy"); } + set { BackingStore?.Set("federatedTokenValidationPolicy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.FederatedTokenValidationPolicy FederatedTokenValidationPolicy + { + get { return BackingStore?.Get("federatedTokenValidationPolicy"); } + set { BackingStore?.Set("federatedTokenValidationPolicy", value); } + } #endif /// The policy to control Microsoft Entra authentication behavior for federated users. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -379,6 +395,7 @@ public override IDictionary> GetFieldDeserializers() { "defaultAppManagementPolicy", n => { DefaultAppManagementPolicy = n.GetObjectValue(global::Microsoft.Graph.Models.TenantAppManagementPolicy.CreateFromDiscriminatorValue); } }, { "deviceRegistrationPolicy", n => { DeviceRegistrationPolicy = n.GetObjectValue(global::Microsoft.Graph.Models.DeviceRegistrationPolicy.CreateFromDiscriminatorValue); } }, { "featureRolloutPolicies", n => { FeatureRolloutPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.FeatureRolloutPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, + { "federatedTokenValidationPolicy", n => { FederatedTokenValidationPolicy = n.GetObjectValue(global::Microsoft.Graph.Models.FederatedTokenValidationPolicy.CreateFromDiscriminatorValue); } }, { "homeRealmDiscoveryPolicies", n => { HomeRealmDiscoveryPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.HomeRealmDiscoveryPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "identitySecurityDefaultsEnforcementPolicy", n => { IdentitySecurityDefaultsEnforcementPolicy = n.GetObjectValue(global::Microsoft.Graph.Models.IdentitySecurityDefaultsEnforcementPolicy.CreateFromDiscriminatorValue); } }, { "ownerlessGroupPolicy", n => { OwnerlessGroupPolicy = n.GetObjectValue(global::Microsoft.Graph.Models.OwnerlessGroupPolicy.CreateFromDiscriminatorValue); } }, @@ -410,6 +427,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteObjectValue("defaultAppManagementPolicy", DefaultAppManagementPolicy); writer.WriteObjectValue("deviceRegistrationPolicy", DeviceRegistrationPolicy); writer.WriteCollectionOfObjectValues("featureRolloutPolicies", FeatureRolloutPolicies); + writer.WriteObjectValue("federatedTokenValidationPolicy", FederatedTokenValidationPolicy); writer.WriteCollectionOfObjectValues("homeRealmDiscoveryPolicies", HomeRealmDiscoveryPolicies); writer.WriteObjectValue("identitySecurityDefaultsEnforcementPolicy", IdentitySecurityDefaultsEnforcementPolicy); writer.WriteObjectValue("ownerlessGroupPolicy", OwnerlessGroupPolicy); diff --git a/src/Microsoft.Graph/Generated/Models/ProfileCardProperty.cs b/src/Microsoft.Graph/Generated/Models/ProfileCardProperty.cs index 4491f9db44f..5ffda52b743 100644 --- a/src/Microsoft.Graph/Generated/Models/ProfileCardProperty.cs +++ b/src/Microsoft.Graph/Generated/Models/ProfileCardProperty.cs @@ -44,6 +44,12 @@ public string DirectoryPropertyName set { BackingStore?.Set("directoryPropertyName", value); } } #endif + /// Indicates whether the given directory property should be shown on a user’s profile card. + public bool? IsVisible + { + get { return BackingStore?.Get("isVisible"); } + set { BackingStore?.Set("isVisible", value); } + } /// /// Creates a new instance of the appropriate class based on discriminator value /// @@ -64,6 +70,7 @@ public override IDictionary> GetFieldDeserializers() { { "annotations", n => { Annotations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ProfileCardAnnotation.CreateFromDiscriminatorValue)?.AsList(); } }, { "directoryPropertyName", n => { DirectoryPropertyName = n.GetStringValue(); } }, + { "isVisible", n => { IsVisible = n.GetBoolValue(); } }, }; } /// @@ -76,6 +83,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteCollectionOfObjectValues("annotations", Annotations); writer.WriteStringValue("directoryPropertyName", DirectoryPropertyName); + writer.WriteBoolValue("isVisible", IsVisible); } } } diff --git a/src/Microsoft.Graph/Generated/Models/Reminder.cs b/src/Microsoft.Graph/Generated/Models/Reminder.cs index ebd66f16b7b..262bf42193e 100644 --- a/src/Microsoft.Graph/Generated/Models/Reminder.cs +++ b/src/Microsoft.Graph/Generated/Models/Reminder.cs @@ -53,7 +53,7 @@ public string ChangeKey set { BackingStore?.Set("eventEndTime", value); } } #endif - /// The unique ID of the event. Read only. + /// The unique ID of the event. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? EventId diff --git a/src/Microsoft.Graph/Generated/Models/RoleType.cs b/src/Microsoft.Graph/Generated/Models/RoleType.cs new file mode 100644 index 00000000000..b2c120b4415 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RoleType.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum RoleType + #pragma warning restore CS1591 + { + [EnumMember(Value = "active")] + #pragma warning disable CS1591 + Active, + #pragma warning restore CS1591 + [EnumMember(Value = "eligible")] + #pragma warning disable CS1591 + Eligible, + #pragma warning restore CS1591 + [EnumMember(Value = "application")] + #pragma warning disable CS1591 + Application, + #pragma warning restore CS1591 + [EnumMember(Value = "delegated")] + #pragma warning disable CS1591 + Delegated, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/RootDomains.cs b/src/Microsoft.Graph/Generated/Models/RootDomains.cs new file mode 100644 index 00000000000..443fd14abde --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RootDomains.cs @@ -0,0 +1,40 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum RootDomains + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "all")] + #pragma warning disable CS1591 + All, + #pragma warning restore CS1591 + [EnumMember(Value = "allFederated")] + #pragma warning disable CS1591 + AllFederated, + #pragma warning restore CS1591 + [EnumMember(Value = "allManaged")] + #pragma warning disable CS1591 + AllManaged, + #pragma warning restore CS1591 + [EnumMember(Value = "enumerated")] + #pragma warning disable CS1591 + Enumerated, + #pragma warning restore CS1591 + [EnumMember(Value = "allManagedAndEnumeratedFederated")] + #pragma warning disable CS1591 + AllManagedAndEnumeratedFederated, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Schedule.cs b/src/Microsoft.Graph/Generated/Models/Schedule.cs index 4d818778c67..bed3e6ed8d9 100644 --- a/src/Microsoft.Graph/Generated/Models/Schedule.cs +++ b/src/Microsoft.Graph/Generated/Models/Schedule.cs @@ -274,7 +274,7 @@ public bool? TimeOffRequestsEnabled set { BackingStore?.Set("timesOff", value); } } #endif - /// Indicates the time zone of the schedule team using tz database format. Required. + /// The time zone of the schedule team as an IANA time zone database (tz database) name; for example, America/Chicago. For the full list of valid values, see List of tz database time zones. Required. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TimeZone diff --git a/src/Microsoft.Graph/Generated/Models/Security/AdditionalDataOptions.cs b/src/Microsoft.Graph/Generated/Models/Security/AdditionalDataOptions.cs index e17b77769e4..224b584fd0e 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/AdditionalDataOptions.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/AdditionalDataOptions.cs @@ -45,5 +45,9 @@ public enum AdditionalDataOptions #pragma warning disable CS1591 AllItemsInFolder = 256, #pragma warning restore CS1591 + [EnumMember(Value = "cloudNativeHtmlConversion")] + #pragma warning disable CS1591 + CloudNativeHtmlConversion = 512, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmail.cs b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmail.cs new file mode 100644 index 00000000000..d22c6bd678e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmail.cs @@ -0,0 +1,682 @@ +// +#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.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AnalyzedEmail : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// A collection of values that contain the IDs of any alerts associated with the email. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AlertIds + { + get { return BackingStore?.Get?>("alertIds"); } + set { BackingStore?.Set("alertIds", value); } + } +#nullable restore +#else + public List AlertIds + { + get { return BackingStore?.Get>("alertIds"); } + set { BackingStore?.Set("alertIds", value); } + } +#endif + /// A collection of the attachments in the email. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Attachments + { + get { return BackingStore?.Get?>("attachments"); } + set { BackingStore?.Set("attachments", value); } + } +#nullable restore +#else + public List Attachments + { + get { return BackingStore?.Get>("attachments"); } + set { BackingStore?.Set("attachments", value); } + } +#endif + /// The authentication details associated with the email. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.Security.AnalyzedEmailAuthenticationDetail? AuthenticationDetails + { + get { return BackingStore?.Get("authenticationDetails"); } + set { BackingStore?.Set("authenticationDetails", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.Security.AnalyzedEmailAuthenticationDetail AuthenticationDetails + { + get { return BackingStore?.Get("authenticationDetails"); } + set { BackingStore?.Set("authenticationDetails", value); } + } +#endif + /// The bulk complaint level of the email. A higher level is more likely to be spam. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BulkComplaintLevel + { + get { return BackingStore?.Get("bulkComplaintLevel"); } + set { BackingStore?.Set("bulkComplaintLevel", value); } + } +#nullable restore +#else + public string BulkComplaintLevel + { + get { return BackingStore?.Get("bulkComplaintLevel"); } + set { BackingStore?.Set("bulkComplaintLevel", value); } + } +#endif + /// Shows the type of client that sent the message (for example, REST). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ClientType + { + get { return BackingStore?.Get("clientType"); } + set { BackingStore?.Set("clientType", value); } + } +#nullable restore +#else + public string ClientType + { + get { return BackingStore?.Get("clientType"); } + set { BackingStore?.Set("clientType", value); } + } +#endif + /// Provides context of the email. +#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 + /// The methods of detection used. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DetectionMethods + { + get { return BackingStore?.Get?>("detectionMethods"); } + set { BackingStore?.Set("detectionMethods", value); } + } +#nullable restore +#else + public List DetectionMethods + { + get { return BackingStore?.Get>("detectionMethods"); } + set { BackingStore?.Set("detectionMethods", value); } + } +#endif + /// The direction of the emails. The possible values are: unknown, inbound, outbound, intraOrg, unknownFutureValue. + public global::Microsoft.Graph.Models.Security.AntispamDirectionality? Directionality + { + get { return BackingStore?.Get("directionality"); } + set { BackingStore?.Set("directionality", value); } + } + /// The distribution list details to which the email was sent. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DistributionList + { + get { return BackingStore?.Get("distributionList"); } + set { BackingStore?.Set("distributionList", value); } + } +#nullable restore +#else + public string DistributionList + { + get { return BackingStore?.Get("distributionList"); } + set { BackingStore?.Set("distributionList", value); } + } +#endif + /// Data loss prevention rules configured in purview. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? DlpRules + { + get { return BackingStore?.Get?>("dlpRules"); } + set { BackingStore?.Set("dlpRules", value); } + } +#nullable restore +#else + public List DlpRules + { + get { return BackingStore?.Get>("dlpRules"); } + set { BackingStore?.Set("dlpRules", value); } + } +#endif + /// The identifier for the group of similar emails clustered based on heuristic analysis of their content. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EmailClusterId + { + get { return BackingStore?.Get("emailClusterId"); } + set { BackingStore?.Set("emailClusterId", value); } + } +#nullable restore +#else + public string EmailClusterId + { + get { return BackingStore?.Get("emailClusterId"); } + set { BackingStore?.Set("emailClusterId", value); } + } +#endif + /// The name of the Exchange transport rules (ETRs) associated with the email. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ExchangeTransportRules + { + get { return BackingStore?.Get?>("exchangeTransportRules"); } + set { BackingStore?.Set("exchangeTransportRules", value); } + } +#nullable restore +#else + public List ExchangeTransportRules + { + get { return BackingStore?.Get>("exchangeTransportRules"); } + set { BackingStore?.Set("exchangeTransportRules", value); } + } +#endif + /// Email smtp forwarding details. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ForwardingDetail + { + get { return BackingStore?.Get("forwardingDetail"); } + set { BackingStore?.Set("forwardingDetail", value); } + } +#nullable restore +#else + public string ForwardingDetail + { + get { return BackingStore?.Get("forwardingDetail"); } + set { BackingStore?.Set("forwardingDetail", value); } + } +#endif + /// Custom instructions name that defines organizational mail flow and how the email was routed. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? InboundConnectorFormattedName + { + get { return BackingStore?.Get("inboundConnectorFormattedName"); } + set { BackingStore?.Set("inboundConnectorFormattedName", value); } + } +#nullable restore +#else + public string InboundConnectorFormattedName + { + get { return BackingStore?.Get("inboundConnectorFormattedName"); } + set { BackingStore?.Set("inboundConnectorFormattedName", value); } + } +#endif + /// A public-facing identifier for the email that is sent. The message ID is in the format specified by RFC2822. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? InternetMessageId + { + get { return BackingStore?.Get("internetMessageId"); } + set { BackingStore?.Set("internetMessageId", value); } + } +#nullable restore +#else + public string InternetMessageId + { + get { return BackingStore?.Get("internetMessageId"); } + set { BackingStore?.Set("internetMessageId", value); } + } +#endif + /// The detected language of the email content. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Language + { + get { return BackingStore?.Get("language"); } + set { BackingStore?.Set("language", value); } + } +#nullable restore +#else + public string Language + { + get { return BackingStore?.Get("language"); } + set { BackingStore?.Set("language", value); } + } +#endif + /// The latest delivery details of the email. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.Security.AnalyzedEmailDeliveryDetail? LatestDelivery + { + get { return BackingStore?.Get("latestDelivery"); } + set { BackingStore?.Set("latestDelivery", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.Security.AnalyzedEmailDeliveryDetail LatestDelivery + { + get { return BackingStore?.Get("latestDelivery"); } + set { BackingStore?.Set("latestDelivery", value); } + } +#endif + /// Date-time when the email record was logged. + public DateTimeOffset? LoggedDateTime + { + get { return BackingStore?.Get("loggedDateTime"); } + set { BackingStore?.Set("loggedDateTime", value); } + } + /// An internal identifier for the email generated by Microsoft 365. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? NetworkMessageId + { + get { return BackingStore?.Get("networkMessageId"); } + set { BackingStore?.Set("networkMessageId", value); } + } +#nullable restore +#else + public string NetworkMessageId + { + get { return BackingStore?.Get("networkMessageId"); } + set { BackingStore?.Set("networkMessageId", value); } + } +#endif + /// The original delivery details of the email. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.Security.AnalyzedEmailDeliveryDetail? OriginalDelivery + { + get { return BackingStore?.Get("originalDelivery"); } + set { BackingStore?.Set("originalDelivery", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.Security.AnalyzedEmailDeliveryDetail OriginalDelivery + { + get { return BackingStore?.Get("originalDelivery"); } + set { BackingStore?.Set("originalDelivery", value); } + } +#endif + /// An aggregated list of all overrides with source on email. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? OverrideSources + { + get { return BackingStore?.Get?>("overrideSources"); } + set { BackingStore?.Set("overrideSources", value); } + } +#nullable restore +#else + public List OverrideSources + { + get { return BackingStore?.Get>("overrideSources"); } + set { BackingStore?.Set("overrideSources", value); } + } +#endif + /// The phish confidence level associated with the email +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PhishConfidenceLevel + { + get { return BackingStore?.Get("phishConfidenceLevel"); } + set { BackingStore?.Set("phishConfidenceLevel", value); } + } +#nullable restore +#else + public string PhishConfidenceLevel + { + get { return BackingStore?.Get("phishConfidenceLevel"); } + set { BackingStore?.Set("phishConfidenceLevel", value); } + } +#endif + /// The action policy that took effect. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Policy + { + get { return BackingStore?.Get("policy"); } + set { BackingStore?.Set("policy", value); } + } +#nullable restore +#else + public string Policy + { + get { return BackingStore?.Get("policy"); } + set { BackingStore?.Set("policy", value); } + } +#endif + /// The action taken on the email based on the configured policy. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyAction + { + get { return BackingStore?.Get("policyAction"); } + set { BackingStore?.Set("policyAction", value); } + } +#nullable restore +#else + public string PolicyAction + { + get { return BackingStore?.Get("policyAction"); } + set { BackingStore?.Set("policyAction", value); } + } +#endif + /// Type of policy configured that defines the delivery action on email. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyType + { + get { return BackingStore?.Get("policyType"); } + set { BackingStore?.Set("policyType", value); } + } +#nullable restore +#else + public string PolicyType + { + get { return BackingStore?.Get("policyType"); } + set { BackingStore?.Set("policyType", value); } + } +#endif + /// Shows the organization or user setting that altered the intended delivery location of the message (allowed instead of blocked, or blocked instead of allowed). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PrimaryOverrideSource + { + get { return BackingStore?.Get("primaryOverrideSource"); } + set { BackingStore?.Set("primaryOverrideSource", value); } + } +#nullable restore +#else + public string PrimaryOverrideSource + { + get { return BackingStore?.Get("primaryOverrideSource"); } + set { BackingStore?.Set("primaryOverrideSource", value); } + } +#endif + /// Details of the recipients. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.Security.AnalyzedEmailRecipientDetail? RecipientDetail + { + get { return BackingStore?.Get("recipientDetail"); } + set { BackingStore?.Set("recipientDetail", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.Security.AnalyzedEmailRecipientDetail RecipientDetail + { + get { return BackingStore?.Get("recipientDetail"); } + set { BackingStore?.Set("recipientDetail", value); } + } +#endif + /// Contains the email address of the recipient. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RecipientEmailAddress + { + get { return BackingStore?.Get("recipientEmailAddress"); } + set { BackingStore?.Set("recipientEmailAddress", value); } + } +#nullable restore +#else + public string RecipientEmailAddress + { + get { return BackingStore?.Get("recipientEmailAddress"); } + set { BackingStore?.Set("recipientEmailAddress", value); } + } +#endif + /// A field that indicates where and how bounced emails are processed. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ReturnPath + { + get { return BackingStore?.Get("returnPath"); } + set { BackingStore?.Set("returnPath", value); } + } +#nullable restore +#else + public string ReturnPath + { + get { return BackingStore?.Get("returnPath"); } + set { BackingStore?.Set("returnPath", value); } + } +#endif + /// Sender details of the email. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.Security.AnalyzedEmailSenderDetail? SenderDetail + { + get { return BackingStore?.Get("senderDetail"); } + set { BackingStore?.Set("senderDetail", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.Security.AnalyzedEmailSenderDetail SenderDetail + { + get { return BackingStore?.Get("senderDetail"); } + set { BackingStore?.Set("senderDetail", value); } + } +#endif + /// Size of the email in bytes. + public int? SizeInBytes + { + get { return BackingStore?.Get("sizeInBytes"); } + set { BackingStore?.Set("sizeInBytes", value); } + } + /// Spam confidence of the email. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SpamConfidenceLevel + { + get { return BackingStore?.Get("spamConfidenceLevel"); } + set { BackingStore?.Set("spamConfidenceLevel", value); } + } +#nullable restore +#else + public string SpamConfidenceLevel + { + get { return BackingStore?.Get("spamConfidenceLevel"); } + set { BackingStore?.Set("spamConfidenceLevel", value); } + } +#endif + /// Subject of the email. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Subject + { + get { return BackingStore?.Get("subject"); } + set { BackingStore?.Set("subject", value); } + } +#nullable restore +#else + public string Subject + { + get { return BackingStore?.Get("subject"); } + set { BackingStore?.Set("subject", value); } + } +#endif + /// Information about threats detected in the email. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ThreatDetectionDetails + { + get { return BackingStore?.Get?>("threatDetectionDetails"); } + set { BackingStore?.Set("threatDetectionDetails", value); } + } +#nullable restore +#else + public List ThreatDetectionDetails + { + get { return BackingStore?.Get>("threatDetectionDetails"); } + set { BackingStore?.Set("threatDetectionDetails", value); } + } +#endif + /// Indicates the threat types. The possible values are: unknown, spam, malware, phish, none, unknownFutureValue. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ThreatTypes + { + get { return BackingStore?.Get?>("threatTypes"); } + set { BackingStore?.Set("threatTypes", value); } + } +#nullable restore +#else + public List ThreatTypes + { + get { return BackingStore?.Get>("threatTypes"); } + set { BackingStore?.Set("threatTypes", value); } + } +#endif + /// Delivery and post-delivery events that happened to the email. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? TimelineEvents + { + get { return BackingStore?.Get?>("timelineEvents"); } + set { BackingStore?.Set("timelineEvents", value); } + } +#nullable restore +#else + public List TimelineEvents + { + get { return BackingStore?.Get>("timelineEvents"); } + set { BackingStore?.Set("timelineEvents", value); } + } +#endif + /// A collection of the URLs in the email. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Urls + { + get { return BackingStore?.Get?>("urls"); } + set { BackingStore?.Set("urls", value); } + } +#nullable restore +#else + public List Urls + { + get { return BackingStore?.Get>("urls"); } + set { BackingStore?.Set("urls", 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.Models.Security.AnalyzedEmail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.AnalyzedEmail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "alertIds", n => { AlertIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "attachments", n => { Attachments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.AnalyzedEmailAttachment.CreateFromDiscriminatorValue)?.AsList(); } }, + { "authenticationDetails", n => { AuthenticationDetails = n.GetObjectValue(global::Microsoft.Graph.Models.Security.AnalyzedEmailAuthenticationDetail.CreateFromDiscriminatorValue); } }, + { "bulkComplaintLevel", n => { BulkComplaintLevel = n.GetStringValue(); } }, + { "clientType", n => { ClientType = n.GetStringValue(); } }, + { "contexts", n => { Contexts = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "detectionMethods", n => { DetectionMethods = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "directionality", n => { Directionality = n.GetEnumValue(); } }, + { "distributionList", n => { DistributionList = n.GetStringValue(); } }, + { "dlpRules", n => { DlpRules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.AnalyzedEmailDlpRuleInfo.CreateFromDiscriminatorValue)?.AsList(); } }, + { "emailClusterId", n => { EmailClusterId = n.GetStringValue(); } }, + { "exchangeTransportRules", n => { ExchangeTransportRules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.AnalyzedEmailExchangeTransportRuleInfo.CreateFromDiscriminatorValue)?.AsList(); } }, + { "forwardingDetail", n => { ForwardingDetail = n.GetStringValue(); } }, + { "inboundConnectorFormattedName", n => { InboundConnectorFormattedName = n.GetStringValue(); } }, + { "internetMessageId", n => { InternetMessageId = n.GetStringValue(); } }, + { "language", n => { Language = n.GetStringValue(); } }, + { "latestDelivery", n => { LatestDelivery = n.GetObjectValue(global::Microsoft.Graph.Models.Security.AnalyzedEmailDeliveryDetail.CreateFromDiscriminatorValue); } }, + { "loggedDateTime", n => { LoggedDateTime = n.GetDateTimeOffsetValue(); } }, + { "networkMessageId", n => { NetworkMessageId = n.GetStringValue(); } }, + { "originalDelivery", n => { OriginalDelivery = n.GetObjectValue(global::Microsoft.Graph.Models.Security.AnalyzedEmailDeliveryDetail.CreateFromDiscriminatorValue); } }, + { "overrideSources", n => { OverrideSources = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "phishConfidenceLevel", n => { PhishConfidenceLevel = n.GetStringValue(); } }, + { "policy", n => { Policy = n.GetStringValue(); } }, + { "policyAction", n => { PolicyAction = n.GetStringValue(); } }, + { "policyType", n => { PolicyType = n.GetStringValue(); } }, + { "primaryOverrideSource", n => { PrimaryOverrideSource = n.GetStringValue(); } }, + { "recipientDetail", n => { RecipientDetail = n.GetObjectValue(global::Microsoft.Graph.Models.Security.AnalyzedEmailRecipientDetail.CreateFromDiscriminatorValue); } }, + { "recipientEmailAddress", n => { RecipientEmailAddress = n.GetStringValue(); } }, + { "returnPath", n => { ReturnPath = n.GetStringValue(); } }, + { "senderDetail", n => { SenderDetail = n.GetObjectValue(global::Microsoft.Graph.Models.Security.AnalyzedEmailSenderDetail.CreateFromDiscriminatorValue); } }, + { "sizeInBytes", n => { SizeInBytes = n.GetIntValue(); } }, + { "spamConfidenceLevel", n => { SpamConfidenceLevel = n.GetStringValue(); } }, + { "subject", n => { Subject = n.GetStringValue(); } }, + { "threatDetectionDetails", n => { ThreatDetectionDetails = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.ThreatDetectionDetail.CreateFromDiscriminatorValue)?.AsList(); } }, + { "threatTypes", n => { ThreatTypes = n.GetCollectionOfEnumValues()?.AsList(); } }, + { "timelineEvents", n => { TimelineEvents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.TimelineEvent.CreateFromDiscriminatorValue)?.AsList(); } }, + { "urls", n => { Urls = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.AnalyzedEmailUrl.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.WriteCollectionOfPrimitiveValues("alertIds", AlertIds); + writer.WriteCollectionOfObjectValues("attachments", Attachments); + writer.WriteObjectValue("authenticationDetails", AuthenticationDetails); + writer.WriteStringValue("bulkComplaintLevel", BulkComplaintLevel); + writer.WriteStringValue("clientType", ClientType); + writer.WriteCollectionOfPrimitiveValues("contexts", Contexts); + writer.WriteCollectionOfPrimitiveValues("detectionMethods", DetectionMethods); + writer.WriteEnumValue("directionality", Directionality); + writer.WriteStringValue("distributionList", DistributionList); + writer.WriteCollectionOfObjectValues("dlpRules", DlpRules); + writer.WriteStringValue("emailClusterId", EmailClusterId); + writer.WriteCollectionOfObjectValues("exchangeTransportRules", ExchangeTransportRules); + writer.WriteStringValue("forwardingDetail", ForwardingDetail); + writer.WriteStringValue("inboundConnectorFormattedName", InboundConnectorFormattedName); + writer.WriteStringValue("internetMessageId", InternetMessageId); + writer.WriteStringValue("language", Language); + writer.WriteObjectValue("latestDelivery", LatestDelivery); + writer.WriteDateTimeOffsetValue("loggedDateTime", LoggedDateTime); + writer.WriteStringValue("networkMessageId", NetworkMessageId); + writer.WriteObjectValue("originalDelivery", OriginalDelivery); + writer.WriteCollectionOfPrimitiveValues("overrideSources", OverrideSources); + writer.WriteStringValue("phishConfidenceLevel", PhishConfidenceLevel); + writer.WriteStringValue("policy", Policy); + writer.WriteStringValue("policyAction", PolicyAction); + writer.WriteStringValue("policyType", PolicyType); + writer.WriteStringValue("primaryOverrideSource", PrimaryOverrideSource); + writer.WriteObjectValue("recipientDetail", RecipientDetail); + writer.WriteStringValue("recipientEmailAddress", RecipientEmailAddress); + writer.WriteStringValue("returnPath", ReturnPath); + writer.WriteObjectValue("senderDetail", SenderDetail); + writer.WriteIntValue("sizeInBytes", SizeInBytes); + writer.WriteStringValue("spamConfidenceLevel", SpamConfidenceLevel); + writer.WriteStringValue("subject", Subject); + writer.WriteCollectionOfObjectValues("threatDetectionDetails", ThreatDetectionDetails); + writer.WriteCollectionOfEnumValues("threatTypes", ThreatTypes); + writer.WriteCollectionOfObjectValues("timelineEvents", TimelineEvents); + writer.WriteCollectionOfObjectValues("urls", Urls); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailAttachment.cs b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailAttachment.cs new file mode 100644 index 00000000000..20cffb2b421 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailAttachment.cs @@ -0,0 +1,223 @@ +// +#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.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AnalyzedEmailAttachment : 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 detonation details of the attachment. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.Security.DetonationDetails? DetonationDetails + { + get { return BackingStore?.Get("detonationDetails"); } + set { BackingStore?.Set("detonationDetails", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.Security.DetonationDetails DetonationDetails + { + get { return BackingStore?.Get("detonationDetails"); } + set { BackingStore?.Set("detonationDetails", value); } + } +#endif + /// Extension of the file. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FileExtension + { + get { return BackingStore?.Get("fileExtension"); } + set { BackingStore?.Set("fileExtension", value); } + } +#nullable restore +#else + public string FileExtension + { + get { return BackingStore?.Get("fileExtension"); } + set { BackingStore?.Set("fileExtension", value); } + } +#endif + /// The name of the attachment in the email. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FileName + { + get { return BackingStore?.Get("fileName"); } + set { BackingStore?.Set("fileName", value); } + } +#nullable restore +#else + public string FileName + { + get { return BackingStore?.Get("fileName"); } + set { BackingStore?.Set("fileName", value); } + } +#endif + /// Size of the file. + public int? FileSize + { + get { return BackingStore?.Get("fileSize"); } + set { BackingStore?.Set("fileSize", value); } + } + /// The type of the attachment in the email. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FileType + { + get { return BackingStore?.Get("fileType"); } + set { BackingStore?.Set("fileType", value); } + } +#nullable restore +#else + public string FileType + { + get { return BackingStore?.Get("fileType"); } + set { BackingStore?.Set("fileType", value); } + } +#endif + /// The threat name associated with the threat type. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MalwareFamily + { + get { return BackingStore?.Get("malwareFamily"); } + set { BackingStore?.Set("malwareFamily", value); } + } +#nullable restore +#else + public string MalwareFamily + { + get { return BackingStore?.Get("malwareFamily"); } + set { BackingStore?.Set("malwareFamily", 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 SHA256 file hash of the attachment. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Sha256 + { + get { return BackingStore?.Get("sha256"); } + set { BackingStore?.Set("sha256", value); } + } +#nullable restore +#else + public string Sha256 + { + get { return BackingStore?.Get("sha256"); } + set { BackingStore?.Set("sha256", value); } + } +#endif + /// Details of entries in tenant allow/block list configured by tenant. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TenantAllowBlockListDetailInfo + { + get { return BackingStore?.Get("tenantAllowBlockListDetailInfo"); } + set { BackingStore?.Set("tenantAllowBlockListDetailInfo", value); } + } +#nullable restore +#else + public string TenantAllowBlockListDetailInfo + { + get { return BackingStore?.Get("tenantAllowBlockListDetailInfo"); } + set { BackingStore?.Set("tenantAllowBlockListDetailInfo", value); } + } +#endif + /// The threat type associated with the attachment. The possible values are: unknown, spam, malware, phishing, none, unknownFutureValue. + public global::Microsoft.Graph.Models.Security.ThreatType? ThreatType + { + get { return BackingStore?.Get("threatType"); } + set { BackingStore?.Set("threatType", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public AnalyzedEmailAttachment() + { + 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.Models.Security.AnalyzedEmailAttachment CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.AnalyzedEmailAttachment(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "detonationDetails", n => { DetonationDetails = n.GetObjectValue(global::Microsoft.Graph.Models.Security.DetonationDetails.CreateFromDiscriminatorValue); } }, + { "fileExtension", n => { FileExtension = n.GetStringValue(); } }, + { "fileName", n => { FileName = n.GetStringValue(); } }, + { "fileSize", n => { FileSize = n.GetIntValue(); } }, + { "fileType", n => { FileType = n.GetStringValue(); } }, + { "malwareFamily", n => { MalwareFamily = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sha256", n => { Sha256 = n.GetStringValue(); } }, + { "tenantAllowBlockListDetailInfo", n => { TenantAllowBlockListDetailInfo = n.GetStringValue(); } }, + { "threatType", n => { ThreatType = 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.WriteObjectValue("detonationDetails", DetonationDetails); + writer.WriteStringValue("fileExtension", FileExtension); + writer.WriteStringValue("fileName", FileName); + writer.WriteIntValue("fileSize", FileSize); + writer.WriteStringValue("fileType", FileType); + writer.WriteStringValue("malwareFamily", MalwareFamily); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("sha256", Sha256); + writer.WriteStringValue("tenantAllowBlockListDetailInfo", TenantAllowBlockListDetailInfo); + writer.WriteEnumValue("threatType", ThreatType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailAuthenticationDetail.cs b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailAuthenticationDetail.cs new file mode 100644 index 00000000000..009ddac1d9d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailAuthenticationDetail.cs @@ -0,0 +1,153 @@ +// +#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.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AnalyzedEmailAuthenticationDetail : 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; } + /// A value used by Microsoft 365 to combine email authentication such as SPF, DKIM, and DMARC, to determine whether the message is authentic. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CompositeAuthentication + { + get { return BackingStore?.Get("compositeAuthentication"); } + set { BackingStore?.Set("compositeAuthentication", value); } + } +#nullable restore +#else + public string CompositeAuthentication + { + get { return BackingStore?.Get("compositeAuthentication"); } + set { BackingStore?.Set("compositeAuthentication", value); } + } +#endif + /// DomainKeys identified mail (DKIM). Indicates whether it was pass/fail/soft fail. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Dkim + { + get { return BackingStore?.Get("dkim"); } + set { BackingStore?.Set("dkim", value); } + } +#nullable restore +#else + public string Dkim + { + get { return BackingStore?.Get("dkim"); } + set { BackingStore?.Set("dkim", value); } + } +#endif + /// Domain-based Message Authentication. Indicates whether it was pass/fail/soft fail. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Dmarc + { + get { return BackingStore?.Get("dmarc"); } + set { BackingStore?.Set("dmarc", value); } + } +#nullable restore +#else + public string Dmarc + { + get { return BackingStore?.Get("dmarc"); } + set { BackingStore?.Set("dmarc", 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 + /// Sender Policy Framework (SPF). Indicates whether it was pass/fail/soft fail. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SenderPolicyFramework + { + get { return BackingStore?.Get("senderPolicyFramework"); } + set { BackingStore?.Set("senderPolicyFramework", value); } + } +#nullable restore +#else + public string SenderPolicyFramework + { + get { return BackingStore?.Get("senderPolicyFramework"); } + set { BackingStore?.Set("senderPolicyFramework", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AnalyzedEmailAuthenticationDetail() + { + 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.Models.Security.AnalyzedEmailAuthenticationDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.AnalyzedEmailAuthenticationDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "compositeAuthentication", n => { CompositeAuthentication = n.GetStringValue(); } }, + { "dkim", n => { Dkim = n.GetStringValue(); } }, + { "dmarc", n => { Dmarc = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "senderPolicyFramework", n => { SenderPolicyFramework = 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("compositeAuthentication", CompositeAuthentication); + writer.WriteStringValue("dkim", Dkim); + writer.WriteStringValue("dmarc", Dmarc); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("senderPolicyFramework", SenderPolicyFramework); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailCollectionResponse.cs new file mode 100644 index 00000000000..bd0ab4c6705 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailCollectionResponse.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.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AnalyzedEmailCollectionResponse : global::Microsoft.Graph.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.Models.Security.AnalyzedEmailCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.AnalyzedEmailCollectionResponse(); + } + /// + /// 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.Models.Security.AnalyzedEmail.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/AnalyzedEmailDeliveryDetail.cs b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailDeliveryDetail.cs new file mode 100644 index 00000000000..8ee7fcd37e5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailDeliveryDetail.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.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AnalyzedEmailDeliveryDetail : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The delivery action of the email. The possible values are: unknown, deliveredToJunk, delivered, blocked, replaced, unknownFutureValue. + public global::Microsoft.Graph.Models.Security.DeliveryAction? Action + { + get { return BackingStore?.Get("action"); } + set { BackingStore?.Set("action", 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; } + /// Latest known threat on the email. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? LatestThreats + { + get { return BackingStore?.Get("latestThreats"); } + set { BackingStore?.Set("latestThreats", value); } + } +#nullable restore +#else + public string LatestThreats + { + get { return BackingStore?.Get("latestThreats"); } + set { BackingStore?.Set("latestThreats", value); } + } +#endif + /// The delivery location of the email. The possible values are: unknown, inboxfolder, junkFolder, deletedFolder, quarantine, onpremexternal, failed, dropped, others, unknownFutureValue. + public global::Microsoft.Graph.Models.Security.DeliveryLocation? Location + { + get { return BackingStore?.Get("location"); } + set { BackingStore?.Set("location", 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 + /// Threats identified at the time of delivery. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OriginalThreats + { + get { return BackingStore?.Get("originalThreats"); } + set { BackingStore?.Set("originalThreats", value); } + } +#nullable restore +#else + public string OriginalThreats + { + get { return BackingStore?.Get("originalThreats"); } + set { BackingStore?.Set("originalThreats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AnalyzedEmailDeliveryDetail() + { + 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.Models.Security.AnalyzedEmailDeliveryDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.AnalyzedEmailDeliveryDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "action", n => { Action = n.GetEnumValue(); } }, + { "latestThreats", n => { LatestThreats = n.GetStringValue(); } }, + { "location", n => { Location = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "originalThreats", n => { OriginalThreats = 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("action", Action); + writer.WriteStringValue("latestThreats", LatestThreats); + writer.WriteEnumValue("location", Location); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("originalThreats", OriginalThreats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailDlpRuleInfo.cs b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailDlpRuleInfo.cs new file mode 100644 index 00000000000..5f18c256c9c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailDlpRuleInfo.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.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AnalyzedEmailDlpRuleInfo : 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; } + /// Name of the the data loss prevention rule. +#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 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 + /// Unique identifier of the data loss prevention rule. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RuleId + { + get { return BackingStore?.Get("ruleId"); } + set { BackingStore?.Set("ruleId", value); } + } +#nullable restore +#else + public string RuleId + { + get { return BackingStore?.Get("ruleId"); } + set { BackingStore?.Set("ruleId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AnalyzedEmailDlpRuleInfo() + { + 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.Models.Security.AnalyzedEmailDlpRuleInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.AnalyzedEmailDlpRuleInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "ruleId", n => { RuleId = 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("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("ruleId", RuleId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailExchangeTransportRuleInfo.cs b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailExchangeTransportRuleInfo.cs new file mode 100644 index 00000000000..8d6e128902b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailExchangeTransportRuleInfo.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.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AnalyzedEmailExchangeTransportRuleInfo : 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; } + /// Name of the Exchange transport rules (ETRs) that are part of the email. +#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 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 ETR rule ID. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RuleId + { + get { return BackingStore?.Get("ruleId"); } + set { BackingStore?.Set("ruleId", value); } + } +#nullable restore +#else + public string RuleId + { + get { return BackingStore?.Get("ruleId"); } + set { BackingStore?.Set("ruleId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AnalyzedEmailExchangeTransportRuleInfo() + { + 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.Models.Security.AnalyzedEmailExchangeTransportRuleInfo CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.AnalyzedEmailExchangeTransportRuleInfo(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "ruleId", n => { RuleId = 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("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("ruleId", RuleId); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailRecipientDetail.cs b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailRecipientDetail.cs new file mode 100644 index 00000000000..1c3d3249d1d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailRecipientDetail.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.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AnalyzedEmailRecipientDetail : 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; } + /// Recipient address in the cc field. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CcRecipients + { + get { return BackingStore?.Get?>("ccRecipients"); } + set { BackingStore?.Set("ccRecipients", value); } + } +#nullable restore +#else + public List CcRecipients + { + get { return BackingStore?.Get>("ccRecipients"); } + set { BackingStore?.Set("ccRecipients", value); } + } +#endif + /// Domain name of the recipient. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DomainName + { + get { return BackingStore?.Get("domainName"); } + set { BackingStore?.Set("domainName", value); } + } +#nullable restore +#else + public string DomainName + { + get { return BackingStore?.Get("domainName"); } + set { BackingStore?.Set("domainName", 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 AnalyzedEmailRecipientDetail() + { + 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.Models.Security.AnalyzedEmailRecipientDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.AnalyzedEmailRecipientDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "ccRecipients", n => { CcRecipients = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "domainName", n => { DomainName = 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.WriteCollectionOfPrimitiveValues("ccRecipients", CcRecipients); + writer.WriteStringValue("domainName", DomainName); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailSenderDetail.cs b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailSenderDetail.cs new file mode 100644 index 00000000000..9737bef6290 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailSenderDetail.cs @@ -0,0 +1,233 @@ +// +#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.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AnalyzedEmailSenderDetail : 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; } + /// Display name of sender from address. +#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 time of creation of the sender domain. + public DateTimeOffset? DomainCreationDateTime + { + get { return BackingStore?.Get("domainCreationDateTime"); } + set { BackingStore?.Set("domainCreationDateTime", value); } + } + /// Registered name of the domain. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DomainName + { + get { return BackingStore?.Get("domainName"); } + set { BackingStore?.Set("domainName", value); } + } +#nullable restore +#else + public string DomainName + { + get { return BackingStore?.Get("domainName"); } + set { BackingStore?.Set("domainName", value); } + } +#endif + /// Owner of the domain. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DomainOwner + { + get { return BackingStore?.Get("domainOwner"); } + set { BackingStore?.Set("domainOwner", value); } + } +#nullable restore +#else + public string DomainOwner + { + get { return BackingStore?.Get("domainOwner"); } + set { BackingStore?.Set("domainOwner", value); } + } +#endif + /// The sender email address in the mail From header, also known as the envelope sender or the P1 sender. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? FromAddress + { + get { return BackingStore?.Get("fromAddress"); } + set { BackingStore?.Set("fromAddress", value); } + } +#nullable restore +#else + public string FromAddress + { + get { return BackingStore?.Get("fromAddress"); } + set { BackingStore?.Set("fromAddress", value); } + } +#endif + /// The IPv4 address of the last detected mail server that relayed the message. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Ipv4 + { + get { return BackingStore?.Get("ipv4"); } + set { BackingStore?.Set("ipv4", value); } + } +#nullable restore +#else + public string Ipv4 + { + get { return BackingStore?.Get("ipv4"); } + set { BackingStore?.Set("ipv4", value); } + } +#endif + /// Location of the domain. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Location + { + get { return BackingStore?.Get("location"); } + set { BackingStore?.Set("location", value); } + } +#nullable restore +#else + public string Location + { + get { return BackingStore?.Get("location"); } + set { BackingStore?.Set("location", value); } + } +#endif + /// The sender email address in the From header, which is visible to email recipients on their email clients. Also known as P2 sender. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MailFromAddress + { + get { return BackingStore?.Get("mailFromAddress"); } + set { BackingStore?.Set("mailFromAddress", value); } + } +#nullable restore +#else + public string MailFromAddress + { + get { return BackingStore?.Get("mailFromAddress"); } + set { BackingStore?.Set("mailFromAddress", value); } + } +#endif + /// Domain name of sender mail from address. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MailFromDomainName + { + get { return BackingStore?.Get("mailFromDomainName"); } + set { BackingStore?.Set("mailFromDomainName", value); } + } +#nullable restore +#else + public string MailFromDomainName + { + get { return BackingStore?.Get("mailFromDomainName"); } + set { BackingStore?.Set("mailFromDomainName", 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 AnalyzedEmailSenderDetail() + { + 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.Models.Security.AnalyzedEmailSenderDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.AnalyzedEmailSenderDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "domainCreationDateTime", n => { DomainCreationDateTime = n.GetDateTimeOffsetValue(); } }, + { "domainName", n => { DomainName = n.GetStringValue(); } }, + { "domainOwner", n => { DomainOwner = n.GetStringValue(); } }, + { "fromAddress", n => { FromAddress = n.GetStringValue(); } }, + { "ipv4", n => { Ipv4 = n.GetStringValue(); } }, + { "location", n => { Location = n.GetStringValue(); } }, + { "mailFromAddress", n => { MailFromAddress = n.GetStringValue(); } }, + { "mailFromDomainName", n => { MailFromDomainName = 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("displayName", DisplayName); + writer.WriteDateTimeOffsetValue("domainCreationDateTime", DomainCreationDateTime); + writer.WriteStringValue("domainName", DomainName); + writer.WriteStringValue("domainOwner", DomainOwner); + writer.WriteStringValue("fromAddress", FromAddress); + writer.WriteStringValue("ipv4", Ipv4); + writer.WriteStringValue("location", Location); + writer.WriteStringValue("mailFromAddress", MailFromAddress); + writer.WriteStringValue("mailFromDomainName", MailFromDomainName); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailUrl.cs b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailUrl.cs new file mode 100644 index 00000000000..351d96abeb0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AnalyzedEmailUrl.cs @@ -0,0 +1,161 @@ +// +#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.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AnalyzedEmailUrl : 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 method used to detect threats in the URL. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DetectionMethod + { + get { return BackingStore?.Get("detectionMethod"); } + set { BackingStore?.Set("detectionMethod", value); } + } +#nullable restore +#else + public string DetectionMethod + { + get { return BackingStore?.Get("detectionMethod"); } + set { BackingStore?.Set("detectionMethod", value); } + } +#endif + /// Detonation data associated with the URL. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.Security.DetonationDetails? DetonationDetails + { + get { return BackingStore?.Get("detonationDetails"); } + set { BackingStore?.Set("detonationDetails", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.Security.DetonationDetails DetonationDetails + { + get { return BackingStore?.Get("detonationDetails"); } + set { BackingStore?.Set("detonationDetails", 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 + /// Details of entries in tenant allow/block list configured by tenant. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? TenantAllowBlockListDetailInfo + { + get { return BackingStore?.Get("tenantAllowBlockListDetailInfo"); } + set { BackingStore?.Set("tenantAllowBlockListDetailInfo", value); } + } +#nullable restore +#else + public string TenantAllowBlockListDetailInfo + { + get { return BackingStore?.Get("tenantAllowBlockListDetailInfo"); } + set { BackingStore?.Set("tenantAllowBlockListDetailInfo", value); } + } +#endif + /// The type of threat associated with the URL. The possible values are: unknown, spam, malware, phishing, none, unknownFutureValue. + public global::Microsoft.Graph.Models.Security.ThreatType? ThreatType + { + get { return BackingStore?.Get("threatType"); } + set { BackingStore?.Set("threatType", value); } + } + /// The URL that is found in the email. This is full URL string, including query parameters. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Url + { + get { return BackingStore?.Get("url"); } + set { BackingStore?.Set("url", value); } + } +#nullable restore +#else + public string Url + { + get { return BackingStore?.Get("url"); } + set { BackingStore?.Set("url", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AnalyzedEmailUrl() + { + 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.Models.Security.AnalyzedEmailUrl CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.AnalyzedEmailUrl(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "detectionMethod", n => { DetectionMethod = n.GetStringValue(); } }, + { "detonationDetails", n => { DetonationDetails = n.GetObjectValue(global::Microsoft.Graph.Models.Security.DetonationDetails.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "tenantAllowBlockListDetailInfo", n => { TenantAllowBlockListDetailInfo = n.GetStringValue(); } }, + { "threatType", n => { ThreatType = n.GetEnumValue(); } }, + { "url", n => { Url = 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("detectionMethod", DetectionMethod); + writer.WriteObjectValue("detonationDetails", DetonationDetails); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("tenantAllowBlockListDetailInfo", TenantAllowBlockListDetailInfo); + writer.WriteEnumValue("threatType", ThreatType); + writer.WriteStringValue("url", Url); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/AntispamDirectionality.cs b/src/Microsoft.Graph/Generated/Models/Security/AntispamDirectionality.cs new file mode 100644 index 00000000000..938347d67eb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/AntispamDirectionality.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum AntispamDirectionality + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "inbound")] + #pragma warning disable CS1591 + Inbound, + #pragma warning restore CS1591 + [EnumMember(Value = "outbound")] + #pragma warning disable CS1591 + Outbound, + #pragma warning restore CS1591 + [EnumMember(Value = "intraOrg")] + #pragma warning disable CS1591 + IntraOrg, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/CollaborationRoot.cs b/src/Microsoft.Graph/Generated/Models/Security/CollaborationRoot.cs new file mode 100644 index 00000000000..50c356b97e4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CollaborationRoot.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.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CollaborationRoot : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Contains metadata for analyzed emails. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AnalyzedEmails + { + get { return BackingStore?.Get?>("analyzedEmails"); } + set { BackingStore?.Set("analyzedEmails", value); } + } +#nullable restore +#else + public List AnalyzedEmails + { + get { return BackingStore?.Get>("analyzedEmails"); } + set { BackingStore?.Set("analyzedEmails", 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.Models.Security.CollaborationRoot CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.CollaborationRoot(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "analyzedEmails", n => { AnalyzedEmails = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.AnalyzedEmail.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("analyzedEmails", AnalyzedEmails); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/CompromiseIndicator.cs b/src/Microsoft.Graph/Generated/Models/Security/CompromiseIndicator.cs new file mode 100644 index 00000000000..d47b31a1249 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/CompromiseIndicator.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.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class CompromiseIndicator : 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 + /// Indicator. +#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 + /// The possible values are: none, malware, phish, siteUnavailable, spam, decryptionFailed, unsupportedUriScheme, unsupportedFileType, undefined, unknownFutureValue. + public global::Microsoft.Graph.Models.Security.VerdictCategory? Verdict + { + get { return BackingStore?.Get("verdict"); } + set { BackingStore?.Set("verdict", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public CompromiseIndicator() + { + 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.Models.Security.CompromiseIndicator CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.CompromiseIndicator(); + } + /// + /// 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.GetStringValue(); } }, + { "verdict", n => { Verdict = 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.WriteStringValue("value", Value); + writer.WriteEnumValue("verdict", Verdict); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/DeliveryAction.cs b/src/Microsoft.Graph/Generated/Models/Security/DeliveryAction.cs new file mode 100644 index 00000000000..8b7479219a8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/DeliveryAction.cs @@ -0,0 +1,36 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum DeliveryAction + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "deliveredToJunk")] + #pragma warning disable CS1591 + DeliveredToJunk, + #pragma warning restore CS1591 + [EnumMember(Value = "delivered")] + #pragma warning disable CS1591 + Delivered, + #pragma warning restore CS1591 + [EnumMember(Value = "blocked")] + #pragma warning disable CS1591 + Blocked, + #pragma warning restore CS1591 + [EnumMember(Value = "replaced")] + #pragma warning disable CS1591 + Replaced, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/DeliveryLocation.cs b/src/Microsoft.Graph/Generated/Models/Security/DeliveryLocation.cs new file mode 100644 index 00000000000..293701b5a20 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/DeliveryLocation.cs @@ -0,0 +1,52 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum DeliveryLocation + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "inbox_folder")] + #pragma warning disable CS1591 + Inbox_folder, + #pragma warning restore CS1591 + [EnumMember(Value = "junkFolder")] + #pragma warning disable CS1591 + JunkFolder, + #pragma warning restore CS1591 + [EnumMember(Value = "deletedFolder")] + #pragma warning disable CS1591 + DeletedFolder, + #pragma warning restore CS1591 + [EnumMember(Value = "quarantine")] + #pragma warning disable CS1591 + Quarantine, + #pragma warning restore CS1591 + [EnumMember(Value = "onprem_external")] + #pragma warning disable CS1591 + Onprem_external, + #pragma warning restore CS1591 + [EnumMember(Value = "failed")] + #pragma warning disable CS1591 + Failed, + #pragma warning restore CS1591 + [EnumMember(Value = "dropped")] + #pragma warning disable CS1591 + Dropped, + #pragma warning restore CS1591 + [EnumMember(Value = "others")] + #pragma warning disable CS1591 + Others, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/DetonationBehaviourDetails.cs b/src/Microsoft.Graph/Generated/Models/Security/DetonationBehaviourDetails.cs new file mode 100644 index 00000000000..8306b5f1ae6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/DetonationBehaviourDetails.cs @@ -0,0 +1,233 @@ +// +#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.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DetonationBehaviourDetails : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The status of the action performed during detonation (e.g., 'Successful', 'Failed', 'Blocked'). +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ActionStatus + { + get { return BackingStore?.Get("actionStatus"); } + set { BackingStore?.Set("actionStatus", value); } + } +#nullable restore +#else + public string ActionStatus + { + get { return BackingStore?.Get("actionStatus"); } + set { BackingStore?.Set("actionStatus", value); } + } +#endif + /// 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; } + /// Categorizes the capability or type of behavior observed. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BehaviourCapability + { + get { return BackingStore?.Get("behaviourCapability"); } + set { BackingStore?.Set("behaviourCapability", value); } + } +#nullable restore +#else + public string BehaviourCapability + { + get { return BackingStore?.Get("behaviourCapability"); } + set { BackingStore?.Set("behaviourCapability", value); } + } +#endif + /// Groups related behaviors together for classification purposes. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BehaviourGroup + { + get { return BackingStore?.Get("behaviourGroup"); } + set { BackingStore?.Set("behaviourGroup", value); } + } +#nullable restore +#else + public string BehaviourGroup + { + get { return BackingStore?.Get("behaviourGroup"); } + set { BackingStore?.Set("behaviourGroup", value); } + } +#endif + /// More contextual information about the observed behavior or action. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Details + { + get { return BackingStore?.Get("details"); } + set { BackingStore?.Set("details", value); } + } +#nullable restore +#else + public string Details + { + get { return BackingStore?.Get("details"); } + set { BackingStore?.Set("details", value); } + } +#endif + /// The date and time when the behavior or action was observed during detonation. + public DateTimeOffset? EventDateTime + { + get { return BackingStore?.Get("eventDateTime"); } + set { BackingStore?.Set("eventDateTime", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The specific operation or action that was performed. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Operation + { + get { return BackingStore?.Get("operation"); } + set { BackingStore?.Set("operation", value); } + } +#nullable restore +#else + public string Operation + { + get { return BackingStore?.Get("operation"); } + set { BackingStore?.Set("operation", value); } + } +#endif + /// The unique identifier of the process involved in the behavior. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ProcessId + { + get { return BackingStore?.Get("processId"); } + set { BackingStore?.Set("processId", value); } + } +#nullable restore +#else + public string ProcessId + { + get { return BackingStore?.Get("processId"); } + set { BackingStore?.Set("processId", value); } + } +#endif + /// The name of the process that performed or was involved in the behavior. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ProcessName + { + get { return BackingStore?.Get("processName"); } + set { BackingStore?.Set("processName", value); } + } +#nullable restore +#else + public string ProcessName + { + get { return BackingStore?.Get("processName"); } + set { BackingStore?.Set("processName", value); } + } +#endif + /// The target of the operation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Target + { + get { return BackingStore?.Get("target"); } + set { BackingStore?.Set("target", value); } + } +#nullable restore +#else + public string Target + { + get { return BackingStore?.Get("target"); } + set { BackingStore?.Set("target", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DetonationBehaviourDetails() + { + 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.Models.Security.DetonationBehaviourDetails CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.DetonationBehaviourDetails(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "actionStatus", n => { ActionStatus = n.GetStringValue(); } }, + { "behaviourCapability", n => { BehaviourCapability = n.GetStringValue(); } }, + { "behaviourGroup", n => { BehaviourGroup = n.GetStringValue(); } }, + { "details", n => { Details = n.GetStringValue(); } }, + { "eventDateTime", n => { EventDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "operation", n => { Operation = n.GetStringValue(); } }, + { "processId", n => { ProcessId = n.GetStringValue(); } }, + { "processName", n => { ProcessName = n.GetStringValue(); } }, + { "target", n => { Target = 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("actionStatus", ActionStatus); + writer.WriteStringValue("behaviourCapability", BehaviourCapability); + writer.WriteStringValue("behaviourGroup", BehaviourGroup); + writer.WriteStringValue("details", Details); + writer.WriteDateTimeOffsetValue("eventDateTime", EventDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("operation", Operation); + writer.WriteStringValue("processId", ProcessId); + writer.WriteStringValue("processName", ProcessName); + writer.WriteStringValue("target", Target); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/DetonationChain.cs b/src/Microsoft.Graph/Generated/Models/Security/DetonationChain.cs new file mode 100644 index 00000000000..27a29481e25 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/DetonationChain.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.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DetonationChain : 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; } + /// A list of all child nodes in the chain. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ChildNodes + { + get { return BackingStore?.Get?>("childNodes"); } + set { BackingStore?.Set("childNodes", value); } + } +#nullable restore +#else + public List ChildNodes + { + get { return BackingStore?.Get>("childNodes"); } + set { BackingStore?.Set("childNodes", 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 value of the chain. +#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 + /// + /// Instantiates a new and sets the default values. + /// + public DetonationChain() + { + 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.Models.Security.DetonationChain CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.DetonationChain(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "childNodes", n => { ChildNodes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.DetonationChain.CreateFromDiscriminatorValue)?.AsList(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "value", n => { Value = 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("childNodes", ChildNodes); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("value", Value); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/DetonationDetails.cs b/src/Microsoft.Graph/Generated/Models/Security/DetonationDetails.cs new file mode 100644 index 00000000000..cba9273dc47 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/DetonationDetails.cs @@ -0,0 +1,305 @@ +// +#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.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DetonationDetails : 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 time of detonation. + public DateTimeOffset? AnalysisDateTime + { + get { return BackingStore?.Get("analysisDateTime"); } + set { BackingStore?.Set("analysisDateTime", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// Represents indicators and its associated verdict that suggests whether an email is compromised. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? CompromiseIndicators + { + get { return BackingStore?.Get?>("compromiseIndicators"); } + set { BackingStore?.Set("compromiseIndicators", value); } + } +#nullable restore +#else + public List CompromiseIndicators + { + get { return BackingStore?.Get>("compromiseIndicators"); } + set { BackingStore?.Set("compromiseIndicators", value); } + } +#endif + /// Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation. This property is deprecated and still stop returning data in March 2026. Use the detonationBehaviourDetailsV2 property instead. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.Security.DetonationBehaviourDetails? DetonationBehaviourDetails + { + get { return BackingStore?.Get("detonationBehaviourDetails"); } + set { BackingStore?.Set("detonationBehaviourDetails", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.Security.DetonationBehaviourDetails DetonationBehaviourDetails + { + get { return BackingStore?.Get("detonationBehaviourDetails"); } + set { BackingStore?.Set("detonationBehaviourDetails", value); } + } +#endif + /// Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation in a JSON format. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DetonationBehaviourDetailsV2 + { + get { return BackingStore?.Get("detonationBehaviourDetailsV2"); } + set { BackingStore?.Set("detonationBehaviourDetailsV2", value); } + } +#nullable restore +#else + public string DetonationBehaviourDetailsV2 + { + get { return BackingStore?.Get("detonationBehaviourDetailsV2"); } + set { BackingStore?.Set("detonationBehaviourDetailsV2", value); } + } +#endif + /// The chain of detonation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.Security.DetonationChain? DetonationChain + { + get { return BackingStore?.Get("detonationChain"); } + set { BackingStore?.Set("detonationChain", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.Security.DetonationChain DetonationChain + { + get { return BackingStore?.Get("detonationChain"); } + set { BackingStore?.Set("detonationChain", value); } + } +#endif + /// All observables in the detonation tree. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.Security.DetonationObservables? DetonationObservables + { + get { return BackingStore?.Get("detonationObservables"); } + set { BackingStore?.Set("detonationObservables", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.Security.DetonationObservables DetonationObservables + { + get { return BackingStore?.Get("detonationObservables"); } + set { BackingStore?.Set("detonationObservables", value); } + } +#endif + /// Show any screenshots that were captured during detonation. No screenshots are captured if the URL opens into a link that directly downloads a file. However, you see the downloaded file in the detonation chain. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DetonationScreenshotUri + { + get { return BackingStore?.Get("detonationScreenshotUri"); } + set { BackingStore?.Set("detonationScreenshotUri", value); } + } +#nullable restore +#else + public string DetonationScreenshotUri + { + get { return BackingStore?.Get("detonationScreenshotUri"); } + set { BackingStore?.Set("detonationScreenshotUri", value); } + } +#endif + /// The verdict of the detonation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DetonationVerdict + { + get { return BackingStore?.Get("detonationVerdict"); } + set { BackingStore?.Set("detonationVerdict", value); } + } +#nullable restore +#else + public string DetonationVerdict + { + get { return BackingStore?.Get("detonationVerdict"); } + set { BackingStore?.Set("detonationVerdict", value); } + } +#endif + /// The reason for the verdict of the detonation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DetonationVerdictReason + { + get { return BackingStore?.Get("detonationVerdictReason"); } + set { BackingStore?.Set("detonationVerdictReason", value); } + } +#nullable restore +#else + public string DetonationVerdictReason + { + get { return BackingStore?.Get("detonationVerdictReason"); } + set { BackingStore?.Set("detonationVerdictReason", value); } + } +#endif + /// Additional metadata about the entity in JSON format. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EntityMetadata + { + get { return BackingStore?.Get("entityMetadata"); } + set { BackingStore?.Set("entityMetadata", value); } + } +#nullable restore +#else + public string EntityMetadata + { + get { return BackingStore?.Get("entityMetadata"); } + set { BackingStore?.Set("entityMetadata", value); } + } +#endif + /// The attack techniques, as aligned with the MITRE ATT&CK framework. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? MitreTechniques + { + get { return BackingStore?.Get("mitreTechniques"); } + set { BackingStore?.Set("mitreTechniques", value); } + } +#nullable restore +#else + public string MitreTechniques + { + get { return BackingStore?.Get("mitreTechniques"); } + set { BackingStore?.Set("mitreTechniques", 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 results of static analysis performed on the file or URL. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? StaticAnalysis + { + get { return BackingStore?.Get("staticAnalysis"); } + set { BackingStore?.Set("staticAnalysis", value); } + } +#nullable restore +#else + public string StaticAnalysis + { + get { return BackingStore?.Get("staticAnalysis"); } + set { BackingStore?.Set("staticAnalysis", value); } + } +#endif + /// The source of the submission. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SubmissionSource + { + get { return BackingStore?.Get("submissionSource"); } + set { BackingStore?.Set("submissionSource", value); } + } +#nullable restore +#else + public string SubmissionSource + { + get { return BackingStore?.Get("submissionSource"); } + set { BackingStore?.Set("submissionSource", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public DetonationDetails() + { + 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.Models.Security.DetonationDetails CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.DetonationDetails(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "analysisDateTime", n => { AnalysisDateTime = n.GetDateTimeOffsetValue(); } }, + { "compromiseIndicators", n => { CompromiseIndicators = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.CompromiseIndicator.CreateFromDiscriminatorValue)?.AsList(); } }, + { "detonationBehaviourDetails", n => { DetonationBehaviourDetails = n.GetObjectValue(global::Microsoft.Graph.Models.Security.DetonationBehaviourDetails.CreateFromDiscriminatorValue); } }, + { "detonationBehaviourDetailsV2", n => { DetonationBehaviourDetailsV2 = n.GetStringValue(); } }, + { "detonationChain", n => { DetonationChain = n.GetObjectValue(global::Microsoft.Graph.Models.Security.DetonationChain.CreateFromDiscriminatorValue); } }, + { "detonationObservables", n => { DetonationObservables = n.GetObjectValue(global::Microsoft.Graph.Models.Security.DetonationObservables.CreateFromDiscriminatorValue); } }, + { "detonationScreenshotUri", n => { DetonationScreenshotUri = n.GetStringValue(); } }, + { "detonationVerdict", n => { DetonationVerdict = n.GetStringValue(); } }, + { "detonationVerdictReason", n => { DetonationVerdictReason = n.GetStringValue(); } }, + { "entityMetadata", n => { EntityMetadata = n.GetStringValue(); } }, + { "mitreTechniques", n => { MitreTechniques = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "staticAnalysis", n => { StaticAnalysis = n.GetStringValue(); } }, + { "submissionSource", n => { SubmissionSource = 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("analysisDateTime", AnalysisDateTime); + writer.WriteCollectionOfObjectValues("compromiseIndicators", CompromiseIndicators); + writer.WriteObjectValue("detonationBehaviourDetails", DetonationBehaviourDetails); + writer.WriteStringValue("detonationBehaviourDetailsV2", DetonationBehaviourDetailsV2); + writer.WriteObjectValue("detonationChain", DetonationChain); + writer.WriteObjectValue("detonationObservables", DetonationObservables); + writer.WriteStringValue("detonationScreenshotUri", DetonationScreenshotUri); + writer.WriteStringValue("detonationVerdict", DetonationVerdict); + writer.WriteStringValue("detonationVerdictReason", DetonationVerdictReason); + writer.WriteStringValue("entityMetadata", EntityMetadata); + writer.WriteStringValue("mitreTechniques", MitreTechniques); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("staticAnalysis", StaticAnalysis); + writer.WriteStringValue("submissionSource", SubmissionSource); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/DetonationObservables.cs b/src/Microsoft.Graph/Generated/Models/Security/DetonationObservables.cs new file mode 100644 index 00000000000..ffa47eeefcb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/DetonationObservables.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class DetonationObservables : 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 list of all contacted IPs in the detonation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ContactedIps + { + get { return BackingStore?.Get?>("contactedIps"); } + set { BackingStore?.Set("contactedIps", value); } + } +#nullable restore +#else + public List ContactedIps + { + get { return BackingStore?.Get>("contactedIps"); } + set { BackingStore?.Set("contactedIps", value); } + } +#endif + /// The list of all URLs found in the detonation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ContactedUrls + { + get { return BackingStore?.Get?>("contactedUrls"); } + set { BackingStore?.Set("contactedUrls", value); } + } +#nullable restore +#else + public List ContactedUrls + { + get { return BackingStore?.Get>("contactedUrls"); } + set { BackingStore?.Set("contactedUrls", value); } + } +#endif + /// The list of all dropped files in the detonation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Droppedfiles + { + get { return BackingStore?.Get?>("droppedfiles"); } + set { BackingStore?.Set("droppedfiles", value); } + } +#nullable restore +#else + public List Droppedfiles + { + get { return BackingStore?.Get>("droppedfiles"); } + set { BackingStore?.Set("droppedfiles", 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 DetonationObservables() + { + 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.Models.Security.DetonationObservables CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.DetonationObservables(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "contactedIps", n => { ContactedIps = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "contactedUrls", n => { ContactedUrls = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "droppedfiles", n => { Droppedfiles = 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("contactedIps", ContactedIps); + writer.WriteCollectionOfPrimitiveValues("contactedUrls", ContactedUrls); + writer.WriteCollectionOfPrimitiveValues("droppedfiles", Droppedfiles); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryAddToReviewSetOperation.cs b/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryAddToReviewSetOperation.cs index c0e79b952c4..b104366ee47 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryAddToReviewSetOperation.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/EdiscoveryAddToReviewSetOperation.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models.Security public partial class EdiscoveryAddToReviewSetOperation : global::Microsoft.Graph.Models.Security.CaseOperation, IParsable #pragma warning restore CS1591 { - /// The options to add items to the review set. The possible values are: allVersions, linkedFiles, unknownFutureValue, advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder. + /// The options to add items to the review set. The possible values are: allVersions, linkedFiles, unknownFutureValue, advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder, cloudNativeHtmlConversion. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: advancedIndexing, listAttachments, htmlTranscripts, messageConversationExpansion, locationsWithoutHits, allItemsInFolder, cloudNativeHtmlConversion. public global::Microsoft.Graph.Models.Security.AdditionalDataOptions? AdditionalDataOptions { get { return BackingStore?.Get("additionalDataOptions"); } diff --git a/src/Microsoft.Graph/Generated/Models/Security/EventSource.cs b/src/Microsoft.Graph/Generated/Models/Security/EventSource.cs new file mode 100644 index 00000000000..97ca9a15f02 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/EventSource.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum EventSource + #pragma warning restore CS1591 + { + [EnumMember(Value = "system")] + #pragma warning disable CS1591 + System, + #pragma warning restore CS1591 + [EnumMember(Value = "admin")] + #pragma warning disable CS1591 + Admin, + #pragma warning restore CS1591 + [EnumMember(Value = "user")] + #pragma warning disable CS1591 + User, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/MergeResponse.cs b/src/Microsoft.Graph/Generated/Models/Security/MergeResponse.cs index 7468f31593f..e3360167dd8 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/MergeResponse.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/MergeResponse.cs @@ -37,7 +37,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The targetIncidentId property + /// The ID of the target incident after the operation completes. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TargetIncidentId diff --git a/src/Microsoft.Graph/Generated/Models/Security/RemediationAction.cs b/src/Microsoft.Graph/Generated/Models/Security/RemediationAction.cs new file mode 100644 index 00000000000..8877a461d4d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/RemediationAction.cs @@ -0,0 +1,40 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum RemediationAction + #pragma warning restore CS1591 + { + [EnumMember(Value = "moveToJunk")] + #pragma warning disable CS1591 + MoveToJunk, + #pragma warning restore CS1591 + [EnumMember(Value = "moveToInbox")] + #pragma warning disable CS1591 + MoveToInbox, + #pragma warning restore CS1591 + [EnumMember(Value = "hardDelete")] + #pragma warning disable CS1591 + HardDelete, + #pragma warning restore CS1591 + [EnumMember(Value = "softDelete")] + #pragma warning disable CS1591 + SoftDelete, + #pragma warning restore CS1591 + [EnumMember(Value = "moveToDeletedItems")] + #pragma warning disable CS1591 + MoveToDeletedItems, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + [EnumMember(Value = "moveToQuarantine")] + #pragma warning disable CS1591 + MoveToQuarantine, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/RemediationSeverity.cs b/src/Microsoft.Graph/Generated/Models/Security/RemediationSeverity.cs new file mode 100644 index 00000000000..da18a40c127 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/RemediationSeverity.cs @@ -0,0 +1,28 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum RemediationSeverity + #pragma warning restore CS1591 + { + [EnumMember(Value = "low")] + #pragma warning disable CS1591 + Low, + #pragma warning restore CS1591 + [EnumMember(Value = "medium")] + #pragma warning disable CS1591 + Medium, + #pragma warning restore CS1591 + [EnumMember(Value = "high")] + #pragma warning disable CS1591 + High, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/Security.cs b/src/Microsoft.Graph/Generated/Models/Security/Security.cs index 221ecccc16b..0c17988a3b3 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/Security.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/Security.cs @@ -75,6 +75,22 @@ public partial class Security : global::Microsoft.Graph.Models.Entity, IParsable get { return BackingStore?.Get("cases"); } set { BackingStore?.Set("cases", value); } } +#endif + /// The collaboration property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.Security.CollaborationRoot? Collaboration + { + get { return BackingStore?.Get("collaboration"); } + set { BackingStore?.Set("collaboration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.Security.CollaborationRoot Collaboration + { + get { return BackingStore?.Get("collaboration"); } + set { BackingStore?.Set("collaboration", value); } + } #endif /// The dataSecurityAndGovernance property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -258,6 +274,7 @@ public override IDictionary> GetFieldDeserializers() { "alerts_v2", n => { AlertsV2 = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.Alert.CreateFromDiscriminatorValue)?.AsList(); } }, { "attackSimulation", n => { AttackSimulation = n.GetObjectValue(global::Microsoft.Graph.Models.AttackSimulationRoot.CreateFromDiscriminatorValue); } }, { "cases", n => { Cases = n.GetObjectValue(global::Microsoft.Graph.Models.Security.CasesRoot.CreateFromDiscriminatorValue); } }, + { "collaboration", n => { Collaboration = n.GetObjectValue(global::Microsoft.Graph.Models.Security.CollaborationRoot.CreateFromDiscriminatorValue); } }, { "dataSecurityAndGovernance", n => { DataSecurityAndGovernance = n.GetObjectValue(global::Microsoft.Graph.Models.TenantDataSecurityAndGovernance.CreateFromDiscriminatorValue); } }, { "identities", n => { Identities = n.GetObjectValue(global::Microsoft.Graph.Models.Security.IdentityContainer.CreateFromDiscriminatorValue); } }, { "incidents", n => { Incidents = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.Incident.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -282,6 +299,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("alerts_v2", AlertsV2); writer.WriteObjectValue("attackSimulation", AttackSimulation); writer.WriteObjectValue("cases", Cases); + writer.WriteObjectValue("collaboration", Collaboration); writer.WriteObjectValue("dataSecurityAndGovernance", DataSecurityAndGovernance); writer.WriteObjectValue("identities", Identities); writer.WriteCollectionOfObjectValues("incidents", Incidents); diff --git a/src/Microsoft.Graph/Generated/Models/Security/ServiceSource.cs b/src/Microsoft.Graph/Generated/Models/Security/ServiceSource.cs index 7eafa10a659..a1e77e05316 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/ServiceSource.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/ServiceSource.cs @@ -64,5 +64,9 @@ public enum ServiceSource #pragma warning disable CS1591 MicrosoftThreatIntelligence, #pragma warning restore CS1591 + [EnumMember(Value = "microsoftSecurityForAI")] + #pragma warning disable CS1591 + MicrosoftSecurityForAI, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/Security/ThreatDetectionDetail.cs b/src/Microsoft.Graph/Generated/Models/Security/ThreatDetectionDetail.cs new file mode 100644 index 00000000000..790aa6f84a8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/ThreatDetectionDetail.cs @@ -0,0 +1,135 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ThreatDetectionDetail : 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 the confidence level in the threat detection. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ConfidenceLevel + { + get { return BackingStore?.Get("confidenceLevel"); } + set { BackingStore?.Set("confidenceLevel", value); } + } +#nullable restore +#else + public string ConfidenceLevel + { + get { return BackingStore?.Get("confidenceLevel"); } + set { BackingStore?.Set("confidenceLevel", 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 + /// Indicates if the account has priority protection enabled. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PriorityAccountProtection + { + get { return BackingStore?.Get("priorityAccountProtection"); } + set { BackingStore?.Set("priorityAccountProtection", value); } + } +#nullable restore +#else + public string PriorityAccountProtection + { + get { return BackingStore?.Get("priorityAccountProtection"); } + set { BackingStore?.Set("priorityAccountProtection", value); } + } +#endif + /// Lists the detected threats. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Threats + { + get { return BackingStore?.Get("threats"); } + set { BackingStore?.Set("threats", value); } + } +#nullable restore +#else + public string Threats + { + get { return BackingStore?.Get("threats"); } + set { BackingStore?.Set("threats", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ThreatDetectionDetail() + { + 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.Models.Security.ThreatDetectionDetail CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.ThreatDetectionDetail(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "confidenceLevel", n => { ConfidenceLevel = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "priorityAccountProtection", n => { PriorityAccountProtection = n.GetStringValue(); } }, + { "threats", n => { Threats = 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("confidenceLevel", ConfidenceLevel); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("priorityAccountProtection", PriorityAccountProtection); + writer.WriteStringValue("threats", Threats); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/ThreatType.cs b/src/Microsoft.Graph/Generated/Models/Security/ThreatType.cs new file mode 100644 index 00000000000..8fb05113a49 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/ThreatType.cs @@ -0,0 +1,36 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum ThreatType + #pragma warning restore CS1591 + { + [EnumMember(Value = "unknown")] + #pragma warning disable CS1591 + Unknown, + #pragma warning restore CS1591 + [EnumMember(Value = "spam")] + #pragma warning disable CS1591 + Spam, + #pragma warning restore CS1591 + [EnumMember(Value = "malware")] + #pragma warning disable CS1591 + Malware, + #pragma warning restore CS1591 + [EnumMember(Value = "phish")] + #pragma warning disable CS1591 + Phish, + #pragma warning restore CS1591 + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Security/TimelineEvent.cs b/src/Microsoft.Graph/Generated/Models/Security/TimelineEvent.cs new file mode 100644 index 00000000000..283cc1bc280 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/TimelineEvent.cs @@ -0,0 +1,159 @@ +// +#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.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class TimelineEvent : 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 event occurred. + public DateTimeOffset? EventDateTime + { + get { return BackingStore?.Get("eventDateTime"); } + set { BackingStore?.Set("eventDateTime", value); } + } + /// Additional details or context about the event. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EventDetails + { + get { return BackingStore?.Get("eventDetails"); } + set { BackingStore?.Set("eventDetails", value); } + } +#nullable restore +#else + public string EventDetails + { + get { return BackingStore?.Get("eventDetails"); } + set { BackingStore?.Set("eventDetails", value); } + } +#endif + /// The outcome or result of the event, such as delivery location or action taken. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? EventResult + { + get { return BackingStore?.Get("eventResult"); } + set { BackingStore?.Set("eventResult", value); } + } +#nullable restore +#else + public string EventResult + { + get { return BackingStore?.Get("eventResult"); } + set { BackingStore?.Set("eventResult", value); } + } +#endif + /// The origin or actor that triggered the event. The possible values are: system, admin, user, unknownFutureValue. + public global::Microsoft.Graph.Models.Security.EventSource? EventSource + { + get { return BackingStore?.Get("eventSource"); } + set { BackingStore?.Set("eventSource", value); } + } + /// Collection of threats identified or associated with this event. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? EventThreats + { + get { return BackingStore?.Get?>("eventThreats"); } + set { BackingStore?.Set("eventThreats", value); } + } +#nullable restore +#else + public List EventThreats + { + get { return BackingStore?.Get>("eventThreats"); } + set { BackingStore?.Set("eventThreats", value); } + } +#endif + /// The type of event that occurred. The possible values are: originalDelivery, systemTimeTravel, dynamicDelivery, userUrlClick, reprocessed, zap, quarantineRelease, air, unknown, unknownFutureValue. + public global::Microsoft.Graph.Models.Security.TimelineEventType? EventType + { + get { return BackingStore?.Get("eventType"); } + set { BackingStore?.Set("eventType", 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 TimelineEvent() + { + 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.Models.Security.TimelineEvent CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.Security.TimelineEvent(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "eventDateTime", n => { EventDateTime = n.GetDateTimeOffsetValue(); } }, + { "eventDetails", n => { EventDetails = n.GetStringValue(); } }, + { "eventResult", n => { EventResult = n.GetStringValue(); } }, + { "eventSource", n => { EventSource = n.GetEnumValue(); } }, + { "eventThreats", n => { EventThreats = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "eventType", n => { EventType = 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.WriteDateTimeOffsetValue("eventDateTime", EventDateTime); + writer.WriteStringValue("eventDetails", EventDetails); + writer.WriteStringValue("eventResult", EventResult); + writer.WriteEnumValue("eventSource", EventSource); + writer.WriteCollectionOfPrimitiveValues("eventThreats", EventThreats); + writer.WriteEnumValue("eventType", EventType); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Security/TimelineEventType.cs b/src/Microsoft.Graph/Generated/Models/Security/TimelineEventType.cs new file mode 100644 index 00000000000..43752933785 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/TimelineEventType.cs @@ -0,0 +1,52 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum TimelineEventType + #pragma warning restore CS1591 + { + [EnumMember(Value = "originalDelivery")] + #pragma warning disable CS1591 + OriginalDelivery, + #pragma warning restore CS1591 + [EnumMember(Value = "systemTimeTravel")] + #pragma warning disable CS1591 + SystemTimeTravel, + #pragma warning restore CS1591 + [EnumMember(Value = "dynamicDelivery")] + #pragma warning disable CS1591 + DynamicDelivery, + #pragma warning restore CS1591 + [EnumMember(Value = "userUrlClick")] + #pragma warning disable CS1591 + UserUrlClick, + #pragma warning restore CS1591 + [EnumMember(Value = "reprocessed")] + #pragma warning disable CS1591 + Reprocessed, + #pragma warning restore CS1591 + [EnumMember(Value = "zap")] + #pragma warning disable CS1591 + Zap, + #pragma warning restore CS1591 + [EnumMember(Value = "quarantineRelease")] + #pragma warning disable CS1591 + QuarantineRelease, + #pragma warning restore CS1591 + [EnumMember(Value = "air")] + #pragma warning disable CS1591 + Air, + #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/Security/UserAccount.cs b/src/Microsoft.Graph/Generated/Models/Security/UserAccount.cs index d84ec62ea50..0265fedf90b 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/UserAccount.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/UserAccount.cs @@ -123,7 +123,7 @@ public string OdataType set { BackingStore?.Set("resourceAccessEvents", value); } } #endif - /// The tenantId property + /// The Microsoft Entra tenant ID of the user account. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TenantId diff --git a/src/Microsoft.Graph/Generated/Models/Security/VerdictCategory.cs b/src/Microsoft.Graph/Generated/Models/Security/VerdictCategory.cs new file mode 100644 index 00000000000..ab7ef39e35b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Security/VerdictCategory.cs @@ -0,0 +1,52 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Models.Security +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum VerdictCategory + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "malware")] + #pragma warning disable CS1591 + Malware, + #pragma warning restore CS1591 + [EnumMember(Value = "phish")] + #pragma warning disable CS1591 + Phish, + #pragma warning restore CS1591 + [EnumMember(Value = "siteUnavailable")] + #pragma warning disable CS1591 + SiteUnavailable, + #pragma warning restore CS1591 + [EnumMember(Value = "spam")] + #pragma warning disable CS1591 + Spam, + #pragma warning restore CS1591 + [EnumMember(Value = "decryptionFailed")] + #pragma warning disable CS1591 + DecryptionFailed, + #pragma warning restore CS1591 + [EnumMember(Value = "unsupportedUriScheme")] + #pragma warning disable CS1591 + UnsupportedUriScheme, + #pragma warning restore CS1591 + [EnumMember(Value = "unsupportedFileType")] + #pragma warning disable CS1591 + UnsupportedFileType, + #pragma warning restore CS1591 + [EnumMember(Value = "undefined")] + #pragma warning disable CS1591 + Undefined, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ServiceAnnouncement.cs b/src/Microsoft.Graph/Generated/Models/ServiceAnnouncement.cs index 0d35e304e05..655e2b9a4ae 100644 --- a/src/Microsoft.Graph/Generated/Models/ServiceAnnouncement.cs +++ b/src/Microsoft.Graph/Generated/Models/ServiceAnnouncement.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class ServiceAnnouncement : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// A collection of service health information for tenant. This property is a contained navigation property, it is nullable and readonly. + /// A collection of service health information for tenant. This property is a contained navigation property, it is nullable and read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? HealthOverviews @@ -28,7 +28,7 @@ public partial class ServiceAnnouncement : global::Microsoft.Graph.Models.Entity set { BackingStore?.Set("healthOverviews", value); } } #endif - /// A collection of service issues for tenant. This property is a contained navigation property, it is nullable and readonly. + /// A collection of service issues for tenant. This property is a contained navigation property, it is nullable and read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Issues @@ -44,7 +44,7 @@ public partial class ServiceAnnouncement : global::Microsoft.Graph.Models.Entity set { BackingStore?.Set("issues", value); } } #endif - /// A collection of service messages for tenant. This property is a contained navigation property, it is nullable and readonly. + /// A collection of service messages for tenant. This property is a contained navigation property, it is nullable and read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Messages diff --git a/src/Microsoft.Graph/Generated/Models/SharedInsight.cs b/src/Microsoft.Graph/Generated/Models/SharedInsight.cs index 48ca2a79ce2..7f42a872320 100644 --- a/src/Microsoft.Graph/Generated/Models/SharedInsight.cs +++ b/src/Microsoft.Graph/Generated/Models/SharedInsight.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class SharedInsight : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// Details about the shared item. Read only. + /// Details about the shared item. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.SharingDetail? LastShared diff --git a/src/Microsoft.Graph/Generated/Models/User.cs b/src/Microsoft.Graph/Generated/Models/User.cs index bfe8c8a936d..140faa76a89 100644 --- a/src/Microsoft.Graph/Generated/Models/User.cs +++ b/src/Microsoft.Graph/Generated/Models/User.cs @@ -29,7 +29,7 @@ public string AboutMe set { BackingStore?.Set("aboutMe", value); } } #endif - /// true if the account is enabled; otherwise, false. This property is required when a user is created. Requires $select to retrieve. Supports $filter (eq, ne, not, and in). + /// true if the account is enabled; otherwise, false. This property is required when a user is created. Requires $select to retrieve. Supports $filter (eq, ne, not, and in). This property is subject to sensitive action restrictions; only specific privileged administrator roles can update it. public bool? AccountEnabled { get { return BackingStore?.Get("accountEnabled"); } @@ -185,7 +185,7 @@ public DateTimeOffset? Birthday get { return BackingStore?.Get("birthday"); } set { BackingStore?.Set("birthday", value); } } - /// The telephone numbers for the user. NOTE: Although it's a string collection, only one number can be set for this property. Read-only for users synced from the on-premises directory. Returned by default. Supports $filter (eq, not, ge, le, startsWith). + /// The telephone numbers for the user. NOTE: Although it's a string collection, only one number can be set for this property. Read-only for users synced from the on-premises directory. Returned by default. Supports $filter (eq, not, ge, le, startsWith). This property is subject to sensitive action restrictions; only specific privileged administrator roles can update it. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? BusinessPhones @@ -1103,7 +1103,7 @@ public string MailNickname set { BackingStore?.Set("messages", value); } } #endif - /// The primary cellular telephone number for the user. Read-only for users synced from the on-premises directory. Maximum length is 64 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) and $search. + /// The primary cellular telephone number for the user. Read-only for users synced from the on-premises directory. Maximum length is 64 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) and $search. This property is subject to sensitive action restrictions; only specific privileged administrator roles can update it. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? MobilePhone @@ -1247,7 +1247,7 @@ public string OnPremisesDomainName set { BackingStore?.Set("onPremisesExtensionAttributes", value); } } #endif - /// This property is used to associate an on-premises Active Directory user account to their Microsoft Entra user object. This property must be specified when creating a new user account in the Graph if you're using a federated domain for the user's userPrincipalName (UPN) property. NOTE: The $ and _ characters can't be used when specifying this property. Requires $select to retrieve. Supports $filter (eq, ne, not, ge, le, in). + /// This property is used to associate an on-premises Active Directory user account to their Microsoft Entra user object. This property must be specified when creating a new user account in the Graph if you're using a federated domain for the user's userPrincipalName (UPN) property. NOTE: The $ and _ characters can't be used when specifying this property. Requires $select to retrieve. Supports $filter (eq, ne, not, ge, le, in). This property is subject to sensitive action restrictions; only specific privileged administrator roles can update it. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? OnPremisesImmutableId @@ -1355,7 +1355,7 @@ public string OnPremisesUserPrincipalName set { BackingStore?.Set("onPremisesUserPrincipalName", value); } } #endif - /// A list of other email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. Can store up to 250 values, each with a limit of 250 characters. NOTE: This property can't contain accent characters. Requires $select to retrieve. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). + /// A list of other email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. Can store up to 250 values, each with a limit of 250 characters. NOTE: This property can't contain accent characters. Requires $select to retrieve. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). This property is subject to sensitive action restrictions; only specific privileged administrator roles can update it. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? OtherMails @@ -1435,7 +1435,7 @@ public string PasswordPolicies set { BackingStore?.Set("passwordPolicies", value); } } #endif - /// Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Requires $select to retrieve. Supports $filter (eq, ne, not, in, and eq on null values). To update this property: User-PasswordProfile.ReadWrite.All is the least privileged permission to update this property. In delegated scenarios, the User Administrator Microsoft Entra role is the least privileged admin role supported to update this property for nonadmin users. Privileged Authentication Administrator is the least privileged role that's allowed to update this property for all administrators in the tenant. In general, the signed-in user must have a higher privileged administrator role as indicated in Who can reset passwords. In app-only scenarios, the calling app must be assigned a supported permission and at least the User Administrator Microsoft Entra role. + /// Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Requires $select to retrieve. Supports $filter (eq, ne, not, in, and eq on null values). To update this property: User-PasswordProfile.ReadWrite.All is the least privileged permission to update this property. In delegated scenarios, the User Administrator Microsoft Entra role is the least privileged admin role supported to update this property for nonadmin users. Privileged Authentication Administrator is the least privileged role that's allowed to update this property for all administrators in the tenant. In general, the signed-in user must have a higher privileged administrator role as indicated in Who can reset passwords. In app-only scenarios, the calling app must be assigned a supported permission and at least the User Administrator Microsoft Entra role. This property is also subject to sensitive action restrictions. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.PasswordProfile? PasswordProfile @@ -1975,7 +1975,7 @@ public string UsageLocation set { BackingStore?.Set("usageLocation", value); } } #endif - /// The user principal name (UPN) of the user. The UPN is an Internet-style sign-in name for the user based on the Internet standard RFC 822. By convention, this value should map to the user's email name. The general format is alias@domain, where the domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property can't contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderby. + /// The user principal name (UPN) of the user. The UPN is an Internet-style sign-in name for the user based on the Internet standard RFC 822. By convention, this value should map to the user's email name. The general format is alias@domain, where the domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property can't contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderby. This property is subject to sensitive action restrictions; only specific privileged administrator roles can update it. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? UserPrincipalName diff --git a/src/Microsoft.Graph/Generated/Models/ValidatingDomains.cs b/src/Microsoft.Graph/Generated/Models/ValidatingDomains.cs new file mode 100644 index 00000000000..4b5c060046e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ValidatingDomains.cs @@ -0,0 +1,95 @@ +// +#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.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ValidatingDomains : 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 + /// The rootDomains property + public global::Microsoft.Graph.Models.RootDomains? RootDomains + { + get { return BackingStore?.Get("rootDomains"); } + set { BackingStore?.Set("rootDomains", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public ValidatingDomains() + { + 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.Models.ValidatingDomains CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.allDomains" => new global::Microsoft.Graph.Models.AllDomains(), + "#microsoft.graph.enumeratedDomains" => new global::Microsoft.Graph.Models.EnumeratedDomains(), + _ => new global::Microsoft.Graph.Models.ValidatingDomains(), + }; + } + /// + /// 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(); } }, + { "rootDomains", n => { RootDomains = 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("rootDomains", RootDomains); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/Usage/UsageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/Usage/UsageRequestBuilder.cs index a3efd62b8a9..1303c3dc620 100644 --- a/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/Usage/UsageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/Usage/UsageRequestBuilder.cs @@ -35,7 +35,7 @@ public UsageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. + /// Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that don't require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public UsageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AuthenticationStrengthUsage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that do not require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. + /// Allows the caller to see which Conditional Access policies reference a specified authentication strength policy. The policies are returned in two collections, one containing Conditional Access policies that require an MFA claim and the other containing Conditional Access policies that don't require such a claim. Policies in the former category are restricted in what kinds of changes may be made to them to prevent undermining the MFA requirement of those policies. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs new file mode 100644 index 00000000000..cd66fa9c562 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Policies.FederatedTokenValidationPolicy +{ + /// + /// Provides operations to manage the federatedTokenValidationPolicy property of the microsoft.graph.policyRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FederatedTokenValidationPolicyRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public FederatedTokenValidationPolicyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/federatedTokenValidationPolicy{?%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 FederatedTokenValidationPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/federatedTokenValidationPolicy{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property federatedTokenValidationPolicy for policies + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get federatedTokenValidationPolicy from policies + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FederatedTokenValidationPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property federatedTokenValidationPolicy in policies + /// + /// 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.Models.FederatedTokenValidationPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.FederatedTokenValidationPolicy 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.FederatedTokenValidationPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property federatedTokenValidationPolicy for 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 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 federatedTokenValidationPolicy from 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; + } + /// + /// Update the navigation property federatedTokenValidationPolicy in policies + /// + /// 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.Models.FederatedTokenValidationPolicy body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.FederatedTokenValidationPolicy 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.Policies.FederatedTokenValidationPolicy.FederatedTokenValidationPolicyRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Policies.FederatedTokenValidationPolicy.FederatedTokenValidationPolicyRequestBuilder(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 FederatedTokenValidationPolicyRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get federatedTokenValidationPolicy from policies + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class FederatedTokenValidationPolicyRequestBuilderGetQueryParameters + { + /// 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 FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration : 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 FederatedTokenValidationPolicyRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs index c074e64af95..40187925630 100644 --- a/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs @@ -15,6 +15,7 @@ using Microsoft.Graph.Policies.DefaultAppManagementPolicy; using Microsoft.Graph.Policies.DeviceRegistrationPolicy; using Microsoft.Graph.Policies.FeatureRolloutPolicies; +using Microsoft.Graph.Policies.FederatedTokenValidationPolicy; using Microsoft.Graph.Policies.HomeRealmDiscoveryPolicies; using Microsoft.Graph.Policies.IdentitySecurityDefaultsEnforcementPolicy; using Microsoft.Graph.Policies.OwnerlessGroupPolicy; @@ -104,6 +105,11 @@ public partial class PoliciesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Policies.FeatureRolloutPolicies.FeatureRolloutPoliciesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the federatedTokenValidationPolicy property of the microsoft.graph.policyRoot entity. + public global::Microsoft.Graph.Policies.FederatedTokenValidationPolicy.FederatedTokenValidationPolicyRequestBuilder FederatedTokenValidationPolicy + { + get => new global::Microsoft.Graph.Policies.FederatedTokenValidationPolicy.FederatedTokenValidationPolicyRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.policyRoot entity. public global::Microsoft.Graph.Policies.HomeRealmDiscoveryPolicies.HomeRealmDiscoveryPoliciesRequestBuilder HomeRealmDiscoveryPolicies { diff --git a/src/Microsoft.Graph/Generated/SchemaExtensions/Item/SchemaExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/SchemaExtensions/Item/SchemaExtensionItemRequestBuilder.cs index 20d406644bf..884af3eb699 100644 --- a/src/Microsoft.Graph/Generated/SchemaExtensions/Item/SchemaExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/SchemaExtensions/Item/SchemaExtensionItemRequestBuilder.cs @@ -35,7 +35,7 @@ public SchemaExtensionItemRequestBuilder(string rawUrl, IRequestAdapter requestA { } /// - /// Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. + /// Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition doesn't affect accessing custom data that has been added to resource instances based on that definition. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -108,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.SchemaExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. + /// Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition doesn't affect accessing custom data that has been added to resource instances based on that definition. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Security/Alerts_v2/MicrosoftGraphSecurityMoveAlerts/MicrosoftGraphSecurityMoveAlertsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Alerts_v2/MicrosoftGraphSecurityMoveAlerts/MicrosoftGraphSecurityMoveAlertsRequestBuilder.cs index 63680d22257..1c34d2764b7 100644 --- a/src/Microsoft.Graph/Generated/Security/Alerts_v2/MicrosoftGraphSecurityMoveAlerts/MicrosoftGraphSecurityMoveAlertsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Alerts_v2/MicrosoftGraphSecurityMoveAlerts/MicrosoftGraphSecurityMoveAlertsRequestBuilder.cs @@ -35,7 +35,7 @@ public MicrosoftGraphSecurityMoveAlertsRequestBuilder(string rawUrl, IRequestAda { } /// - /// Invoke action moveAlerts + /// Move one or more alert resources to a new or existing incident. /// /// A /// The request body @@ -60,7 +60,7 @@ public MicrosoftGraphSecurityMoveAlertsRequestBuilder(string rawUrl, IRequestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Security.MergeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke action moveAlerts + /// Move one or more alert resources to a new or existing incident. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilder.cs index 6151c0a40bd..7e954ca00f4 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.Simulation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update an attack simulation campaign for a tenant. + /// Update an attack simulation campaign for a tenant. You can only update simulations that are in draft status. /// Find more info here /// /// A @@ -164,7 +164,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update an attack simulation campaign for a tenant. + /// Update an attack simulation campaign for a tenant. You can only update simulations that are in draft status. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/AnalyzedEmailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/AnalyzedEmailsRequestBuilder.cs new file mode 100644 index 00000000000..c939c05366b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/AnalyzedEmailsRequestBuilder.cs @@ -0,0 +1,245 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.Security; +using Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Count; +using Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item; +using Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.Collaboration.AnalyzedEmails +{ + /// + /// Provides operations to manage the analyzedEmails property of the microsoft.graph.security.collaborationRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AnalyzedEmailsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remediate method. + public global::Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.MicrosoftGraphSecurityRemediateRequestBuilder MicrosoftGraphSecurityRemediate + { + get => new global::Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.MicrosoftGraphSecurityRemediateRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the analyzedEmails property of the microsoft.graph.security.collaborationRoot entity. + /// The unique identifier of analyzedEmail + /// A + public global::Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("analyzedEmail%2Did", position); + return new global::Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder(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 AnalyzedEmailsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/collaboration/analyzedEmails{?%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 AnalyzedEmailsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/collaboration/analyzedEmails{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of analyzedEmail objects and their properties. This API allows Security Operations teams to have direct access to hunt (query) for threats, IOCs, attack vectors, and evidences for a tenant. It is a powerful, near real-time tool to help Security Operations teams investigate and respond to threats. It consists of email metadata, verdict information, related underlying entities (attachments/URL), filters, and more. + /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Security.AnalyzedEmailCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to analyzedEmails for security + /// + /// 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.Models.Security.AnalyzedEmail body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.Security.AnalyzedEmail 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Security.AnalyzedEmail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of analyzedEmail objects and their properties. This API allows Security Operations teams to have direct access to hunt (query) for threats, IOCs, attack vectors, and evidences for a tenant. It is a powerful, near real-time tool to help Security Operations teams investigate and respond to threats. It consists of email metadata, verdict information, related underlying entities (attachments/URL), filters, and more. + /// + /// A + /// Configuration 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 analyzedEmails for security + /// + /// 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.Models.Security.AnalyzedEmail body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.Security.AnalyzedEmail 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.Security.Collaboration.AnalyzedEmails.AnalyzedEmailsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Security.Collaboration.AnalyzedEmails.AnalyzedEmailsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of analyzedEmail objects and their properties. This API allows Security Operations teams to have direct access to hunt (query) for threats, IOCs, attack vectors, and evidences for a tenant. It is a powerful, near real-time tool to help Security Operations teams investigate and respond to threats. It consists of email metadata, verdict information, related underlying entities (attachments/URL), filters, and more. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AnalyzedEmailsRequestBuilderGetQueryParameters + { + /// 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 AnalyzedEmailsRequestBuilderGetRequestConfiguration : 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 AnalyzedEmailsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..011f6f74e86 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Security.Collaboration.AnalyzedEmails.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/collaboration/analyzedEmails/$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/collaboration/analyzedEmails/$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.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.Security.Collaboration.AnalyzedEmails.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Security.Collaboration.AnalyzedEmails.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/Collaboration/AnalyzedEmails/Item/AnalyzedEmailItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/Item/AnalyzedEmailItemRequestBuilder.cs new file mode 100644 index 00000000000..7b572d922c8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/Item/AnalyzedEmailItemRequestBuilder.cs @@ -0,0 +1,230 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Security.Collaboration.AnalyzedEmails.Item +{ + /// + /// Provides operations to manage the analyzedEmails property of the microsoft.graph.security.collaborationRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AnalyzedEmailItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AnalyzedEmailItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/collaboration/analyzedEmails/{analyzedEmail%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 AnalyzedEmailItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/collaboration/analyzedEmails/{analyzedEmail%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property analyzedEmails for security + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of an analyzedEmail 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Security.AnalyzedEmail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property analyzedEmails in security + /// + /// 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.Models.Security.AnalyzedEmail body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.Security.AnalyzedEmail 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Security.AnalyzedEmail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property analyzedEmails for security + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation 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 analyzedEmail 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 navigation property analyzedEmails in security + /// + /// 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.Models.Security.AnalyzedEmail body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Security.AnalyzedEmail 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.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder(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 AnalyzedEmailItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of an analyzedEmail object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AnalyzedEmailItemRequestBuilderGetQueryParameters + { + /// 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 AnalyzedEmailItemRequestBuilderGetRequestConfiguration : 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 AnalyzedEmailItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/MicrosoftGraphSecurityRemediate/MicrosoftGraphSecurityRemediateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/MicrosoftGraphSecurityRemediate/MicrosoftGraphSecurityRemediateRequestBuilder.cs new file mode 100644 index 00000000000..b0f33234316 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/MicrosoftGraphSecurityRemediate/MicrosoftGraphSecurityRemediateRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.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.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate +{ + /// + /// Provides operations to call the remediate method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphSecurityRemediateRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MicrosoftGraphSecurityRemediateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/collaboration/analyzedEmails/microsoft.graph.security.remediate", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public MicrosoftGraphSecurityRemediateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/collaboration/analyzedEmails/microsoft.graph.security.remediate", rawUrl) + { + } + /// + /// Remove a potential threat from end users' mailboxes. Remediation means to take prescribed action against a threat. This API can trigger email purge actions like move to junk, move to deleted items, soft delete, hard delete, or move to Inbox. This API enables scenarios and use cases such as SOAR integration, playbooks, and automations. For more information read email remediation, trigger action and track actions. If there is false positives admins can take move to inbox action. + /// + /// 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.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.RemediatePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.RemediatePostRequestBody 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove a potential threat from end users' mailboxes. Remediation means to take prescribed action against a threat. This API can trigger email purge actions like move to junk, move to deleted items, soft delete, hard delete, or move to Inbox. This API enables scenarios and use cases such as SOAR integration, playbooks, and automations. For more information read email remediation, trigger action and track actions. If there is false positives admins can take move to inbox action. + /// + /// 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.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.RemediatePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.RemediatePostRequestBody 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.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.MicrosoftGraphSecurityRemediateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.MicrosoftGraphSecurityRemediateRequestBuilder(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 MicrosoftGraphSecurityRemediateRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/MicrosoftGraphSecurityRemediate/RemediatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/MicrosoftGraphSecurityRemediate/RemediatePostRequestBody.cs new file mode 100644 index 00000000000..3dc2c6064c2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Collaboration/AnalyzedEmails/MicrosoftGraphSecurityRemediate/RemediatePostRequestBody.cs @@ -0,0 +1,143 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.Security; +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.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemediatePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// The action property + public global::Microsoft.Graph.Models.Security.RemediationAction? Action + { + get { return BackingStore?.Get("action"); } + set { BackingStore?.Set("action", 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); } + } + /// The analyzedEmails property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? AnalyzedEmails + { + get { return BackingStore?.Get?>("analyzedEmails"); } + set { BackingStore?.Set("analyzedEmails", value); } + } +#nullable restore +#else + public List AnalyzedEmails + { + get { return BackingStore?.Get>("analyzedEmails"); } + set { BackingStore?.Set("analyzedEmails", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The description property +#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 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 remediateSendersCopy property + public bool? RemediateSendersCopy + { + get { return BackingStore?.Get("remediateSendersCopy"); } + set { BackingStore?.Set("remediateSendersCopy", value); } + } + /// The severity property + public global::Microsoft.Graph.Models.Security.RemediationSeverity? Severity + { + get { return BackingStore?.Get("severity"); } + set { BackingStore?.Set("severity", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public RemediatePostRequestBody() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + RemediateSendersCopy = false; + } + /// + /// 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.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.RemediatePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.RemediatePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "action", n => { Action = n.GetEnumValue(); } }, + { "analyzedEmails", n => { AnalyzedEmails = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.AnalyzedEmail.CreateFromDiscriminatorValue)?.AsList(); } }, + { "description", n => { Description = n.GetStringValue(); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "remediateSendersCopy", n => { RemediateSendersCopy = n.GetBoolValue(); } }, + { "severity", n => { Severity = 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("action", Action); + writer.WriteCollectionOfObjectValues("analyzedEmails", AnalyzedEmails); + writer.WriteStringValue("description", Description); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteBoolValue("remediateSendersCopy", RemediateSendersCopy); + writer.WriteEnumValue("severity", Severity); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Collaboration/CollaborationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Collaboration/CollaborationRequestBuilder.cs new file mode 100644 index 00000000000..576a2c2e389 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Collaboration/CollaborationRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.Security; +using Microsoft.Graph.Security.Collaboration.AnalyzedEmails; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.Collaboration +{ + /// + /// Provides operations to manage the collaboration property of the microsoft.graph.security entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CollaborationRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the analyzedEmails property of the microsoft.graph.security.collaborationRoot entity. + public global::Microsoft.Graph.Security.Collaboration.AnalyzedEmails.AnalyzedEmailsRequestBuilder AnalyzedEmails + { + get => new global::Microsoft.Graph.Security.Collaboration.AnalyzedEmails.AnalyzedEmailsRequestBuilder(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 CollaborationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/collaboration{?%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 CollaborationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/collaboration{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property collaboration for security + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get collaboration from security + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Security.CollaborationRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property collaboration in security + /// + /// 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.Models.Security.CollaborationRoot body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.Security.CollaborationRoot 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Security.CollaborationRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property collaboration for security + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation 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 collaboration from security + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property collaboration in security + /// + /// 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.Models.Security.CollaborationRoot body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.Security.CollaborationRoot 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.Security.Collaboration.CollaborationRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Security.Collaboration.CollaborationRequestBuilder(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 CollaborationRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get collaboration from security + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CollaborationRequestBuilderGetQueryParameters + { + /// 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 CollaborationRequestBuilderGetRequestConfiguration : 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 CollaborationRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Security/Incidents/MicrosoftGraphSecurityMergeIncidents/MicrosoftGraphSecurityMergeIncidentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Incidents/MicrosoftGraphSecurityMergeIncidents/MicrosoftGraphSecurityMergeIncidentsRequestBuilder.cs index fe7173cfac0..ef0e2309bfe 100644 --- a/src/Microsoft.Graph/Generated/Security/Incidents/MicrosoftGraphSecurityMergeIncidents/MicrosoftGraphSecurityMergeIncidentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Incidents/MicrosoftGraphSecurityMergeIncidents/MicrosoftGraphSecurityMergeIncidentsRequestBuilder.cs @@ -35,7 +35,7 @@ public MicrosoftGraphSecurityMergeIncidentsRequestBuilder(string rawUrl, IReques { } /// - /// Invoke action mergeIncidents + /// Merge multiple incident resources into a single incident. /// /// A /// The request body @@ -60,7 +60,7 @@ public MicrosoftGraphSecurityMergeIncidentsRequestBuilder(string rawUrl, IReques return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Security.MergeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke action mergeIncidents + /// Merge multiple incident resources into a single incident. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Security/Labels/RetentionLabels/Item/RetentionLabelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Labels/RetentionLabels/Item/RetentionLabelItemRequestBuilder.cs index 9f9a573277f..0a368d2f565 100644 --- a/src/Microsoft.Graph/Generated/Security/Labels/RetentionLabels/Item/RetentionLabelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Labels/RetentionLabels/Item/RetentionLabelItemRequestBuilder.cs @@ -76,7 +76,8 @@ public async Task DeleteAsync(Action - /// Represents how customers can manage their data, whether and for how long to retain or delete it. + /// Read the properties and relationships of a retentionLabel object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -144,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Represents how customers can manage their data, whether and for how long to retain or delete it. + /// Read the properties and relationships of a retentionLabel object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -202,7 +203,7 @@ public partial class RetentionLabelItemRequestBuilderDeleteRequestConfiguration { } /// - /// Represents how customers can manage their data, whether and for how long to retain or delete it. + /// Read the properties and relationships of a retentionLabel object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RetentionLabelItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs index 14ebcc4bcd3..8b2fe7a37ec 100644 --- a/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Security.Alerts_v2; using Microsoft.Graph.Security.AttackSimulation; using Microsoft.Graph.Security.Cases; +using Microsoft.Graph.Security.Collaboration; using Microsoft.Graph.Security.DataSecurityAndGovernance; using Microsoft.Graph.Security.Identities; using Microsoft.Graph.Security.Incidents; @@ -53,6 +54,11 @@ public partial class SecurityRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Security.Cases.CasesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the collaboration property of the microsoft.graph.security entity. + public global::Microsoft.Graph.Security.Collaboration.CollaborationRequestBuilder Collaboration + { + get => new global::Microsoft.Graph.Security.Collaboration.CollaborationRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the dataSecurityAndGovernance property of the microsoft.graph.security entity. public global::Microsoft.Graph.Security.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder DataSecurityAndGovernance { diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs index 9ae8677737c..7ff3f9d1220 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs @@ -34,7 +34,7 @@ public AcquireAccessTokenRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Acquire an OAuth access token to authorize the Microsoft Entra provisioning service to provision users into an application. + /// Acquire an OAuth access token from the synchronization resource to authorize the Microsoft Entra provisioning service to provision users into an application. /// Find more info here /// /// The request body @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.ServicePrincipals.Item.Synch await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Acquire an OAuth access token to authorize the Microsoft Entra provisioning service to provision users into an application. + /// Acquire an OAuth access token from the synchronization resource to authorize the Microsoft Entra provisioning service to provision users into an application. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs index 940951e16bb..0758937f3bd 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs @@ -34,7 +34,7 @@ public PauseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. + /// Temporarily stop a running synchronizationJob. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -57,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. + /// Temporarily stop a running synchronizationJob. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs index bf441440603..43a03591a00 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs @@ -35,7 +35,7 @@ public ProvisionOnDemandRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. + /// Select a user and provision the account on-demand for a synchronizationJob. The rate limit for this API is 5 requests per 10 seconds. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public ProvisionOnDemandRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.StringKeyStringValuePair.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. + /// Select a user and provision the account on-demand for a synchronizationJob. The rate limit for this API is 5 requests per 10 seconds. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs index cb6d5fe148a..4e9dff77ef6 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs @@ -34,7 +34,7 @@ public RestartRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. + /// Restart a stopped synchronizationJob, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. /// Find more info here /// /// The request body @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.ServicePrincipals.Item.Synch await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. + /// Restart a stopped synchronizationJob, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs index 2dbdd7fadd4..e02a35ea52c 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs @@ -35,7 +35,7 @@ public DiscoverRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Discover the latest schema definition for provisioning to an application. + /// Discover the latest schema definition for provisioning to an application for the directoryDefinition. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public DiscoverRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Discover the latest schema definition for provisioning to an application. + /// Discover the latest schema definition for provisioning to an application for the directoryDefinition. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs index 2d3dbf7bf85..cc5dc955ac1 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs @@ -34,7 +34,7 @@ public FilterOperatorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// List all operators supported in the scoping filters. + /// List all operators supported in the scoping filters for a synchronizationSchema. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public FilterOperatorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.Item.Synchronization.Jobs.Item.Schema.FilterOperators.FilterOperatorsGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all operators supported in the scoping filters. + /// List all operators supported in the scoping filters for a synchronizationSchema. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public FilterOperatorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.Item.Synchronization.Jobs.Item.Schema.FilterOperators.FilterOperatorsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all operators supported in the scoping filters. + /// List all operators supported in the scoping filters for a synchronizationSchema. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// List all operators supported in the scoping filters. + /// List all operators supported in the scoping filters for a synchronizationSchema. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FilterOperatorsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs index 9ff4fbc6187..eb9e2b03207 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs @@ -34,7 +34,7 @@ public FunctionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// List all the functions currently supported in the attributeMappingSource. + /// List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public FunctionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.Item.Synchronization.Jobs.Item.Schema.Functions.FunctionsGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all the functions currently supported in the attributeMappingSource. + /// List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public FunctionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.Item.Synchronization.Jobs.Item.Schema.Functions.FunctionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all the functions currently supported in the attributeMappingSource. + /// List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// List all the functions currently supported in the attributeMappingSource. + /// List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FunctionsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs index 1c2f75e6dd7..fd0b2afb756 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs @@ -35,7 +35,7 @@ public ParseExpressionRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. + /// Parse a given string expression into an attributeMappingSource object for a synchronizationSchema. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public ParseExpressionRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ParseExpressionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. + /// Parse a given string expression into an attributeMappingSource object for a synchronizationSchema. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.cs index 26ba67ec4b9..011b6d03e35 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.cs @@ -81,7 +81,7 @@ public async Task DeleteAsync(Action - /// Retrieve the schema for a given synchronization job or template. + /// Retrieve the synchronizationSchema for a given synchronization job or template. /// Find more info here /// /// A @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.SynchronizationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application. + /// Update the synchronizationSchema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application. /// Find more info here /// /// A @@ -150,7 +150,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the schema for a given synchronization job or template. + /// Retrieve the synchronizationSchema for a given synchronization job or template. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -169,7 +169,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application. + /// Update the synchronizationSchema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application. /// /// A /// The request body @@ -208,7 +208,7 @@ public partial class SchemaRequestBuilderDeleteRequestConfiguration : RequestCon { } /// - /// Retrieve the schema for a given synchronization job or template. + /// Retrieve the synchronizationSchema for a given synchronization job or template. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SchemaRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs index 7d6783e8515..cfa6658bd48 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs @@ -34,7 +34,7 @@ public StartRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. + /// Start an existing synchronizationJob. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -57,7 +57,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. + /// Start an existing synchronizationJob. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs index 7b96ae88421..9af8ba81864 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs @@ -77,7 +77,7 @@ public SynchronizationJobItemRequestBuilder(string rawUrl, IRequestAdapter reque { } /// - /// Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. + /// Stop the synchronizationJob, and permanently delete all the state associated with it. Synchronized accounts are left as-is. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -100,7 +100,7 @@ public async Task DeleteAsync(Action - /// Retrieve the existing synchronization job and its properties. + /// Retrieve an existing synchronizationJob and its properties. /// Find more info here /// /// A @@ -149,7 +149,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.SynchronizationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. + /// Stop the synchronizationJob, and permanently delete all the state associated with it. Synchronized accounts are left as-is. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -168,7 +168,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the existing synchronization job and its properties. + /// Retrieve an existing synchronizationJob and its properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -226,7 +226,7 @@ public partial class SynchronizationJobItemRequestBuilderDeleteRequestConfigurat { } /// - /// Retrieve the existing synchronization job and its properties. + /// Retrieve an existing synchronizationJob and its properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SynchronizationJobItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs index 8cb118c0708..ffcd344a4f2 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs @@ -34,7 +34,7 @@ public ValidateCredentialsRequestBuilder(string rawUrl, IRequestAdapter requestA { } /// - /// Validate that the credentials are valid in the tenant. + /// Validate that the credentials are valid in the tenant for a synchronizationJob. /// Find more info here /// /// The request body @@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.ServicePrincipals.Item.Synch await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Validate that the credentials are valid in the tenant. + /// Validate that the credentials are valid in the tenant for a synchronizationJob. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilder.cs index abb5f59ca7a..ff374e41eb9 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilder.cs @@ -60,7 +60,7 @@ public JobsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( { } /// - /// List existing jobs for a given application instance (service principal). + /// List existing synchronizationJob objects for a given application instance (service principal). /// Find more info here /// /// A @@ -84,7 +84,7 @@ public JobsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SynchronizationJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. + /// Create a new synchronizationJob with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. /// Find more info here /// /// A @@ -110,7 +110,7 @@ public JobsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SynchronizationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List existing jobs for a given application instance (service principal). + /// List existing synchronizationJob objects for a given application instance (service principal). /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. + /// Create a new synchronizationJob with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. /// /// A /// The request body @@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.ServicePrincipals.Item.Synchronization.Jobs.JobsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List existing jobs for a given application instance (service principal). + /// List existing synchronizationJob objects for a given application instance (service principal). /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class JobsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/SecretsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/SecretsRequestBuilder.cs index 3c98c6d05b8..b70fb7fd160 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/SecretsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/SecretsRequestBuilder.cs @@ -40,7 +40,7 @@ public SecretsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Provide credentials for establishing connectivity with the target system. + /// Provide credentials for establishing connectivity with the target system and store them in the synchronization resource. /// Find more info here /// /// A @@ -66,7 +66,7 @@ public SecretsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.Item.Synchronization.Secrets.SecretsPutResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Provide credentials for establishing connectivity with the target system. + /// Provide credentials for establishing connectivity with the target system and store them in the synchronization resource. /// Find more info here /// /// A @@ -93,7 +93,7 @@ public SecretsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.Item.Synchronization.Secrets.SecretsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Provide credentials for establishing connectivity with the target system. + /// Provide credentials for establishing connectivity with the target system and store them in the synchronization resource. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs index 84fc496b539..43e8d059dda 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs @@ -35,7 +35,7 @@ public DiscoverRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Discover the latest schema definition for provisioning to an application. + /// Discover the latest schema definition for provisioning to an application for the directoryDefinition. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public DiscoverRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Discover the latest schema definition for provisioning to an application. + /// Discover the latest schema definition for provisioning to an application for the directoryDefinition. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs index a6b1b80ca8a..a8ecbe7af2d 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs @@ -34,7 +34,7 @@ public FilterOperatorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// List all operators supported in the scoping filters. + /// List all operators supported in the scoping filters for a synchronizationSchema. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public FilterOperatorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.Item.Synchronization.Templates.Item.Schema.FilterOperators.FilterOperatorsGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all operators supported in the scoping filters. + /// List all operators supported in the scoping filters for a synchronizationSchema. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public FilterOperatorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.Item.Synchronization.Templates.Item.Schema.FilterOperators.FilterOperatorsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all operators supported in the scoping filters. + /// List all operators supported in the scoping filters for a synchronizationSchema. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// List all operators supported in the scoping filters. + /// List all operators supported in the scoping filters for a synchronizationSchema. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FilterOperatorsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs index 5ecd0468fc4..228cd385a88 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs @@ -34,7 +34,7 @@ public FunctionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// List all the functions currently supported in the attributeMappingSource. + /// List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. /// Find more info here /// /// A @@ -58,7 +58,7 @@ public FunctionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.Item.Synchronization.Templates.Item.Schema.Functions.FunctionsGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all the functions currently supported in the attributeMappingSource. + /// List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. /// Find more info here /// /// A @@ -83,7 +83,7 @@ public FunctionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.ServicePrincipals.Item.Synchronization.Templates.Item.Schema.Functions.FunctionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all the functions currently supported in the attributeMappingSource. + /// List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action - /// List all the functions currently supported in the attributeMappingSource. + /// List all the functions currently supported in the attributeMappingSource for a synchronizationSchema. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FunctionsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs index 7b1d6f18b6e..e9bee055932 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs @@ -35,7 +35,7 @@ public ParseExpressionRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. + /// Parse a given string expression into an attributeMappingSource object for a synchronizationSchema. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public ParseExpressionRequestBuilder(string rawUrl, IRequestAdapter requestAdapt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ParseExpressionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. + /// Parse a given string expression into an attributeMappingSource object for a synchronizationSchema. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/TemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/TemplatesRequestBuilder.cs index c8c5a6ec5f3..defe90573da 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/TemplatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/TemplatesRequestBuilder.cs @@ -54,7 +54,7 @@ public TemplatesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// List the synchronization templates associated with a given application or service principal. + /// List synchronizationTemplate objects associated with a given application or service principal. /// Find more info here /// /// A @@ -103,7 +103,7 @@ public TemplatesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SynchronizationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List the synchronization templates associated with a given application or service principal. + /// List synchronizationTemplate objects associated with a given application or service principal. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.ServicePrincipals.Item.Synchronization.Templates.TemplatesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List the synchronization templates associated with a given application or service principal. + /// List synchronizationTemplate objects associated with a given application or service principal. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class TemplatesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs index 73dda2d3bc9..0368bb8c8c2 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Solutions.BackupRestore.DriveInclusionRules; using Microsoft.Graph.Solutions.BackupRestore.DriveProtectionUnits; using Microsoft.Graph.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs; +using Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting; using Microsoft.Graph.Solutions.BackupRestore.Enable; using Microsoft.Graph.Solutions.BackupRestore.ExchangeProtectionPolicies; using Microsoft.Graph.Solutions.BackupRestore.ExchangeRestoreSessions; @@ -62,6 +63,11 @@ public partial class BackupRestoreRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs.DriveProtectionUnitsBulkAdditionJobsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the emailNotificationsSetting property of the microsoft.graph.backupRestoreRoot entity. + public global::Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.EmailNotificationsSettingRequestBuilder EmailNotificationsSetting + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.EmailNotificationsSettingRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to call the enable method. public global::Microsoft.Graph.Solutions.BackupRestore.Enable.EnableRequestBuilder Enable { diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/EmailNotificationsSetting/EmailNotificationsSettingRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/EmailNotificationsSetting/EmailNotificationsSettingRequestBuilder.cs new file mode 100644 index 00000000000..4377ddbe30e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/EmailNotificationsSetting/EmailNotificationsSettingRequestBuilder.cs @@ -0,0 +1,231 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.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.Solutions.BackupRestore.EmailNotificationsSetting +{ + /// + /// Provides operations to manage the emailNotificationsSetting property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EmailNotificationsSettingRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public EmailNotificationsSettingRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/emailNotificationsSetting{?%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 EmailNotificationsSettingRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/emailNotificationsSetting{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property emailNotificationsSetting 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of an emailNotificationsSetting 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EmailNotificationsSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of an emailNotificationsSetting 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.Models.EmailNotificationsSetting body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.EmailNotificationsSetting 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EmailNotificationsSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property emailNotificationsSetting 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; + } + /// + /// Read the properties and relationships of an emailNotificationsSetting 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 an emailNotificationsSetting 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.Models.EmailNotificationsSetting body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.EmailNotificationsSetting 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.Solutions.BackupRestore.EmailNotificationsSetting.EmailNotificationsSettingRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.EmailNotificationsSettingRequestBuilder(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 EmailNotificationsSettingRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of an emailNotificationsSetting object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class EmailNotificationsSettingRequestBuilderGetQueryParameters + { + /// 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 EmailNotificationsSettingRequestBuilderGetRequestConfiguration : 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 EmailNotificationsSettingRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilder.cs index 8aca9c159ab..9c515eb568e 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilder.cs @@ -54,7 +54,7 @@ public BookingBusinessesRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. + /// Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it doesn't return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. /// Find more info here /// /// A @@ -104,7 +104,7 @@ public BookingBusinessesRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.BookingBusiness.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. + /// Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it doesn't return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Solutions.BookingBusinesses.BookingBusinessesRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. + /// Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it doesn't return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class BookingBusinessesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs index a1040a50baf..bc1b8250897 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs @@ -54,7 +54,7 @@ public AllowedMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant + /// Get the list of conversationMembers who can access a shared channel. This method doesn't return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant /// Find more info here /// /// A @@ -78,7 +78,7 @@ public AllowedMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant + /// Get the list of conversationMembers who can access a shared channel. This method doesn't return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -106,7 +106,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant + /// Get the list of conversationMembers who can access a shared channel. This method doesn't return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AllowedMembersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs index f46ce30ad83..78100952522 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs @@ -35,7 +35,7 @@ public SchedulingGroupItemRequestBuilder(string rawUrl, IRequestAdapter requestA { } /// - /// Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. + /// Mark a schedulingGroup as inactive by setting its isActive property.This method doesn't remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -108,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. + /// Mark a schedulingGroup as inactive by setting its isActive property.This method doesn't remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.cs index 3c07805caa0..79b45318cba 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/Transcripts/TranscriptsRequestBuilder.cs @@ -60,7 +60,7 @@ public TranscriptsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. + /// Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Access to this API is governed by tenant administrator settings. For more information, see Error responses. /// Find more info here /// /// A @@ -109,7 +109,7 @@ public TranscriptsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.CallTranscript.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. + /// Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Access to this API is governed by tenant administrator settings. For more information, see Error responses. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Users.Item.OnlineMeetings.Item.Transcripts.TranscriptsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. + /// Retrieve the list of callTranscript objects associated with a scheduled onlineMeeting. This API supports the retrieval of call transcripts from all meeting types except live events. Access to this API is governed by tenant administrator settings. For more information, see Error responses. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class TranscriptsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index 12b3875c76e..cea24485ded 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -70203,6 +70203,84 @@ Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackages.Item.Res Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.AccessPackageResourceRoleScope; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackages.Item.ResourceRoleScopes.ResourceRoleScopesRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder.accessPackageSuggestionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder.accessPackageSuggestionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder.accessPackageSuggestionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder.accessPackageSuggestionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder.accessPackageSuggestionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder.accessPackageSuggestionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder.accessPackageSuggestionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder.accessPackageSuggestionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder.accessPackageSuggestionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder.accessPackageSuggestionsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder::[AccessPackageSuggestionId:string]:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder::|public|Count:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder::|public|filterByCurrentUserWithOn(on:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageSuggestionCollectionResponse +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.AccessPackageSuggestion; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageSuggestion +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.AccessPackageSuggestion; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.accessPackageSuggestionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.AccessPackageSuggestionsRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnGetResponse::|public|Value:List +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnRequestBuilder.filterByCurrentUserWithOnRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnRequestBuilder.filterByCurrentUserWithOnRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnRequestBuilder.filterByCurrentUserWithOnRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnRequestBuilder.filterByCurrentUserWithOnRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnRequestBuilder.filterByCurrentUserWithOnRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnRequestBuilder.filterByCurrentUserWithOnRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnRequestBuilder.filterByCurrentUserWithOnRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnRequestBuilder.filterByCurrentUserWithOnRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnRequestBuilder.filterByCurrentUserWithOnRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; on?:string):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnRequestBuilder::|public|GetAsFilterByCurrentUserWithOnGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnResponse +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnResponse-->global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnGetResponse +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.filterByCurrentUserWithOnResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.FilterByCurrentUserWithOn.FilterByCurrentUserWithOnResponse +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackage.accessPackageRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackage.accessPackageRequestBuilder.accessPackageRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackage.accessPackageRequestBuilder.accessPackageRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackage.accessPackageRequestBuilder.accessPackageRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackage.accessPackageRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackage.accessPackageRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackage.accessPackageRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AvailableAccessPackage +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackage.accessPackageRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackage.accessPackageRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackage.AccessPackageRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder.AccessPackageSuggestionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder.AccessPackageSuggestionItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder.AccessPackageSuggestionItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder.AccessPackageSuggestionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder.AccessPackageSuggestionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder::|public|accessPackage:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackage.AccessPackageRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageSuggestion +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.AccessPackageSuggestion; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageSuggestion +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.AccessPackageSuggestion; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.Item.AccessPackageSuggestionItemRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.AssignmentPolicies.assignmentPoliciesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.AssignmentPolicies.assignmentPoliciesRequestBuilder.assignmentPoliciesRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.IdentityGovernance.EntitlementManagement.AssignmentPolicies.assignmentPoliciesRequestBuilder.assignmentPoliciesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -70653,6 +70731,86 @@ Microsoft.Graph.IdentityGovernance.EntitlementManagement.Assignments.Item.Target Microsoft.Graph.IdentityGovernance.EntitlementManagement.Assignments.Item.Target.targetRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageSubject Microsoft.Graph.IdentityGovernance.EntitlementManagement.Assignments.Item.Target.targetRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.EntitlementManagement.Assignments.Item.Target.targetRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Assignments.Item.Target.TargetRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder.availableAccessPackagesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder.availableAccessPackagesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder.availableAccessPackagesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder.availableAccessPackagesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder.availableAccessPackagesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder.availableAccessPackagesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder.availableAccessPackagesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder.availableAccessPackagesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder.availableAccessPackagesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder.availableAccessPackagesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder::[AvailableAccessPackageId:string]:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder::|public|Count:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AvailableAccessPackageCollectionResponse +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.AvailableAccessPackage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AvailableAccessPackage +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.AvailableAccessPackage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.availableAccessPackagesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.AvailableAccessPackagesRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder.AvailableAccessPackageItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder.AvailableAccessPackageItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder.AvailableAccessPackageItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder.AvailableAccessPackageItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder.AvailableAccessPackageItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AvailableAccessPackage +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.AvailableAccessPackage; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AvailableAccessPackage +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder::|public|resourceRoleScopes:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.ResourceRoleScopesRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.AvailableAccessPackage; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.AvailableAccessPackageItemRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Item.AccessPackageResourceRoleScopeItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Item.AccessPackageResourceRoleScopeItemRequestBuilder.AccessPackageResourceRoleScopeItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Item.AccessPackageResourceRoleScopeItemRequestBuilder.AccessPackageResourceRoleScopeItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Item.AccessPackageResourceRoleScopeItemRequestBuilder.AccessPackageResourceRoleScopeItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Item.AccessPackageResourceRoleScopeItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Item.AccessPackageResourceRoleScopeItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Item.AccessPackageResourceRoleScopeItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageResourceRoleScope +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Item.AccessPackageResourceRoleScopeItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Item.AccessPackageResourceRoleScopeItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Item.AccessPackageResourceRoleScopeItemRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder.resourceRoleScopesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder.resourceRoleScopesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder.resourceRoleScopesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder.resourceRoleScopesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder.resourceRoleScopesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder.resourceRoleScopesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder.resourceRoleScopesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder.resourceRoleScopesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder.resourceRoleScopesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder::[AccessPackageResourceRoleScopeId:string]:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Item.AccessPackageResourceRoleScopeItemRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder::|public|Count:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.AccessPackageResourceRoleScopeCollectionResponse +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.resourceRoleScopesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.Item.ResourceRoleScopes.ResourceRoleScopesRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.Catalogs.catalogsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.Catalogs.catalogsRequestBuilder.catalogsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.IdentityGovernance.EntitlementManagement.Catalogs.catalogsRequestBuilder.catalogsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -71815,6 +71973,50 @@ Microsoft.Graph.IdentityGovernance.EntitlementManagement.ConnectedOrganizations. Microsoft.Graph.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.InternalSponsors.Ref.RefRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.InternalSponsors.Ref.RefRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ReferenceCreate; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.InternalSponsors.Ref.RefRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.Item.InternalSponsors.Ref.RefRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder.controlConfigurationsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder.controlConfigurationsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder.controlConfigurationsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder.controlConfigurationsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder.controlConfigurationsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder.controlConfigurationsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder.controlConfigurationsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder.controlConfigurationsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder.controlConfigurationsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder.controlConfigurationsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder::[ControlConfigurationId:string]:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder::|public|Count:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ControlConfigurationCollectionResponse +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.ControlConfiguration; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ControlConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ControlConfiguration; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.controlConfigurationsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.ControlConfigurationsRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder.ControlConfigurationItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder.ControlConfigurationItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder.ControlConfigurationItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder.ControlConfigurationItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder.ControlConfigurationItemRequestBuilderPutRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ControlConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder::|public|PutAsync(body:global.Microsoft.Graph.Models.ControlConfiguration; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.ControlConfiguration +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder::|public|ToPutRequestInformation(body:global.Microsoft.Graph.Models.ControlConfiguration; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.Item.ControlConfigurationItemRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder-->BaseRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder.entitlementManagementRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder.entitlementManagementRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -71823,13 +72025,16 @@ Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRe Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder.entitlementManagementRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|accessPackageAssignmentApprovals:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageAssignmentApprovals.AccessPackageAssignmentApprovalsRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|accessPackages:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackages.AccessPackagesRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|accessPackageSuggestions:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AccessPackageSuggestions.AccessPackageSuggestionsRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|assignmentPolicies:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AssignmentPolicies.AssignmentPoliciesRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|assignmentRequests:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AssignmentRequests.AssignmentRequestsRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|assignments:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Assignments.AssignmentsRequestBuilder +Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|availableAccessPackages:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.AvailableAccessPackages.AvailableAccessPackagesRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|catalogs:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.Catalogs.CatalogsRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|connectedOrganizations:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.ConnectedOrganizations.ConnectedOrganizationsRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|controlConfigurations:global.Microsoft.Graph.IdentityGovernance.EntitlementManagement.ControlConfigurations.ControlConfigurationsRequestBuilder Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EntitlementManagement Microsoft.Graph.IdentityGovernance.EntitlementManagement.entitlementManagementRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.EntitlementManagement; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EntitlementManagement @@ -74955,6 +75160,13 @@ Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Ite Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.microsoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.ActivateWithScopePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.microsoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.ActivateWithScopePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.microsoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.microsoftGraphIdentityGovernanceClearQuarantineRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.microsoftGraphIdentityGovernanceClearQuarantineRequestBuilder.microsoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.microsoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.microsoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.microsoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.Workflow +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.microsoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.microsoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.createNewVersionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.createNewVersionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.createNewVersionPostRequestBody::|public|constructor():void @@ -74970,6 +75182,36 @@ Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Ite Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.CreateNewVersionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.Workflow Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.CreateNewVersionPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|PostAsPreviewTaskFailuresPostResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse::|public|Value:List +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresResponse-->global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|constructor():void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|Subjects:List +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder.microsoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -74977,6 +75219,41 @@ Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Ite Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.Workflow Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder::[DirectoryObjectId:string]:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|Count:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObjectCollectionResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -76328,8 +76605,12 @@ Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Ite Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|lastModifiedBy:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.LastModifiedBy.LastModifiedByRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivate:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivate.MicrosoftGraphIdentityGovernanceActivateRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivateWithScope:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceClearQuarantine:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceCreateNewVersion:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernancePreviewTaskFailures:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernancePreviewWorkflow:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|previewScope:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|runs:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Runs.RunsRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|taskReports:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.TaskReports.TaskReportsRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.WorkflowItemRequestBuilder::|public|tasks:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.DeletedItems.Workflows.Item.Tasks.TasksRequestBuilder @@ -76702,6 +76983,13 @@ Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGr Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.microsoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.ActivateWithScopePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.microsoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.ActivateWithScopePostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.microsoftGraphIdentityGovernanceActivateWithScopeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.microsoftGraphIdentityGovernanceClearQuarantineRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.microsoftGraphIdentityGovernanceClearQuarantineRequestBuilder.microsoftGraphIdentityGovernanceClearQuarantineRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.microsoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.microsoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.microsoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.Workflow +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.microsoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.microsoftGraphIdentityGovernanceClearQuarantineRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.createNewVersionPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.createNewVersionPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.createNewVersionPostRequestBody::|public|constructor():void @@ -76717,6 +77005,36 @@ Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGr Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.CreateNewVersionPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.Workflow Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.CreateNewVersionPostRequestBody; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.microsoftGraphIdentityGovernanceCreateNewVersionRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|PostAsPreviewTaskFailuresPostResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.microsoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse::|public|Value:List +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresResponse-->global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresPostResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.previewTaskFailuresResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.PreviewTaskFailuresResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.microsoftGraphIdentityGovernancePreviewWorkflowRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|constructor():void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|public|Subjects:List +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.PreviewWorkflowPostRequestBody +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.previewWorkflowPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder-->BaseRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder.microsoftGraphIdentityGovernanceRestoreRequestBuilderPostRequestConfiguration-->RequestConfiguration Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void @@ -76724,6 +77042,41 @@ Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGr Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.Workflow Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.microsoftGraphIdentityGovernanceRestoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder.DirectoryObjectItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder.previewScopeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder::[DirectoryObjectId:string]:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Item.DirectoryObjectItemRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|Count:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.Count.CountRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.DirectoryObjectCollectionResponse +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.previewScopeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -78076,9 +78429,13 @@ Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowIte Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|lastModifiedBy:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.LastModifiedBy.LastModifiedByRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivate:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivate.MicrosoftGraphIdentityGovernanceActivateRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceActivateWithScope:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceActivateWithScope.MicrosoftGraphIdentityGovernanceActivateWithScopeRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceClearQuarantine:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceClearQuarantine.MicrosoftGraphIdentityGovernanceClearQuarantineRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceCreateNewVersion:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceCreateNewVersion.MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernancePreviewTaskFailures:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewTaskFailures.MicrosoftGraphIdentityGovernancePreviewTaskFailuresRequestBuilder +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernancePreviewWorkflow:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernancePreviewWorkflow.MicrosoftGraphIdentityGovernancePreviewWorkflowRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|microsoftGraphIdentityGovernanceRestore:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.MicrosoftGraphIdentityGovernanceRestore.MicrosoftGraphIdentityGovernanceRestoreRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.IdentityGovernance.Workflow; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityGovernance.Workflow +Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|previewScope:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.PreviewScope.PreviewScopeRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|runs:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Runs.RunsRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|taskReports:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.TaskReports.TaskReportsRequestBuilder Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.WorkflowItemRequestBuilder::|public|tasks:global.Microsoft.Graph.IdentityGovernance.LifecycleWorkflows.Workflows.Item.Tasks.TasksRequestBuilder @@ -96793,6 +97150,9 @@ Microsoft.Graph.Models.accessAction::|public|OdataType:string Microsoft.Graph.Models.accessAction::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.accessAction::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AccessAction Microsoft.Graph.Models.accessAction~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.accessEntityType::0000-user +Microsoft.Graph.Models.accessEntityType::0001-group +Microsoft.Graph.Models.accessEntityType::0002-unknownFutureValue Microsoft.Graph.Models.accessPackage-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.accessPackage::|public|AccessPackagesIncompatibleWith:List Microsoft.Graph.Models.accessPackage::|public|AssignmentPolicies:List @@ -96838,6 +97198,7 @@ Microsoft.Graph.Models.accessPackageAnswerString::|public|Value:string Microsoft.Graph.Models.accessPackageAnswerString::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AccessPackageAnswerString Microsoft.Graph.Models.accessPackageAnswer~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.accessPackageApprovalStage::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.accessPackageApprovalStage::|public|ApproverInformationVisibility:global.Microsoft.Graph.Models.ApproverInformationVisibility? Microsoft.Graph.Models.accessPackageApprovalStage::|public|BackingStore:IBackingStore Microsoft.Graph.Models.accessPackageApprovalStage::|public|constructor():void Microsoft.Graph.Models.accessPackageApprovalStage::|public|DurationBeforeAutomaticDenial:TimeSpan? @@ -97250,6 +97611,7 @@ Microsoft.Graph.Models.accessPackageResourceRole::|public|OriginId:string Microsoft.Graph.Models.accessPackageResourceRole::|public|OriginSystem:string Microsoft.Graph.Models.accessPackageResourceRole::|public|Resource:global.Microsoft.Graph.Models.AccessPackageResource Microsoft.Graph.Models.accessPackageResourceRole::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.accessPackageResourceRole::|public|Type:global.Microsoft.Graph.Models.RoleType? Microsoft.Graph.Models.accessPackageResourceRole::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AccessPackageResourceRole Microsoft.Graph.Models.accessPackageResourceRoleCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse Microsoft.Graph.Models.accessPackageResourceRoleCollectionResponse::|public|GetFieldDeserializers():IDictionary> @@ -97311,6 +97673,46 @@ Microsoft.Graph.Models.accessPackageSubjectType::0000-notSpecified Microsoft.Graph.Models.accessPackageSubjectType::0001-user Microsoft.Graph.Models.accessPackageSubjectType::0002-servicePrincipal Microsoft.Graph.Models.accessPackageSubjectType::0003-unknownFutureValue +Microsoft.Graph.Models.accessPackageSuggestion-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.accessPackageSuggestion::|public|AccessPackage:global.Microsoft.Graph.Models.AvailableAccessPackage +Microsoft.Graph.Models.accessPackageSuggestion::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.accessPackageSuggestion::|public|OdataType:string +Microsoft.Graph.Models.accessPackageSuggestion::|public|Reasons:List +Microsoft.Graph.Models.accessPackageSuggestion::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.accessPackageSuggestion::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AccessPackageSuggestion +Microsoft.Graph.Models.accessPackageSuggestionCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.accessPackageSuggestionCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.accessPackageSuggestionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.accessPackageSuggestionCollectionResponse::|public|Value:List +Microsoft.Graph.Models.accessPackageSuggestionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AccessPackageSuggestionCollectionResponse +Microsoft.Graph.Models.accessPackageSuggestionReason::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.accessPackageSuggestionReason::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.accessPackageSuggestionReason::|public|constructor():void +Microsoft.Graph.Models.accessPackageSuggestionReason::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.accessPackageSuggestionReason::|public|OdataType:string +Microsoft.Graph.Models.accessPackageSuggestionReason::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.accessPackageSuggestionReason::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AccessPackageSuggestionReason +Microsoft.Graph.Models.accessPackageSuggestionReason~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.accessPackageSuggestionRelatedPeopleBased-->global.Microsoft.Graph.Models.AccessPackageSuggestionReason +Microsoft.Graph.Models.accessPackageSuggestionRelatedPeopleBased::|public|constructor():void +Microsoft.Graph.Models.accessPackageSuggestionRelatedPeopleBased::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.accessPackageSuggestionRelatedPeopleBased::|public|OdataType:string +Microsoft.Graph.Models.accessPackageSuggestionRelatedPeopleBased::|public|RelatedPeople:List +Microsoft.Graph.Models.accessPackageSuggestionRelatedPeopleBased::|public|RelatedPeopleAssignmentCount:int? +Microsoft.Graph.Models.accessPackageSuggestionRelatedPeopleBased::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.accessPackageSuggestionRelatedPeopleBased::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AccessPackageSuggestionRelatedPeopleBased +Microsoft.Graph.Models.accessPackageSuggestionRelatedPeopleInsightLevel::0000-disabled +Microsoft.Graph.Models.accessPackageSuggestionRelatedPeopleInsightLevel::0001-count +Microsoft.Graph.Models.accessPackageSuggestionRelatedPeopleInsightLevel::0002-countAndNames +Microsoft.Graph.Models.accessPackageSuggestionRelatedPeopleInsightLevel::0003-unknownFutureValue +Microsoft.Graph.Models.accessPackageSuggestionSelfAssignmentHistoryBased-->global.Microsoft.Graph.Models.AccessPackageSuggestionReason +Microsoft.Graph.Models.accessPackageSuggestionSelfAssignmentHistoryBased::|public|constructor():void +Microsoft.Graph.Models.accessPackageSuggestionSelfAssignmentHistoryBased::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.accessPackageSuggestionSelfAssignmentHistoryBased::|public|LastAssignmentDateTime:DateTimeOffset? +Microsoft.Graph.Models.accessPackageSuggestionSelfAssignmentHistoryBased::|public|OdataType:string +Microsoft.Graph.Models.accessPackageSuggestionSelfAssignmentHistoryBased::|public|PastAssignmentCount:int? +Microsoft.Graph.Models.accessPackageSuggestionSelfAssignmentHistoryBased::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.accessPackageSuggestionSelfAssignmentHistoryBased::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AccessPackageSuggestionSelfAssignmentHistoryBased Microsoft.Graph.Models.accessPackageTextInputQuestion-->global.Microsoft.Graph.Models.AccessPackageQuestion Microsoft.Graph.Models.accessPackageTextInputQuestion::|public|constructor():void Microsoft.Graph.Models.accessPackageTextInputQuestion::|public|GetFieldDeserializers():IDictionary> @@ -98270,6 +98672,12 @@ Microsoft.Graph.Models.allDevicesAssignmentTarget::|public|GetFieldDeserializers Microsoft.Graph.Models.allDevicesAssignmentTarget::|public|OdataType:string Microsoft.Graph.Models.allDevicesAssignmentTarget::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.allDevicesAssignmentTarget::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AllDevicesAssignmentTarget +Microsoft.Graph.Models.allDomains-->global.Microsoft.Graph.Models.ValidatingDomains +Microsoft.Graph.Models.allDomains::|public|constructor():void +Microsoft.Graph.Models.allDomains::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.allDomains::|public|OdataType:string +Microsoft.Graph.Models.allDomains::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.allDomains::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AllDomains Microsoft.Graph.Models.allLicensedUsersAssignmentTarget-->global.Microsoft.Graph.Models.DeviceAndAppManagementAssignmentTarget Microsoft.Graph.Models.allLicensedUsersAssignmentTarget::|public|constructor():void Microsoft.Graph.Models.allLicensedUsersAssignmentTarget::|public|GetFieldDeserializers():IDictionary> @@ -99247,6 +99655,10 @@ Microsoft.Graph.Models.approvedClientAppCollectionResponse::|public|GetFieldDese Microsoft.Graph.Models.approvedClientAppCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.approvedClientAppCollectionResponse::|public|Value:List Microsoft.Graph.Models.approvedClientAppCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ApprovedClientAppCollectionResponse +Microsoft.Graph.Models.approverInformationVisibility::0000-default +Microsoft.Graph.Models.approverInformationVisibility::0001-notVisible +Microsoft.Graph.Models.approverInformationVisibility::0002-visible +Microsoft.Graph.Models.approverInformationVisibility::0003-unknownFutureValue Microsoft.Graph.Models.appScope-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.appScope::|public|DisplayName:string Microsoft.Graph.Models.appScope::|public|GetFieldDeserializers():IDictionary> @@ -100354,6 +100766,19 @@ Microsoft.Graph.Models.availabilityItem::|public|StartDateTime:global.Microsoft. Microsoft.Graph.Models.availabilityItem::|public|Status:global.Microsoft.Graph.Models.BookingsAvailabilityStatus? Microsoft.Graph.Models.availabilityItem::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AvailabilityItem Microsoft.Graph.Models.availabilityItem~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.availableAccessPackage-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.availableAccessPackage::|public|Description:string +Microsoft.Graph.Models.availableAccessPackage::|public|DisplayName:string +Microsoft.Graph.Models.availableAccessPackage::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.availableAccessPackage::|public|OdataType:string +Microsoft.Graph.Models.availableAccessPackage::|public|ResourceRoleScopes:List +Microsoft.Graph.Models.availableAccessPackage::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.availableAccessPackage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AvailableAccessPackage +Microsoft.Graph.Models.availableAccessPackageCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.availableAccessPackageCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.availableAccessPackageCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.availableAccessPackageCollectionResponse::|public|Value:List +Microsoft.Graph.Models.availableAccessPackageCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.AvailableAccessPackageCollectionResponse Microsoft.Graph.Models.averageComparativeScore::|public|AdditionalData:IDictionary Microsoft.Graph.Models.averageComparativeScore::|public|AverageScore:double? Microsoft.Graph.Models.averageComparativeScore::|public|BackingStore:IBackingStore @@ -100447,6 +100872,7 @@ Microsoft.Graph.Models.backupRestoreRoot::|public|BrowseSessions:List Microsoft.Graph.Models.backupRestoreRoot::|public|DriveProtectionUnits:List Microsoft.Graph.Models.backupRestoreRoot::|public|DriveProtectionUnitsBulkAdditionJobs:List +Microsoft.Graph.Models.backupRestoreRoot::|public|EmailNotificationsSetting:global.Microsoft.Graph.Models.EmailNotificationsSetting Microsoft.Graph.Models.backupRestoreRoot::|public|ExchangeProtectionPolicies:List Microsoft.Graph.Models.backupRestoreRoot::|public|ExchangeRestoreSessions:List Microsoft.Graph.Models.backupRestoreRoot::|public|GetFieldDeserializers():IDictionary> @@ -104327,6 +104753,21 @@ Microsoft.Graph.Models.contractCollectionResponse::|public|GetFieldDeserializers Microsoft.Graph.Models.contractCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.contractCollectionResponse::|public|Value:List Microsoft.Graph.Models.contractCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ContractCollectionResponse +Microsoft.Graph.Models.controlConfiguration-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.controlConfiguration::|public|CreatedBy:string +Microsoft.Graph.Models.controlConfiguration::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Models.controlConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.controlConfiguration::|public|IsEnabled:bool? +Microsoft.Graph.Models.controlConfiguration::|public|ModifiedBy:string +Microsoft.Graph.Models.controlConfiguration::|public|ModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Models.controlConfiguration::|public|OdataType:string +Microsoft.Graph.Models.controlConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.controlConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ControlConfiguration +Microsoft.Graph.Models.controlConfigurationCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.controlConfigurationCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.controlConfigurationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.controlConfigurationCollectionResponse::|public|Value:List +Microsoft.Graph.Models.controlConfigurationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ControlConfigurationCollectionResponse Microsoft.Graph.Models.controlScore::|public|AdditionalData:IDictionary Microsoft.Graph.Models.controlScore::|public|BackingStore:IBackingStore Microsoft.Graph.Models.controlScore::|public|constructor():void @@ -104408,11 +104849,18 @@ Microsoft.Graph.Models.convertIdResult::|public|TargetId:string Microsoft.Graph.Models.convertIdResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ConvertIdResult Microsoft.Graph.Models.convertIdResult~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.copilotAdmin-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.copilotAdmin::|public|Catalog:global.Microsoft.Graph.Models.CopilotAdminCatalog Microsoft.Graph.Models.copilotAdmin::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.copilotAdmin::|public|OdataType:string Microsoft.Graph.Models.copilotAdmin::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.copilotAdmin::|public|Settings:global.Microsoft.Graph.Models.CopilotAdminSetting Microsoft.Graph.Models.copilotAdmin::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CopilotAdmin +Microsoft.Graph.Models.copilotAdminCatalog-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.copilotAdminCatalog::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.copilotAdminCatalog::|public|OdataType:string +Microsoft.Graph.Models.copilotAdminCatalog::|public|Packages:List +Microsoft.Graph.Models.copilotAdminCatalog::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.copilotAdminCatalog::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CopilotAdminCatalog Microsoft.Graph.Models.copilotAdminLimitedMode-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.copilotAdminLimitedMode::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.copilotAdminLimitedMode::|public|GroupId:string @@ -104426,6 +104874,40 @@ Microsoft.Graph.Models.copilotAdminSetting::|public|LimitedMode:global.Microsoft Microsoft.Graph.Models.copilotAdminSetting::|public|OdataType:string Microsoft.Graph.Models.copilotAdminSetting::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.copilotAdminSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CopilotAdminSetting +Microsoft.Graph.Models.copilotPackage-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.copilotPackage::|public|AppId:string +Microsoft.Graph.Models.copilotPackage::|public|AssetId:string +Microsoft.Graph.Models.copilotPackage::|public|AvailableTo:global.Microsoft.Graph.Models.PackageStatus? +Microsoft.Graph.Models.copilotPackage::|public|DeployedTo:global.Microsoft.Graph.Models.PackageStatus? +Microsoft.Graph.Models.copilotPackage::|public|DisplayName:string +Microsoft.Graph.Models.copilotPackage::|public|ElementTypes:List +Microsoft.Graph.Models.copilotPackage::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.copilotPackage::|public|IsBlocked:bool? +Microsoft.Graph.Models.copilotPackage::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Models.copilotPackage::|public|ManifestId:string +Microsoft.Graph.Models.copilotPackage::|public|ManifestVersion:string +Microsoft.Graph.Models.copilotPackage::|public|OdataType:string +Microsoft.Graph.Models.copilotPackage::|public|OwnerId:string +Microsoft.Graph.Models.copilotPackage::|public|Platform:string +Microsoft.Graph.Models.copilotPackage::|public|Publisher:string +Microsoft.Graph.Models.copilotPackage::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.copilotPackage::|public|ShortDescription:string +Microsoft.Graph.Models.copilotPackage::|public|SupportedHosts:List +Microsoft.Graph.Models.copilotPackage::|public|Type:global.Microsoft.Graph.Models.PackageType? +Microsoft.Graph.Models.copilotPackage::|public|Version:string +Microsoft.Graph.Models.copilotPackage::|public|ZipFile:byte[] +Microsoft.Graph.Models.copilotPackage::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CopilotPackage +Microsoft.Graph.Models.copilotPackageDetail-->global.Microsoft.Graph.Models.CopilotPackage +Microsoft.Graph.Models.copilotPackageDetail::|public|AcquireUsersAndGroups:List +Microsoft.Graph.Models.copilotPackageDetail::|public|AllowedUsersAndGroups:List +Microsoft.Graph.Models.copilotPackageDetail::|public|Categories:List +Microsoft.Graph.Models.copilotPackageDetail::|public|ElementDetails:List +Microsoft.Graph.Models.copilotPackageDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.copilotPackageDetail::|public|LongDescription:string +Microsoft.Graph.Models.copilotPackageDetail::|public|OdataType:string +Microsoft.Graph.Models.copilotPackageDetail::|public|Sensitivity:string +Microsoft.Graph.Models.copilotPackageDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.copilotPackageDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.CopilotPackageDetail Microsoft.Graph.Models.copilotReportRoot-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.copilotReportRoot::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.copilotReportRoot::|public|OdataType:string @@ -107833,6 +108315,14 @@ Microsoft.Graph.Models.emailIdentity::|public|GetFieldDeserializers():IDictionar Microsoft.Graph.Models.emailIdentity::|public|OdataType:string Microsoft.Graph.Models.emailIdentity::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.emailIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EmailIdentity +Microsoft.Graph.Models.emailNotificationsSetting-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.emailNotificationsSetting::|public|AdditionalEvents:global.Microsoft.Graph.Models.NotificationEventsType? +Microsoft.Graph.Models.emailNotificationsSetting::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.emailNotificationsSetting::|public|IsEnabled:bool? +Microsoft.Graph.Models.emailNotificationsSetting::|public|OdataType:string +Microsoft.Graph.Models.emailNotificationsSetting::|public|Recipients:global.Microsoft.Graph.Models.NotificationRecipients +Microsoft.Graph.Models.emailNotificationsSetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.emailNotificationsSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EmailNotificationsSetting Microsoft.Graph.Models.emailPayloadDetail-->global.Microsoft.Graph.Models.PayloadDetail Microsoft.Graph.Models.emailPayloadDetail::|public|constructor():void Microsoft.Graph.Models.emailPayloadDetail::|public|FromEmail:string @@ -107995,6 +108485,14 @@ Microsoft.Graph.Models.endUserNotificationType::0002-noTraining Microsoft.Graph.Models.endUserNotificationType::0003-trainingAssignment Microsoft.Graph.Models.endUserNotificationType::0004-trainingReminder Microsoft.Graph.Models.endUserNotificationType::0005-unknownFutureValue +Microsoft.Graph.Models.endUserSettings-->global.Microsoft.Graph.Models.ControlConfiguration +Microsoft.Graph.Models.endUserSettings::|public|constructor():void +Microsoft.Graph.Models.endUserSettings::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.endUserSettings::|public|OdataType:string +Microsoft.Graph.Models.endUserSettings::|public|RelatedPeopleInsightLevel:global.Microsoft.Graph.Models.AccessPackageSuggestionRelatedPeopleInsightLevel? +Microsoft.Graph.Models.endUserSettings::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.endUserSettings::|public|ShowApproverDetailsToMembers:bool? +Microsoft.Graph.Models.endUserSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EndUserSettings Microsoft.Graph.Models.engagementAsyncOperation-->global.Microsoft.Graph.Models.LongRunningOperation Microsoft.Graph.Models.engagementAsyncOperation::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.engagementAsyncOperation::|public|OdataType:string @@ -108186,11 +108684,14 @@ Microsoft.Graph.Models.enterpriseCodeSigningCertificate::|static|public|CreateFr Microsoft.Graph.Models.entitlementManagement-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.entitlementManagement::|public|AccessPackageAssignmentApprovals:List Microsoft.Graph.Models.entitlementManagement::|public|AccessPackages:List +Microsoft.Graph.Models.entitlementManagement::|public|AccessPackageSuggestions:List Microsoft.Graph.Models.entitlementManagement::|public|AssignmentPolicies:List Microsoft.Graph.Models.entitlementManagement::|public|AssignmentRequests:List Microsoft.Graph.Models.entitlementManagement::|public|Assignments:List +Microsoft.Graph.Models.entitlementManagement::|public|AvailableAccessPackages:List Microsoft.Graph.Models.entitlementManagement::|public|Catalogs:List Microsoft.Graph.Models.entitlementManagement::|public|ConnectedOrganizations:List +Microsoft.Graph.Models.entitlementManagement::|public|ControlConfigurations:List Microsoft.Graph.Models.entitlementManagement::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.entitlementManagement::|public|OdataType:string Microsoft.Graph.Models.entitlementManagement::|public|ResourceEnvironments:List @@ -108249,6 +108750,13 @@ Microsoft.Graph.Models.enumeratedDeviceRegistrationMembership::|public|OdataType Microsoft.Graph.Models.enumeratedDeviceRegistrationMembership::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.enumeratedDeviceRegistrationMembership::|public|Users:List Microsoft.Graph.Models.enumeratedDeviceRegistrationMembership::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EnumeratedDeviceRegistrationMembership +Microsoft.Graph.Models.enumeratedDomains-->global.Microsoft.Graph.Models.ValidatingDomains +Microsoft.Graph.Models.enumeratedDomains::|public|constructor():void +Microsoft.Graph.Models.enumeratedDomains::|public|DomainNames:List +Microsoft.Graph.Models.enumeratedDomains::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.enumeratedDomains::|public|OdataType:string +Microsoft.Graph.Models.enumeratedDomains::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.enumeratedDomains::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EnumeratedDomains Microsoft.Graph.Models.enumeratedScopes-->global.Microsoft.Graph.Models.InheritableScopes Microsoft.Graph.Models.enumeratedScopes::|public|constructor():void Microsoft.Graph.Models.enumeratedScopes::|public|GetFieldDeserializers():IDictionary> @@ -108837,6 +109345,7 @@ Microsoft.Graph.Models.ExternalConnectors.label::0050-personInterests Microsoft.Graph.Models.ExternalConnectors.label::0051-personLanguages Microsoft.Graph.Models.ExternalConnectors.label::0052-personPublications Microsoft.Graph.Models.ExternalConnectors.label::0053-personPatents +Microsoft.Graph.Models.ExternalConnectors.label::0054-personWorkPositions Microsoft.Graph.Models.ExternalConnectors.properties::|public|AdditionalData:IDictionary Microsoft.Graph.Models.ExternalConnectors.properties::|public|BackingStore:IBackingStore Microsoft.Graph.Models.ExternalConnectors.properties::|public|constructor():void @@ -109054,6 +109563,13 @@ Microsoft.Graph.Models.federatedIdpMfaBehavior::0000-acceptIfMfaDoneByFederatedI Microsoft.Graph.Models.federatedIdpMfaBehavior::0001-enforceMfaByFederatedIdp Microsoft.Graph.Models.federatedIdpMfaBehavior::0002-rejectMfaByFederatedIdp Microsoft.Graph.Models.federatedIdpMfaBehavior::0003-unknownFutureValue +Microsoft.Graph.Models.federatedTokenValidationPolicy-->global.Microsoft.Graph.Models.DirectoryObject +Microsoft.Graph.Models.federatedTokenValidationPolicy::|public|constructor():void +Microsoft.Graph.Models.federatedTokenValidationPolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.federatedTokenValidationPolicy::|public|OdataType:string +Microsoft.Graph.Models.federatedTokenValidationPolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.federatedTokenValidationPolicy::|public|ValidatingDomains:global.Microsoft.Graph.Models.ValidatingDomains +Microsoft.Graph.Models.federatedTokenValidationPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FederatedTokenValidationPolicy Microsoft.Graph.Models.fedRampLevel::0000-none Microsoft.Graph.Models.fedRampLevel::0001-high Microsoft.Graph.Models.fedRampLevel::0002-liSaas @@ -109654,6 +110170,7 @@ Microsoft.Graph.Models.granularSiteRestoreArtifactCollectionResponse::|public|Va Microsoft.Graph.Models.granularSiteRestoreArtifactCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.GranularSiteRestoreArtifactCollectionResponse Microsoft.Graph.Models.group-->global.Microsoft.Graph.Models.DirectoryObject Microsoft.Graph.Models.group::|public|AcceptedSenders:List +Microsoft.Graph.Models.group::|public|AccessType:global.Microsoft.Graph.Models.GroupAccessType? Microsoft.Graph.Models.group::|public|AllowExternalSenders:bool? Microsoft.Graph.Models.group::|public|AppRoleAssignments:List Microsoft.Graph.Models.group::|public|AssignedLabels:List @@ -109682,6 +110199,7 @@ Microsoft.Graph.Models.group::|public|HideFromOutlookClients:bool? Microsoft.Graph.Models.group::|public|InfoCatalogs:List Microsoft.Graph.Models.group::|public|IsArchived:bool? Microsoft.Graph.Models.group::|public|IsAssignableToRole:bool? +Microsoft.Graph.Models.group::|public|IsFavorite:bool? Microsoft.Graph.Models.group::|public|IsManagementRestricted:bool? Microsoft.Graph.Models.group::|public|IsSubscribedByMail:bool? Microsoft.Graph.Models.group::|public|LicenseProcessingState:global.Microsoft.Graph.Models.LicenseProcessingState @@ -109696,6 +110214,7 @@ Microsoft.Graph.Models.group::|public|MembersWithLicenseErrors:List @@ -109727,10 +110246,17 @@ Microsoft.Graph.Models.group::|public|Threads:List Microsoft.Graph.Models.group::|public|TransitiveMembers:List Microsoft.Graph.Models.group::|public|UniqueName:string +Microsoft.Graph.Models.group::|public|UnseenConversationsCount:int? Microsoft.Graph.Models.group::|public|UnseenCount:int? +Microsoft.Graph.Models.group::|public|UnseenMessagesCount:int? Microsoft.Graph.Models.group::|public|Visibility:string Microsoft.Graph.Models.group::|public|WelcomeMessageEnabled:bool? Microsoft.Graph.Models.group::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Group +Microsoft.Graph.Models.groupAccessType::0000-none +Microsoft.Graph.Models.groupAccessType::0001-private +Microsoft.Graph.Models.groupAccessType::0002-secret +Microsoft.Graph.Models.groupAccessType::0003-public +Microsoft.Graph.Models.groupAccessType::0004-unknownFutureValue Microsoft.Graph.Models.groupAssignmentTarget-->global.Microsoft.Graph.Models.DeviceAndAppManagementAssignmentTarget Microsoft.Graph.Models.groupAssignmentTarget::|public|constructor():void Microsoft.Graph.Models.groupAssignmentTarget::|public|GetFieldDeserializers():IDictionary> @@ -110041,6 +110567,13 @@ Microsoft.Graph.Models.IdentityGovernance.attributeChangeTrigger::|public|OdataT Microsoft.Graph.Models.IdentityGovernance.attributeChangeTrigger::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.IdentityGovernance.attributeChangeTrigger::|public|TriggerAttributes:List Microsoft.Graph.Models.IdentityGovernance.attributeChangeTrigger::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.AttributeChangeTrigger +Microsoft.Graph.Models.IdentityGovernance.countBasedQuarantineCondition-->global.Microsoft.Graph.Models.IdentityGovernance.QuarantineCondition +Microsoft.Graph.Models.IdentityGovernance.countBasedQuarantineCondition::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.countBasedQuarantineCondition::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.countBasedQuarantineCondition::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.countBasedQuarantineCondition::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.countBasedQuarantineCondition::|public|Threshold:long? +Microsoft.Graph.Models.IdentityGovernance.countBasedQuarantineCondition::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.CountBasedQuarantineCondition Microsoft.Graph.Models.IdentityGovernance.customTaskExtension-->global.Microsoft.Graph.Models.CustomCalloutExtension Microsoft.Graph.Models.IdentityGovernance.customTaskExtension::|public|CallbackConfiguration:global.Microsoft.Graph.Models.CustomExtensionCallbackConfiguration Microsoft.Graph.Models.IdentityGovernance.customTaskExtension::|public|constructor():void @@ -110114,6 +110647,7 @@ Microsoft.Graph.Models.IdentityGovernance.lifecycleManagementSettings-->global.M Microsoft.Graph.Models.IdentityGovernance.lifecycleManagementSettings::|public|EmailSettings:global.Microsoft.Graph.Models.EmailSettings Microsoft.Graph.Models.IdentityGovernance.lifecycleManagementSettings::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.IdentityGovernance.lifecycleManagementSettings::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.lifecycleManagementSettings::|public|QuarantineConfiguration:global.Microsoft.Graph.Models.IdentityGovernance.QuarantineConfiguration Microsoft.Graph.Models.IdentityGovernance.lifecycleManagementSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.IdentityGovernance.lifecycleManagementSettings::|public|WorkflowScheduleIntervalInHours:int? Microsoft.Graph.Models.IdentityGovernance.lifecycleManagementSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecycleManagementSettings @@ -110132,6 +110666,7 @@ Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowProcessingStatus::000 Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowProcessingStatus::0004-canceled Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowProcessingStatus::0005-failed Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowProcessingStatus::0006-unknownFutureValue +Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowProcessingStatus::0007-quarantined Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowsContainer-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|CustomTaskExtensions:List Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|DeletedItems:global.Microsoft.Graph.Models.DeletedItemContainer @@ -110144,6 +110679,9 @@ Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|T Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|Workflows:List Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowsContainer::|public|WorkflowTemplates:List Microsoft.Graph.Models.IdentityGovernance.lifecycleWorkflowsContainer::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.LifecycleWorkflowsContainer +Microsoft.Graph.Models.IdentityGovernance.matchMode::0000-any +Microsoft.Graph.Models.IdentityGovernance.matchMode::0001-all +Microsoft.Graph.Models.IdentityGovernance.matchMode::0002-unknownFutureValue Microsoft.Graph.Models.IdentityGovernance.membershipChangeTrigger-->global.Microsoft.Graph.Models.IdentityGovernance.WorkflowExecutionTrigger Microsoft.Graph.Models.IdentityGovernance.membershipChangeTrigger::|public|ChangeType:global.Microsoft.Graph.Models.IdentityGovernance.MembershipChangeType? Microsoft.Graph.Models.IdentityGovernance.membershipChangeTrigger::|public|constructor():void @@ -110171,6 +110709,59 @@ Microsoft.Graph.Models.IdentityGovernance.parameter::|public|Values:List Microsoft.Graph.Models.IdentityGovernance.parameter::|public|ValueType:global.Microsoft.Graph.Models.IdentityGovernance.ValueTypeObject? Microsoft.Graph.Models.IdentityGovernance.parameter::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.Parameter Microsoft.Graph.Models.IdentityGovernance.parameter~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.IdentityGovernance.percentageBasedQuarantineCondition-->global.Microsoft.Graph.Models.IdentityGovernance.QuarantineCondition +Microsoft.Graph.Models.IdentityGovernance.percentageBasedQuarantineCondition::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.percentageBasedQuarantineCondition::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.percentageBasedQuarantineCondition::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.percentageBasedQuarantineCondition::|public|Percentage:int? +Microsoft.Graph.Models.IdentityGovernance.percentageBasedQuarantineCondition::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.percentageBasedQuarantineCondition::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.PercentageBasedQuarantineCondition +Microsoft.Graph.Models.IdentityGovernance.previewFailedTask::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.IdentityGovernance.previewFailedTask::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.IdentityGovernance.previewFailedTask::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.previewFailedTask::|public|DefinitionId:string +Microsoft.Graph.Models.IdentityGovernance.previewFailedTask::|public|FailureReason:string +Microsoft.Graph.Models.IdentityGovernance.previewFailedTask::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.previewFailedTask::|public|Name:string +Microsoft.Graph.Models.IdentityGovernance.previewFailedTask::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.previewFailedTask::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.previewFailedTask::|public|TaskId:string +Microsoft.Graph.Models.IdentityGovernance.previewFailedTask::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.PreviewFailedTask +Microsoft.Graph.Models.IdentityGovernance.previewFailedTask~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.IdentityGovernance.quarantineCondition::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.IdentityGovernance.quarantineCondition::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.IdentityGovernance.quarantineCondition::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.quarantineCondition::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.quarantineCondition::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.quarantineCondition::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.quarantineCondition::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.QuarantineCondition +Microsoft.Graph.Models.IdentityGovernance.quarantineCondition~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.IdentityGovernance.quarantineConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.IdentityGovernance.quarantineConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.IdentityGovernance.quarantineConfiguration::|public|Conditions:List +Microsoft.Graph.Models.IdentityGovernance.quarantineConfiguration::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.quarantineConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.quarantineConfiguration::|public|MatchMode:global.Microsoft.Graph.Models.IdentityGovernance.MatchMode? +Microsoft.Graph.Models.IdentityGovernance.quarantineConfiguration::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.quarantineConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.quarantineConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.QuarantineConfiguration +Microsoft.Graph.Models.IdentityGovernance.quarantineConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.IdentityGovernance.quarantineDetails::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.IdentityGovernance.quarantineDetails::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.IdentityGovernance.quarantineDetails::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.quarantineDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.quarantineDetails::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.quarantineDetails::|public|QuarantinedDateTime:DateTimeOffset? +Microsoft.Graph.Models.IdentityGovernance.quarantineDetails::|public|QuarantineReason:string +Microsoft.Graph.Models.IdentityGovernance.quarantineDetails::|public|QuarantineType:global.Microsoft.Graph.Models.IdentityGovernance.QuarantineType? +Microsoft.Graph.Models.IdentityGovernance.quarantineDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.quarantineDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.QuarantineDetails +Microsoft.Graph.Models.IdentityGovernance.quarantineDetails~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.IdentityGovernance.quarantineType::0000-notQuarantined +Microsoft.Graph.Models.IdentityGovernance.quarantineType::0001-countBasedThresholdExceeded +Microsoft.Graph.Models.IdentityGovernance.quarantineType::0002-percentageBasedThresholdExceeded +Microsoft.Graph.Models.IdentityGovernance.quarantineType::0003-multipleConditionsExceeded +Microsoft.Graph.Models.IdentityGovernance.quarantineType::0004-unknownFutureValue Microsoft.Graph.Models.IdentityGovernance.ruleBasedSubjectSet-->global.Microsoft.Graph.Models.SubjectSet Microsoft.Graph.Models.IdentityGovernance.ruleBasedSubjectSet::|public|constructor():void Microsoft.Graph.Models.IdentityGovernance.ruleBasedSubjectSet::|public|GetFieldDeserializers():IDictionary> @@ -110419,8 +111010,11 @@ Microsoft.Graph.Models.IdentityGovernance.workflow::|public|GetFieldDeserializer Microsoft.Graph.Models.IdentityGovernance.workflow::|public|Id:string Microsoft.Graph.Models.IdentityGovernance.workflow::|public|NextScheduleRunDateTime:DateTimeOffset? Microsoft.Graph.Models.IdentityGovernance.workflow::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.workflow::|public|PreviewScope:List +Microsoft.Graph.Models.IdentityGovernance.workflow::|public|QuarantineDetails:global.Microsoft.Graph.Models.IdentityGovernance.QuarantineDetails Microsoft.Graph.Models.IdentityGovernance.workflow::|public|Runs:List Microsoft.Graph.Models.IdentityGovernance.workflow::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.workflow::|public|Settings:global.Microsoft.Graph.Models.IdentityGovernance.WorkflowSetting Microsoft.Graph.Models.IdentityGovernance.workflow::|public|TaskReports:List Microsoft.Graph.Models.IdentityGovernance.workflow::|public|UserProcessingResults:List Microsoft.Graph.Models.IdentityGovernance.workflow::|public|Version:int? @@ -110471,6 +111065,16 @@ Microsoft.Graph.Models.IdentityGovernance.workflowExecutionType::0000-scheduled Microsoft.Graph.Models.IdentityGovernance.workflowExecutionType::0001-onDemand Microsoft.Graph.Models.IdentityGovernance.workflowExecutionType::0002-unknownFutureValue Microsoft.Graph.Models.IdentityGovernance.workflowExecutionType::0003-activatedWithScope +Microsoft.Graph.Models.IdentityGovernance.workflowExecutionType::0004-preview +Microsoft.Graph.Models.IdentityGovernance.workflowSetting::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.IdentityGovernance.workflowSetting::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.IdentityGovernance.workflowSetting::|public|constructor():void +Microsoft.Graph.Models.IdentityGovernance.workflowSetting::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.IdentityGovernance.workflowSetting::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.workflowSetting::|public|QuarantineConfiguration:global.Microsoft.Graph.Models.IdentityGovernance.QuarantineConfiguration +Microsoft.Graph.Models.IdentityGovernance.workflowSetting::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.workflowSetting::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.WorkflowSetting +Microsoft.Graph.Models.IdentityGovernance.workflowSetting~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.IdentityGovernance.workflowsInsightsByCategory::|public|AdditionalData:IDictionary Microsoft.Graph.Models.IdentityGovernance.workflowsInsightsByCategory::|public|BackingStore:IBackingStore Microsoft.Graph.Models.IdentityGovernance.workflowsInsightsByCategory::|public|constructor():void @@ -110529,6 +111133,7 @@ Microsoft.Graph.Models.IdentityGovernance.workflowVersion::|public|constructor() Microsoft.Graph.Models.IdentityGovernance.workflowVersion::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.IdentityGovernance.workflowVersion::|public|OdataType:string Microsoft.Graph.Models.IdentityGovernance.workflowVersion::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.IdentityGovernance.workflowVersion::|public|Settings:global.Microsoft.Graph.Models.IdentityGovernance.WorkflowSetting Microsoft.Graph.Models.IdentityGovernance.workflowVersion::|public|VersionNumber:int? Microsoft.Graph.Models.IdentityGovernance.workflowVersion::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityGovernance.WorkflowVersion Microsoft.Graph.Models.IdentityGovernance.workflowVersionCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse @@ -114378,6 +114983,9 @@ Microsoft.Graph.Models.notificationDeliveryPreference::0000-unknown Microsoft.Graph.Models.notificationDeliveryPreference::0001-deliverImmedietly Microsoft.Graph.Models.notificationDeliveryPreference::0002-deliverAfterCampaignEnd Microsoft.Graph.Models.notificationDeliveryPreference::0003-unknownFutureValue +Microsoft.Graph.Models.notificationEventsType::0000-none +Microsoft.Graph.Models.notificationEventsType::0001-restoreAndPolicyUpdates +Microsoft.Graph.Models.notificationEventsType::0002-unknownFutureValue Microsoft.Graph.Models.notificationMessageTemplate-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.notificationMessageTemplate::|public|BrandingOptions:global.Microsoft.Graph.Models.NotificationTemplateBrandingOptions? Microsoft.Graph.Models.notificationMessageTemplate::|public|DefaultLocale:string @@ -114394,6 +115002,22 @@ Microsoft.Graph.Models.notificationMessageTemplateCollectionResponse::|public|Ge Microsoft.Graph.Models.notificationMessageTemplateCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.notificationMessageTemplateCollectionResponse::|public|Value:List Microsoft.Graph.Models.notificationMessageTemplateCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.NotificationMessageTemplateCollectionResponse +Microsoft.Graph.Models.notificationRecipients::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.notificationRecipients::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.notificationRecipients::|public|constructor():void +Microsoft.Graph.Models.notificationRecipients::|public|CustomRecipients:List +Microsoft.Graph.Models.notificationRecipients::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.notificationRecipients::|public|OdataType:string +Microsoft.Graph.Models.notificationRecipients::|public|Role:global.Microsoft.Graph.Models.NotificationRecipientsType? +Microsoft.Graph.Models.notificationRecipients::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.notificationRecipients::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.NotificationRecipients +Microsoft.Graph.Models.notificationRecipientsType::0000-none +Microsoft.Graph.Models.notificationRecipientsType::0001-globalAdmins +Microsoft.Graph.Models.notificationRecipientsType::0002-backupAdmins +Microsoft.Graph.Models.notificationRecipientsType::0003-custom +Microsoft.Graph.Models.notificationRecipientsType::0004-allAdmins +Microsoft.Graph.Models.notificationRecipientsType::0005-unknownFutureValue +Microsoft.Graph.Models.notificationRecipients~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.notificationTemplateBrandingOptions::0000-none Microsoft.Graph.Models.notificationTemplateBrandingOptions::0001-includeCompanyLogo Microsoft.Graph.Models.notificationTemplateBrandingOptions::0002-includeCompanyName @@ -115824,6 +116448,45 @@ Microsoft.Graph.Models.package::|public|OdataType:string Microsoft.Graph.Models.package::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.package::|public|Type:string Microsoft.Graph.Models.package::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Package +Microsoft.Graph.Models.packageAccessEntity::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.packageAccessEntity::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.packageAccessEntity::|public|constructor():void +Microsoft.Graph.Models.packageAccessEntity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.packageAccessEntity::|public|OdataType:string +Microsoft.Graph.Models.packageAccessEntity::|public|ResourceId:string +Microsoft.Graph.Models.packageAccessEntity::|public|ResourceType:global.Microsoft.Graph.Models.AccessEntityType? +Microsoft.Graph.Models.packageAccessEntity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.packageAccessEntity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PackageAccessEntity +Microsoft.Graph.Models.packageAccessEntity~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.packageElement::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.packageElement::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.packageElement::|public|constructor():void +Microsoft.Graph.Models.packageElement::|public|Definition:UntypedNode +Microsoft.Graph.Models.packageElement::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.packageElement::|public|Id:string +Microsoft.Graph.Models.packageElement::|public|OdataType:string +Microsoft.Graph.Models.packageElement::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.packageElement::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PackageElement +Microsoft.Graph.Models.packageElementDetail::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.packageElementDetail::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.packageElementDetail::|public|constructor():void +Microsoft.Graph.Models.packageElementDetail::|public|Elements:List +Microsoft.Graph.Models.packageElementDetail::|public|ElementType:string +Microsoft.Graph.Models.packageElementDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.packageElementDetail::|public|OdataType:string +Microsoft.Graph.Models.packageElementDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.packageElementDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.PackageElementDetail +Microsoft.Graph.Models.packageElementDetail~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.packageElement~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.packageStatus::0000-none +Microsoft.Graph.Models.packageStatus::0001-some +Microsoft.Graph.Models.packageStatus::0002-all +Microsoft.Graph.Models.packageStatus::0003-unknownFutureValue +Microsoft.Graph.Models.packageType::0000-microsoft +Microsoft.Graph.Models.packageType::0001-external +Microsoft.Graph.Models.packageType::0002-shared +Microsoft.Graph.Models.packageType::0003-custom +Microsoft.Graph.Models.packageType::0004-unknownFutureValue Microsoft.Graph.Models.package~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.pageLayoutType::0000-microsoftReserved Microsoft.Graph.Models.pageLayoutType::0001-article @@ -116909,6 +117572,7 @@ Microsoft.Graph.Models.policyRoot::|public|CrossTenantAccessPolicy:global.Micros Microsoft.Graph.Models.policyRoot::|public|DefaultAppManagementPolicy:global.Microsoft.Graph.Models.TenantAppManagementPolicy Microsoft.Graph.Models.policyRoot::|public|DeviceRegistrationPolicy:global.Microsoft.Graph.Models.DeviceRegistrationPolicy Microsoft.Graph.Models.policyRoot::|public|FeatureRolloutPolicies:List +Microsoft.Graph.Models.policyRoot::|public|FederatedTokenValidationPolicy:global.Microsoft.Graph.Models.FederatedTokenValidationPolicy Microsoft.Graph.Models.policyRoot::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.policyRoot::|public|HomeRealmDiscoveryPolicies:List Microsoft.Graph.Models.policyRoot::|public|IdentitySecurityDefaultsEnforcementPolicy:global.Microsoft.Graph.Models.IdentitySecurityDefaultsEnforcementPolicy @@ -118764,6 +119428,7 @@ Microsoft.Graph.Models.profileCardProperty-->global.Microsoft.Graph.Models.Entit Microsoft.Graph.Models.profileCardProperty::|public|Annotations:List Microsoft.Graph.Models.profileCardProperty::|public|DirectoryPropertyName:string Microsoft.Graph.Models.profileCardProperty::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.profileCardProperty::|public|IsVisible:bool? Microsoft.Graph.Models.profileCardProperty::|public|OdataType:string Microsoft.Graph.Models.profileCardProperty::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.profileCardProperty::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ProfileCardProperty @@ -120576,6 +121241,11 @@ Microsoft.Graph.Models.rolePermission::|public|ResourceActions:ListIAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.roleType::0000-active +Microsoft.Graph.Models.roleType::0001-eligible +Microsoft.Graph.Models.roleType::0002-application +Microsoft.Graph.Models.roleType::0003-delegated +Microsoft.Graph.Models.roleType::0004-unknownFutureValue Microsoft.Graph.Models.room-->global.Microsoft.Graph.Models.Place Microsoft.Graph.Models.room::|public|AudioDeviceName:string Microsoft.Graph.Models.room::|public|BookingType:global.Microsoft.Graph.Models.BookingType? @@ -120620,6 +121290,13 @@ Microsoft.Graph.Models.root::|public|GetFieldDeserializers():IDictionaryIAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.rotateBitLockerKeysDeviceActionResult-->global.Microsoft.Graph.Models.DeviceActionResult Microsoft.Graph.Models.rotateBitLockerKeysDeviceActionResult::|public|ErrorCode:int? @@ -121342,6 +122019,7 @@ Microsoft.Graph.Models.Security.additionalDataOptions::0005-htmlTranscripts Microsoft.Graph.Models.Security.additionalDataOptions::0006-messageConversationExpansion Microsoft.Graph.Models.Security.additionalDataOptions::0007-locationsWithoutHits Microsoft.Graph.Models.Security.additionalDataOptions::0008-allItemsInFolder +Microsoft.Graph.Models.Security.additionalDataOptions::0009-cloudNativeHtmlConversion Microsoft.Graph.Models.Security.additionalOptions::0000-none Microsoft.Graph.Models.Security.additionalOptions::0001-teamsAndYammerConversations Microsoft.Graph.Models.Security.additionalOptions::0002-cloudAttachments @@ -121485,6 +122163,154 @@ Microsoft.Graph.Models.Security.amazonResourceEvidence::|public|ResourceName:str Microsoft.Graph.Models.Security.amazonResourceEvidence::|public|ResourceType:string Microsoft.Graph.Models.Security.amazonResourceEvidence::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.Security.amazonResourceEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.AmazonResourceEvidence +Microsoft.Graph.Models.Security.analyzedEmail-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.Security.analyzedEmail::|public|AlertIds:List +Microsoft.Graph.Models.Security.analyzedEmail::|public|Attachments:List +Microsoft.Graph.Models.Security.analyzedEmail::|public|AuthenticationDetails:global.Microsoft.Graph.Models.Security.AnalyzedEmailAuthenticationDetail +Microsoft.Graph.Models.Security.analyzedEmail::|public|BulkComplaintLevel:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|ClientType:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|Contexts:List +Microsoft.Graph.Models.Security.analyzedEmail::|public|DetectionMethods:List +Microsoft.Graph.Models.Security.analyzedEmail::|public|Directionality:global.Microsoft.Graph.Models.Security.AntispamDirectionality? +Microsoft.Graph.Models.Security.analyzedEmail::|public|DistributionList:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|DlpRules:List +Microsoft.Graph.Models.Security.analyzedEmail::|public|EmailClusterId:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|ExchangeTransportRules:List +Microsoft.Graph.Models.Security.analyzedEmail::|public|ForwardingDetail:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.analyzedEmail::|public|InboundConnectorFormattedName:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|InternetMessageId:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|Language:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|LatestDelivery:global.Microsoft.Graph.Models.Security.AnalyzedEmailDeliveryDetail +Microsoft.Graph.Models.Security.analyzedEmail::|public|LoggedDateTime:DateTimeOffset? +Microsoft.Graph.Models.Security.analyzedEmail::|public|NetworkMessageId:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|OdataType:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|OriginalDelivery:global.Microsoft.Graph.Models.Security.AnalyzedEmailDeliveryDetail +Microsoft.Graph.Models.Security.analyzedEmail::|public|OverrideSources:List +Microsoft.Graph.Models.Security.analyzedEmail::|public|PhishConfidenceLevel:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|Policy:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|PolicyAction:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|PolicyType:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|PrimaryOverrideSource:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|RecipientDetail:global.Microsoft.Graph.Models.Security.AnalyzedEmailRecipientDetail +Microsoft.Graph.Models.Security.analyzedEmail::|public|RecipientEmailAddress:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|ReturnPath:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|SenderDetail:global.Microsoft.Graph.Models.Security.AnalyzedEmailSenderDetail +Microsoft.Graph.Models.Security.analyzedEmail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.analyzedEmail::|public|SizeInBytes:int? +Microsoft.Graph.Models.Security.analyzedEmail::|public|SpamConfidenceLevel:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|Subject:string +Microsoft.Graph.Models.Security.analyzedEmail::|public|ThreatDetectionDetails:List +Microsoft.Graph.Models.Security.analyzedEmail::|public|ThreatTypes:List +Microsoft.Graph.Models.Security.analyzedEmail::|public|TimelineEvents:List +Microsoft.Graph.Models.Security.analyzedEmail::|public|Urls:List +Microsoft.Graph.Models.Security.analyzedEmail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.AnalyzedEmail +Microsoft.Graph.Models.Security.analyzedEmailAttachment::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.analyzedEmailAttachment::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.analyzedEmailAttachment::|public|constructor():void +Microsoft.Graph.Models.Security.analyzedEmailAttachment::|public|DetonationDetails:global.Microsoft.Graph.Models.Security.DetonationDetails +Microsoft.Graph.Models.Security.analyzedEmailAttachment::|public|FileExtension:string +Microsoft.Graph.Models.Security.analyzedEmailAttachment::|public|FileName:string +Microsoft.Graph.Models.Security.analyzedEmailAttachment::|public|FileSize:int? +Microsoft.Graph.Models.Security.analyzedEmailAttachment::|public|FileType:string +Microsoft.Graph.Models.Security.analyzedEmailAttachment::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.analyzedEmailAttachment::|public|MalwareFamily:string +Microsoft.Graph.Models.Security.analyzedEmailAttachment::|public|OdataType:string +Microsoft.Graph.Models.Security.analyzedEmailAttachment::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.analyzedEmailAttachment::|public|Sha256:string +Microsoft.Graph.Models.Security.analyzedEmailAttachment::|public|TenantAllowBlockListDetailInfo:string +Microsoft.Graph.Models.Security.analyzedEmailAttachment::|public|ThreatType:global.Microsoft.Graph.Models.Security.ThreatType? +Microsoft.Graph.Models.Security.analyzedEmailAttachment::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.AnalyzedEmailAttachment +Microsoft.Graph.Models.Security.analyzedEmailAttachment~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.Security.analyzedEmailAuthenticationDetail::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.analyzedEmailAuthenticationDetail::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.analyzedEmailAuthenticationDetail::|public|CompositeAuthentication:string +Microsoft.Graph.Models.Security.analyzedEmailAuthenticationDetail::|public|constructor():void +Microsoft.Graph.Models.Security.analyzedEmailAuthenticationDetail::|public|Dkim:string +Microsoft.Graph.Models.Security.analyzedEmailAuthenticationDetail::|public|Dmarc:string +Microsoft.Graph.Models.Security.analyzedEmailAuthenticationDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.analyzedEmailAuthenticationDetail::|public|OdataType:string +Microsoft.Graph.Models.Security.analyzedEmailAuthenticationDetail::|public|SenderPolicyFramework:string +Microsoft.Graph.Models.Security.analyzedEmailAuthenticationDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.analyzedEmailAuthenticationDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.AnalyzedEmailAuthenticationDetail +Microsoft.Graph.Models.Security.analyzedEmailAuthenticationDetail~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.Security.analyzedEmailCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.Security.analyzedEmailCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.analyzedEmailCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.analyzedEmailCollectionResponse::|public|Value:List +Microsoft.Graph.Models.Security.analyzedEmailCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.AnalyzedEmailCollectionResponse +Microsoft.Graph.Models.Security.analyzedEmailDeliveryDetail::|public|Action:global.Microsoft.Graph.Models.Security.DeliveryAction? +Microsoft.Graph.Models.Security.analyzedEmailDeliveryDetail::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.analyzedEmailDeliveryDetail::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.analyzedEmailDeliveryDetail::|public|constructor():void +Microsoft.Graph.Models.Security.analyzedEmailDeliveryDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.analyzedEmailDeliveryDetail::|public|LatestThreats:string +Microsoft.Graph.Models.Security.analyzedEmailDeliveryDetail::|public|Location:global.Microsoft.Graph.Models.Security.DeliveryLocation? +Microsoft.Graph.Models.Security.analyzedEmailDeliveryDetail::|public|OdataType:string +Microsoft.Graph.Models.Security.analyzedEmailDeliveryDetail::|public|OriginalThreats:string +Microsoft.Graph.Models.Security.analyzedEmailDeliveryDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.analyzedEmailDeliveryDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.AnalyzedEmailDeliveryDetail +Microsoft.Graph.Models.Security.analyzedEmailDeliveryDetail~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.Security.analyzedEmailDlpRuleInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.analyzedEmailDlpRuleInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.analyzedEmailDlpRuleInfo::|public|constructor():void +Microsoft.Graph.Models.Security.analyzedEmailDlpRuleInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.analyzedEmailDlpRuleInfo::|public|Name:string +Microsoft.Graph.Models.Security.analyzedEmailDlpRuleInfo::|public|OdataType:string +Microsoft.Graph.Models.Security.analyzedEmailDlpRuleInfo::|public|RuleId:string +Microsoft.Graph.Models.Security.analyzedEmailDlpRuleInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.analyzedEmailDlpRuleInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.AnalyzedEmailDlpRuleInfo +Microsoft.Graph.Models.Security.analyzedEmailDlpRuleInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.Security.analyzedEmailExchangeTransportRuleInfo::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.analyzedEmailExchangeTransportRuleInfo::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.analyzedEmailExchangeTransportRuleInfo::|public|constructor():void +Microsoft.Graph.Models.Security.analyzedEmailExchangeTransportRuleInfo::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.analyzedEmailExchangeTransportRuleInfo::|public|Name:string +Microsoft.Graph.Models.Security.analyzedEmailExchangeTransportRuleInfo::|public|OdataType:string +Microsoft.Graph.Models.Security.analyzedEmailExchangeTransportRuleInfo::|public|RuleId:string +Microsoft.Graph.Models.Security.analyzedEmailExchangeTransportRuleInfo::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.analyzedEmailExchangeTransportRuleInfo::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.AnalyzedEmailExchangeTransportRuleInfo +Microsoft.Graph.Models.Security.analyzedEmailExchangeTransportRuleInfo~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.Security.analyzedEmailRecipientDetail::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.analyzedEmailRecipientDetail::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.analyzedEmailRecipientDetail::|public|CcRecipients:List +Microsoft.Graph.Models.Security.analyzedEmailRecipientDetail::|public|constructor():void +Microsoft.Graph.Models.Security.analyzedEmailRecipientDetail::|public|DomainName:string +Microsoft.Graph.Models.Security.analyzedEmailRecipientDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.analyzedEmailRecipientDetail::|public|OdataType:string +Microsoft.Graph.Models.Security.analyzedEmailRecipientDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.analyzedEmailRecipientDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.AnalyzedEmailRecipientDetail +Microsoft.Graph.Models.Security.analyzedEmailRecipientDetail~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.Security.analyzedEmailSenderDetail::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.analyzedEmailSenderDetail::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.analyzedEmailSenderDetail::|public|constructor():void +Microsoft.Graph.Models.Security.analyzedEmailSenderDetail::|public|DisplayName:string +Microsoft.Graph.Models.Security.analyzedEmailSenderDetail::|public|DomainCreationDateTime:DateTimeOffset? +Microsoft.Graph.Models.Security.analyzedEmailSenderDetail::|public|DomainName:string +Microsoft.Graph.Models.Security.analyzedEmailSenderDetail::|public|DomainOwner:string +Microsoft.Graph.Models.Security.analyzedEmailSenderDetail::|public|FromAddress:string +Microsoft.Graph.Models.Security.analyzedEmailSenderDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.analyzedEmailSenderDetail::|public|Ipv4:string +Microsoft.Graph.Models.Security.analyzedEmailSenderDetail::|public|Location:string +Microsoft.Graph.Models.Security.analyzedEmailSenderDetail::|public|MailFromAddress:string +Microsoft.Graph.Models.Security.analyzedEmailSenderDetail::|public|MailFromDomainName:string +Microsoft.Graph.Models.Security.analyzedEmailSenderDetail::|public|OdataType:string +Microsoft.Graph.Models.Security.analyzedEmailSenderDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.analyzedEmailSenderDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.AnalyzedEmailSenderDetail +Microsoft.Graph.Models.Security.analyzedEmailSenderDetail~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.Security.analyzedEmailUrl::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.analyzedEmailUrl::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.analyzedEmailUrl::|public|constructor():void +Microsoft.Graph.Models.Security.analyzedEmailUrl::|public|DetectionMethod:string +Microsoft.Graph.Models.Security.analyzedEmailUrl::|public|DetonationDetails:global.Microsoft.Graph.Models.Security.DetonationDetails +Microsoft.Graph.Models.Security.analyzedEmailUrl::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.analyzedEmailUrl::|public|OdataType:string +Microsoft.Graph.Models.Security.analyzedEmailUrl::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.analyzedEmailUrl::|public|TenantAllowBlockListDetailInfo:string +Microsoft.Graph.Models.Security.analyzedEmailUrl::|public|ThreatType:global.Microsoft.Graph.Models.Security.ThreatType? +Microsoft.Graph.Models.Security.analyzedEmailUrl::|public|Url:string +Microsoft.Graph.Models.Security.analyzedEmailUrl::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.AnalyzedEmailUrl +Microsoft.Graph.Models.Security.analyzedEmailUrl~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.Security.analyzedMessageEvidence-->global.Microsoft.Graph.Models.Security.AlertEvidence Microsoft.Graph.Models.Security.analyzedMessageEvidence::|public|AntiSpamDirection:string Microsoft.Graph.Models.Security.analyzedMessageEvidence::|public|AttachmentsCount:long? @@ -121509,6 +122335,11 @@ Microsoft.Graph.Models.Security.analyzedMessageEvidence::|public|UrlCount:long? Microsoft.Graph.Models.Security.analyzedMessageEvidence::|public|Urls:List Microsoft.Graph.Models.Security.analyzedMessageEvidence::|public|Urn:string Microsoft.Graph.Models.Security.analyzedMessageEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.AnalyzedMessageEvidence +Microsoft.Graph.Models.Security.antispamDirectionality::0000-unknown +Microsoft.Graph.Models.Security.antispamDirectionality::0001-inbound +Microsoft.Graph.Models.Security.antispamDirectionality::0002-outbound +Microsoft.Graph.Models.Security.antispamDirectionality::0003-intraOrg +Microsoft.Graph.Models.Security.antispamDirectionality::0004-unknownFutureValue Microsoft.Graph.Models.Security.antispamTeamsDirection::0000-unknown Microsoft.Graph.Models.Security.antispamTeamsDirection::0001-inbound Microsoft.Graph.Models.Security.antispamTeamsDirection::0002-outbound @@ -121739,6 +122570,22 @@ Microsoft.Graph.Models.Security.cloudLogonSessionEvidence::|public|SessionId:str Microsoft.Graph.Models.Security.cloudLogonSessionEvidence::|public|StartUtcDateTime:DateTimeOffset? Microsoft.Graph.Models.Security.cloudLogonSessionEvidence::|public|UserAgent:string Microsoft.Graph.Models.Security.cloudLogonSessionEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.CloudLogonSessionEvidence +Microsoft.Graph.Models.Security.collaborationRoot-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.Security.collaborationRoot::|public|AnalyzedEmails:List +Microsoft.Graph.Models.Security.collaborationRoot::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.collaborationRoot::|public|OdataType:string +Microsoft.Graph.Models.Security.collaborationRoot::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.collaborationRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.CollaborationRoot +Microsoft.Graph.Models.Security.compromiseIndicator::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.compromiseIndicator::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.compromiseIndicator::|public|constructor():void +Microsoft.Graph.Models.Security.compromiseIndicator::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.compromiseIndicator::|public|OdataType:string +Microsoft.Graph.Models.Security.compromiseIndicator::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.compromiseIndicator::|public|Value:string +Microsoft.Graph.Models.Security.compromiseIndicator::|public|Verdict:global.Microsoft.Graph.Models.Security.VerdictCategory? +Microsoft.Graph.Models.Security.compromiseIndicator::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.CompromiseIndicator +Microsoft.Graph.Models.Security.compromiseIndicator~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.Security.containerEvidence-->global.Microsoft.Graph.Models.Security.AlertEvidence Microsoft.Graph.Models.Security.containerEvidence::|public|Args:List Microsoft.Graph.Models.Security.containerEvidence::|public|Command:List @@ -121864,6 +122711,22 @@ Microsoft.Graph.Models.Security.defenderAvStatus::0003-updated Microsoft.Graph.Models.Security.defenderAvStatus::0004-unknown Microsoft.Graph.Models.Security.defenderAvStatus::0005-notSupported Microsoft.Graph.Models.Security.defenderAvStatus::0006-unknownFutureValue +Microsoft.Graph.Models.Security.deliveryAction::0000-unknown +Microsoft.Graph.Models.Security.deliveryAction::0001-deliveredToJunk +Microsoft.Graph.Models.Security.deliveryAction::0002-delivered +Microsoft.Graph.Models.Security.deliveryAction::0003-blocked +Microsoft.Graph.Models.Security.deliveryAction::0004-replaced +Microsoft.Graph.Models.Security.deliveryAction::0005-unknownFutureValue +Microsoft.Graph.Models.Security.deliveryLocation::0000-unknown +Microsoft.Graph.Models.Security.deliveryLocation::0001-inbox_folder +Microsoft.Graph.Models.Security.deliveryLocation::0002-junkFolder +Microsoft.Graph.Models.Security.deliveryLocation::0003-deletedFolder +Microsoft.Graph.Models.Security.deliveryLocation::0004-quarantine +Microsoft.Graph.Models.Security.deliveryLocation::0005-onprem_external +Microsoft.Graph.Models.Security.deliveryLocation::0006-failed +Microsoft.Graph.Models.Security.deliveryLocation::0007-dropped +Microsoft.Graph.Models.Security.deliveryLocation::0008-others +Microsoft.Graph.Models.Security.deliveryLocation::0009-unknownFutureValue Microsoft.Graph.Models.Security.departmentTemplate-->global.Microsoft.Graph.Models.Security.FilePlanDescriptorTemplate Microsoft.Graph.Models.Security.departmentTemplate::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.Security.departmentTemplate::|public|OdataType:string @@ -121936,6 +122799,65 @@ Microsoft.Graph.Models.Security.detectionStatus::0000-detected Microsoft.Graph.Models.Security.detectionStatus::0001-blocked Microsoft.Graph.Models.Security.detectionStatus::0002-prevented Microsoft.Graph.Models.Security.detectionStatus::0003-unknownFutureValue +Microsoft.Graph.Models.Security.detonationBehaviourDetails::|public|ActionStatus:string +Microsoft.Graph.Models.Security.detonationBehaviourDetails::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.detonationBehaviourDetails::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.detonationBehaviourDetails::|public|BehaviourCapability:string +Microsoft.Graph.Models.Security.detonationBehaviourDetails::|public|BehaviourGroup:string +Microsoft.Graph.Models.Security.detonationBehaviourDetails::|public|constructor():void +Microsoft.Graph.Models.Security.detonationBehaviourDetails::|public|Details:string +Microsoft.Graph.Models.Security.detonationBehaviourDetails::|public|EventDateTime:DateTimeOffset? +Microsoft.Graph.Models.Security.detonationBehaviourDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.detonationBehaviourDetails::|public|OdataType:string +Microsoft.Graph.Models.Security.detonationBehaviourDetails::|public|Operation:string +Microsoft.Graph.Models.Security.detonationBehaviourDetails::|public|ProcessId:string +Microsoft.Graph.Models.Security.detonationBehaviourDetails::|public|ProcessName:string +Microsoft.Graph.Models.Security.detonationBehaviourDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.detonationBehaviourDetails::|public|Target:string +Microsoft.Graph.Models.Security.detonationBehaviourDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.DetonationBehaviourDetails +Microsoft.Graph.Models.Security.detonationBehaviourDetails~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.Security.detonationChain::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.detonationChain::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.detonationChain::|public|ChildNodes:List +Microsoft.Graph.Models.Security.detonationChain::|public|constructor():void +Microsoft.Graph.Models.Security.detonationChain::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.detonationChain::|public|OdataType:string +Microsoft.Graph.Models.Security.detonationChain::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.detonationChain::|public|Value:string +Microsoft.Graph.Models.Security.detonationChain::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.DetonationChain +Microsoft.Graph.Models.Security.detonationChain~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.Security.detonationDetails::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.detonationDetails::|public|AnalysisDateTime:DateTimeOffset? +Microsoft.Graph.Models.Security.detonationDetails::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.detonationDetails::|public|CompromiseIndicators:List +Microsoft.Graph.Models.Security.detonationDetails::|public|constructor():void +Microsoft.Graph.Models.Security.detonationDetails::|public|DetonationBehaviourDetails:global.Microsoft.Graph.Models.Security.DetonationBehaviourDetails +Microsoft.Graph.Models.Security.detonationDetails::|public|DetonationBehaviourDetailsV2:string +Microsoft.Graph.Models.Security.detonationDetails::|public|DetonationChain:global.Microsoft.Graph.Models.Security.DetonationChain +Microsoft.Graph.Models.Security.detonationDetails::|public|DetonationObservables:global.Microsoft.Graph.Models.Security.DetonationObservables +Microsoft.Graph.Models.Security.detonationDetails::|public|DetonationScreenshotUri:string +Microsoft.Graph.Models.Security.detonationDetails::|public|DetonationVerdict:string +Microsoft.Graph.Models.Security.detonationDetails::|public|DetonationVerdictReason:string +Microsoft.Graph.Models.Security.detonationDetails::|public|EntityMetadata:string +Microsoft.Graph.Models.Security.detonationDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.detonationDetails::|public|MitreTechniques:string +Microsoft.Graph.Models.Security.detonationDetails::|public|OdataType:string +Microsoft.Graph.Models.Security.detonationDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.detonationDetails::|public|StaticAnalysis:string +Microsoft.Graph.Models.Security.detonationDetails::|public|SubmissionSource:string +Microsoft.Graph.Models.Security.detonationDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.DetonationDetails +Microsoft.Graph.Models.Security.detonationDetails~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.Security.detonationObservables::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.detonationObservables::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.detonationObservables::|public|constructor():void +Microsoft.Graph.Models.Security.detonationObservables::|public|ContactedIps:List +Microsoft.Graph.Models.Security.detonationObservables::|public|ContactedUrls:List +Microsoft.Graph.Models.Security.detonationObservables::|public|Droppedfiles:List +Microsoft.Graph.Models.Security.detonationObservables::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.detonationObservables::|public|OdataType:string +Microsoft.Graph.Models.Security.detonationObservables::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.detonationObservables::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.DetonationObservables +Microsoft.Graph.Models.Security.detonationObservables~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.Security.deviceEvidence-->global.Microsoft.Graph.Models.Security.AlertEvidence Microsoft.Graph.Models.Security.deviceEvidence::|public|AzureAdDeviceId:string Microsoft.Graph.Models.Security.deviceEvidence::|public|constructor():void @@ -122261,6 +123183,10 @@ Microsoft.Graph.Models.Security.eventQuery::|public|QueryType:global.Microsoft.G Microsoft.Graph.Models.Security.eventQuery::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.Security.eventQuery::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.EventQuery Microsoft.Graph.Models.Security.eventQuery~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.Security.eventSource::0000-system +Microsoft.Graph.Models.Security.eventSource::0001-admin +Microsoft.Graph.Models.Security.eventSource::0002-user +Microsoft.Graph.Models.Security.eventSource::0003-unknownFutureValue Microsoft.Graph.Models.Security.eventStatusType::0000-pending Microsoft.Graph.Models.Security.eventStatusType::0001-error Microsoft.Graph.Models.Security.eventStatusType::0002-success @@ -123346,6 +124272,17 @@ Microsoft.Graph.Models.Security.registryValueEvidence::|public|RegistryValueName Microsoft.Graph.Models.Security.registryValueEvidence::|public|RegistryValueType:string Microsoft.Graph.Models.Security.registryValueEvidence::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.Security.registryValueEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.RegistryValueEvidence +Microsoft.Graph.Models.Security.remediationAction::0000-moveToJunk +Microsoft.Graph.Models.Security.remediationAction::0001-moveToInbox +Microsoft.Graph.Models.Security.remediationAction::0002-hardDelete +Microsoft.Graph.Models.Security.remediationAction::0003-softDelete +Microsoft.Graph.Models.Security.remediationAction::0004-moveToDeletedItems +Microsoft.Graph.Models.Security.remediationAction::0005-unknownFutureValue +Microsoft.Graph.Models.Security.remediationAction::0006-moveToQuarantine +Microsoft.Graph.Models.Security.remediationSeverity::0000-low +Microsoft.Graph.Models.Security.remediationSeverity::0001-medium +Microsoft.Graph.Models.Security.remediationSeverity::0002-high +Microsoft.Graph.Models.Security.remediationSeverity::0003-unknownFutureValue Microsoft.Graph.Models.Security.reportFileMetadata::|public|AdditionalData:IDictionary Microsoft.Graph.Models.Security.reportFileMetadata::|public|BackingStore:IBackingStore Microsoft.Graph.Models.Security.reportFileMetadata::|public|constructor():void @@ -123506,6 +124443,7 @@ Microsoft.Graph.Models.Security.security::|public|Alerts:List Microsoft.Graph.Models.Security.security::|public|AttackSimulation:global.Microsoft.Graph.Models.AttackSimulationRoot Microsoft.Graph.Models.Security.security::|public|Cases:global.Microsoft.Graph.Models.Security.CasesRoot +Microsoft.Graph.Models.Security.security::|public|Collaboration:global.Microsoft.Graph.Models.Security.CollaborationRoot Microsoft.Graph.Models.Security.security::|public|DataSecurityAndGovernance:global.Microsoft.Graph.Models.TenantDataSecurityAndGovernance Microsoft.Graph.Models.Security.security::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.Security.security::|public|Identities:global.Microsoft.Graph.Models.Security.IdentityContainer @@ -123640,6 +124578,7 @@ Microsoft.Graph.Models.Security.serviceSource::0010-microsoftDefenderForCloud Microsoft.Graph.Models.Security.serviceSource::0011-microsoftSentinel Microsoft.Graph.Models.Security.serviceSource::0012-microsoftInsiderRiskManagement Microsoft.Graph.Models.Security.serviceSource::0013-microsoftThreatIntelligence +Microsoft.Graph.Models.Security.serviceSource::0014-microsoftSecurityForAI Microsoft.Graph.Models.Security.serviceStatus::0000-stopped Microsoft.Graph.Models.Security.serviceStatus::0001-starting Microsoft.Graph.Models.Security.serviceStatus::0002-running @@ -123818,6 +124757,17 @@ Microsoft.Graph.Models.Security.teamsMessageEvidence::|public|ThreadId:string Microsoft.Graph.Models.Security.teamsMessageEvidence::|public|ThreadType:string Microsoft.Graph.Models.Security.teamsMessageEvidence::|public|Urls:List Microsoft.Graph.Models.Security.teamsMessageEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.TeamsMessageEvidence +Microsoft.Graph.Models.Security.threatDetectionDetail::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.threatDetectionDetail::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.threatDetectionDetail::|public|ConfidenceLevel:string +Microsoft.Graph.Models.Security.threatDetectionDetail::|public|constructor():void +Microsoft.Graph.Models.Security.threatDetectionDetail::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.threatDetectionDetail::|public|OdataType:string +Microsoft.Graph.Models.Security.threatDetectionDetail::|public|PriorityAccountProtection:string +Microsoft.Graph.Models.Security.threatDetectionDetail::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.threatDetectionDetail::|public|Threats:string +Microsoft.Graph.Models.Security.threatDetectionDetail::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.ThreatDetectionDetail +Microsoft.Graph.Models.Security.threatDetectionDetail~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.Security.threatIntelligence-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.Security.threatIntelligence::|public|ArticleIndicators:List Microsoft.Graph.Models.Security.threatIntelligence::|public|Articles:List @@ -123840,6 +124790,36 @@ Microsoft.Graph.Models.Security.threatIntelligence::|public|Vulnerabilities:List Microsoft.Graph.Models.Security.threatIntelligence::|public|WhoisHistoryRecords:List Microsoft.Graph.Models.Security.threatIntelligence::|public|WhoisRecords:List Microsoft.Graph.Models.Security.threatIntelligence::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.ThreatIntelligence +Microsoft.Graph.Models.Security.threatType::0000-unknown +Microsoft.Graph.Models.Security.threatType::0001-spam +Microsoft.Graph.Models.Security.threatType::0002-malware +Microsoft.Graph.Models.Security.threatType::0003-phish +Microsoft.Graph.Models.Security.threatType::0004-none +Microsoft.Graph.Models.Security.threatType::0005-unknownFutureValue +Microsoft.Graph.Models.Security.timelineEvent::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.Security.timelineEvent::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.Security.timelineEvent::|public|constructor():void +Microsoft.Graph.Models.Security.timelineEvent::|public|EventDateTime:DateTimeOffset? +Microsoft.Graph.Models.Security.timelineEvent::|public|EventDetails:string +Microsoft.Graph.Models.Security.timelineEvent::|public|EventResult:string +Microsoft.Graph.Models.Security.timelineEvent::|public|EventSource:global.Microsoft.Graph.Models.Security.EventSource? +Microsoft.Graph.Models.Security.timelineEvent::|public|EventThreats:List +Microsoft.Graph.Models.Security.timelineEvent::|public|EventType:global.Microsoft.Graph.Models.Security.TimelineEventType? +Microsoft.Graph.Models.Security.timelineEvent::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.Security.timelineEvent::|public|OdataType:string +Microsoft.Graph.Models.Security.timelineEvent::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.Security.timelineEvent::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.TimelineEvent +Microsoft.Graph.Models.Security.timelineEventType::0000-originalDelivery +Microsoft.Graph.Models.Security.timelineEventType::0001-systemTimeTravel +Microsoft.Graph.Models.Security.timelineEventType::0002-dynamicDelivery +Microsoft.Graph.Models.Security.timelineEventType::0003-userUrlClick +Microsoft.Graph.Models.Security.timelineEventType::0004-reprocessed +Microsoft.Graph.Models.Security.timelineEventType::0005-zap +Microsoft.Graph.Models.Security.timelineEventType::0006-quarantineRelease +Microsoft.Graph.Models.Security.timelineEventType::0007-air +Microsoft.Graph.Models.Security.timelineEventType::0008-unknown +Microsoft.Graph.Models.Security.timelineEventType::0009-unknownFutureValue +Microsoft.Graph.Models.Security.timelineEvent~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.Security.topicModelingSettings::|public|AdditionalData:IDictionary Microsoft.Graph.Models.Security.topicModelingSettings::|public|BackingStore:IBackingStore Microsoft.Graph.Models.Security.topicModelingSettings::|public|constructor():void @@ -123939,6 +124919,16 @@ Microsoft.Graph.Models.Security.userSourceCollectionResponse::|public|GetFieldDe Microsoft.Graph.Models.Security.userSourceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.Security.userSourceCollectionResponse::|public|Value:List Microsoft.Graph.Models.Security.userSourceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Security.UserSourceCollectionResponse +Microsoft.Graph.Models.Security.verdictCategory::0000-none +Microsoft.Graph.Models.Security.verdictCategory::0001-malware +Microsoft.Graph.Models.Security.verdictCategory::0002-phish +Microsoft.Graph.Models.Security.verdictCategory::0003-siteUnavailable +Microsoft.Graph.Models.Security.verdictCategory::0004-spam +Microsoft.Graph.Models.Security.verdictCategory::0005-decryptionFailed +Microsoft.Graph.Models.Security.verdictCategory::0006-unsupportedUriScheme +Microsoft.Graph.Models.Security.verdictCategory::0007-unsupportedFileType +Microsoft.Graph.Models.Security.verdictCategory::0008-undefined +Microsoft.Graph.Models.Security.verdictCategory::0009-unknownFutureValue Microsoft.Graph.Models.Security.vmCloudProvider::0000-unknown Microsoft.Graph.Models.Security.vmCloudProvider::0001-azure Microsoft.Graph.Models.Security.vmCloudProvider::0002-unknownFutureValue @@ -129827,6 +130817,15 @@ Microsoft.Graph.Models.userWorkLocation::|public|Source:global.Microsoft.Graph.M Microsoft.Graph.Models.userWorkLocation::|public|WorkLocationType:global.Microsoft.Graph.Models.WorkLocationType? Microsoft.Graph.Models.userWorkLocation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.UserWorkLocation Microsoft.Graph.Models.userWorkLocation~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.validatingDomains::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.validatingDomains::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.validatingDomains::|public|constructor():void +Microsoft.Graph.Models.validatingDomains::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.validatingDomains::|public|OdataType:string +Microsoft.Graph.Models.validatingDomains::|public|RootDomains:global.Microsoft.Graph.Models.RootDomains? +Microsoft.Graph.Models.validatingDomains::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.validatingDomains::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ValidatingDomains +Microsoft.Graph.Models.validatingDomains~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.verifiableCredentialAuthenticationMethodTarget-->global.Microsoft.Graph.Models.AuthenticationMethodTarget Microsoft.Graph.Models.verifiableCredentialAuthenticationMethodTarget::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.verifiableCredentialAuthenticationMethodTarget::|public|OdataType:string @@ -136267,6 +137266,21 @@ Microsoft.Graph.Policies.FeatureRolloutPolicies.Item.FeatureRolloutPolicyItemReq Microsoft.Graph.Policies.FeatureRolloutPolicies.Item.FeatureRolloutPolicyItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Policies.FeatureRolloutPolicies.Item.FeatureRolloutPolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.FeatureRolloutPolicy; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Policies.FeatureRolloutPolicies.Item.FeatureRolloutPolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Policies.FeatureRolloutPolicies.Item.FeatureRolloutPolicyItemRequestBuilder +Microsoft.Graph.Policies.FederatedTokenValidationPolicy.federatedTokenValidationPolicyRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Policies.FederatedTokenValidationPolicy.federatedTokenValidationPolicyRequestBuilder.federatedTokenValidationPolicyRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Policies.FederatedTokenValidationPolicy.federatedTokenValidationPolicyRequestBuilder.federatedTokenValidationPolicyRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Policies.FederatedTokenValidationPolicy.federatedTokenValidationPolicyRequestBuilder.federatedTokenValidationPolicyRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Policies.FederatedTokenValidationPolicy.federatedTokenValidationPolicyRequestBuilder.federatedTokenValidationPolicyRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Policies.FederatedTokenValidationPolicy.federatedTokenValidationPolicyRequestBuilder.federatedTokenValidationPolicyRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Policies.FederatedTokenValidationPolicy.federatedTokenValidationPolicyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Policies.FederatedTokenValidationPolicy.federatedTokenValidationPolicyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Policies.FederatedTokenValidationPolicy.federatedTokenValidationPolicyRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Policies.FederatedTokenValidationPolicy.federatedTokenValidationPolicyRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FederatedTokenValidationPolicy +Microsoft.Graph.Policies.FederatedTokenValidationPolicy.federatedTokenValidationPolicyRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.FederatedTokenValidationPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.FederatedTokenValidationPolicy +Microsoft.Graph.Policies.FederatedTokenValidationPolicy.federatedTokenValidationPolicyRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Policies.FederatedTokenValidationPolicy.federatedTokenValidationPolicyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Policies.FederatedTokenValidationPolicy.federatedTokenValidationPolicyRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.FederatedTokenValidationPolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Policies.FederatedTokenValidationPolicy.federatedTokenValidationPolicyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Policies.FederatedTokenValidationPolicy.FederatedTokenValidationPolicyRequestBuilder Microsoft.Graph.Policies.HomeRealmDiscoveryPolicies.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Policies.HomeRealmDiscoveryPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Policies.HomeRealmDiscoveryPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -136528,6 +137542,7 @@ Microsoft.Graph.Policies.policiesRequestBuilder::|public|crossTenantAccessPolicy Microsoft.Graph.Policies.policiesRequestBuilder::|public|defaultAppManagementPolicy:global.Microsoft.Graph.Policies.DefaultAppManagementPolicy.DefaultAppManagementPolicyRequestBuilder Microsoft.Graph.Policies.policiesRequestBuilder::|public|deviceRegistrationPolicy:global.Microsoft.Graph.Policies.DeviceRegistrationPolicy.DeviceRegistrationPolicyRequestBuilder Microsoft.Graph.Policies.policiesRequestBuilder::|public|featureRolloutPolicies:global.Microsoft.Graph.Policies.FeatureRolloutPolicies.FeatureRolloutPoliciesRequestBuilder +Microsoft.Graph.Policies.policiesRequestBuilder::|public|federatedTokenValidationPolicy:global.Microsoft.Graph.Policies.FederatedTokenValidationPolicy.FederatedTokenValidationPolicyRequestBuilder Microsoft.Graph.Policies.policiesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PolicyRoot Microsoft.Graph.Policies.policiesRequestBuilder::|public|homeRealmDiscoveryPolicies:global.Microsoft.Graph.Policies.HomeRealmDiscoveryPolicies.HomeRealmDiscoveryPoliciesRequestBuilder Microsoft.Graph.Policies.policiesRequestBuilder::|public|identitySecurityDefaultsEnforcementPolicy:global.Microsoft.Graph.Policies.IdentitySecurityDefaultsEnforcementPolicy.IdentitySecurityDefaultsEnforcementPolicyRequestBuilder @@ -144078,6 +145093,87 @@ Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.Tags.tagsRequestBuilder::|pu Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.Tags.tagsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.Tags.tagsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Security.EdiscoveryReviewTag; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.Tags.tagsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Cases.EdiscoveryCases.Item.Tags.TagsRequestBuilder +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder.analyzedEmailsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder.analyzedEmailsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder.analyzedEmailsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder.analyzedEmailsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder.analyzedEmailsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder.analyzedEmailsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder.analyzedEmailsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder.analyzedEmailsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder.analyzedEmailsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder.analyzedEmailsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder::[AnalyzedEmailId:string]:global.Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder::|public|Count:global.Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Count.CountRequestBuilder +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.AnalyzedEmailCollectionResponse +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder::|public|microsoftGraphSecurityRemediate:global.Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.MicrosoftGraphSecurityRemediateRequestBuilder +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.Security.AnalyzedEmail; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.AnalyzedEmail +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.Security.AnalyzedEmail; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.analyzedEmailsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Collaboration.AnalyzedEmails.AnalyzedEmailsRequestBuilder +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Count.CountRequestBuilder +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder.AnalyzedEmailItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder.AnalyzedEmailItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder.AnalyzedEmailItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder.AnalyzedEmailItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder.AnalyzedEmailItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.AnalyzedEmail +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Security.AnalyzedEmail; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.AnalyzedEmail +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Security.AnalyzedEmail; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Collaboration.AnalyzedEmails.Item.AnalyzedEmailItemRequestBuilder +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.microsoftGraphSecurityRemediateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.microsoftGraphSecurityRemediateRequestBuilder.microsoftGraphSecurityRemediateRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.microsoftGraphSecurityRemediateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.microsoftGraphSecurityRemediateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.microsoftGraphSecurityRemediateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.RemediatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.microsoftGraphSecurityRemediateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.RemediatePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.microsoftGraphSecurityRemediateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.MicrosoftGraphSecurityRemediateRequestBuilder +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.remediatePostRequestBody::|public|Action:global.Microsoft.Graph.Models.Security.RemediationAction? +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.remediatePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.remediatePostRequestBody::|public|AnalyzedEmails:List +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.remediatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.remediatePostRequestBody::|public|constructor():void +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.remediatePostRequestBody::|public|Description:string +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.remediatePostRequestBody::|public|DisplayName:string +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.remediatePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.remediatePostRequestBody::|public|RemediateSendersCopy:bool? +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.remediatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.remediatePostRequestBody::|public|Severity:global.Microsoft.Graph.Models.Security.RemediationSeverity? +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.remediatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.RemediatePostRequestBody +Microsoft.Graph.Security.Collaboration.AnalyzedEmails.MicrosoftGraphSecurityRemediate.remediatePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Security.Collaboration.collaborationRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Security.Collaboration.collaborationRequestBuilder.collaborationRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Collaboration.collaborationRequestBuilder.collaborationRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Security.Collaboration.collaborationRequestBuilder.collaborationRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Security.Collaboration.collaborationRequestBuilder.collaborationRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Collaboration.collaborationRequestBuilder.collaborationRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Security.Collaboration.collaborationRequestBuilder::|public|analyzedEmails:global.Microsoft.Graph.Security.Collaboration.AnalyzedEmails.AnalyzedEmailsRequestBuilder +Microsoft.Graph.Security.Collaboration.collaborationRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Collaboration.collaborationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Security.Collaboration.collaborationRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Security.Collaboration.collaborationRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.CollaborationRoot +Microsoft.Graph.Security.Collaboration.collaborationRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.Security.CollaborationRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Security.CollaborationRoot +Microsoft.Graph.Security.Collaboration.collaborationRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Collaboration.collaborationRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Collaboration.collaborationRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.Security.CollaborationRoot; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Security.Collaboration.collaborationRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Security.Collaboration.CollaborationRequestBuilder Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Security.DataSecurityAndGovernance.dataSecurityAndGovernanceRequestBuilder.dataSecurityAndGovernanceRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -145342,6 +146438,7 @@ Microsoft.Graph.Security.securityRequestBuilder::|public|alerts:global.Microsoft Microsoft.Graph.Security.securityRequestBuilder::|public|alerts_v2:global.Microsoft.Graph.Security.Alerts_v2.Alerts_v2RequestBuilder Microsoft.Graph.Security.securityRequestBuilder::|public|attackSimulation:global.Microsoft.Graph.Security.AttackSimulation.AttackSimulationRequestBuilder Microsoft.Graph.Security.securityRequestBuilder::|public|cases:global.Microsoft.Graph.Security.Cases.CasesRequestBuilder +Microsoft.Graph.Security.securityRequestBuilder::|public|collaboration:global.Microsoft.Graph.Security.Collaboration.CollaborationRequestBuilder Microsoft.Graph.Security.securityRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Security.securityRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Security.securityRequestBuilder::|public|dataSecurityAndGovernance:global.Microsoft.Graph.Security.DataSecurityAndGovernance.DataSecurityAndGovernanceRequestBuilder @@ -159695,6 +160792,7 @@ Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|Del Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|driveInclusionRules:global.Microsoft.Graph.Solutions.BackupRestore.DriveInclusionRules.DriveInclusionRulesRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|driveProtectionUnits:global.Microsoft.Graph.Solutions.BackupRestore.DriveProtectionUnits.DriveProtectionUnitsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|driveProtectionUnitsBulkAdditionJobs:global.Microsoft.Graph.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs.DriveProtectionUnitsBulkAdditionJobsRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|emailNotificationsSetting:global.Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.EmailNotificationsSettingRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|enable:global.Microsoft.Graph.Solutions.BackupRestore.Enable.EnableRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|exchangeProtectionPolicies:global.Microsoft.Graph.Solutions.BackupRestore.ExchangeProtectionPolicies.ExchangeProtectionPoliciesRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|exchangeRestoreSessions:global.Microsoft.Graph.Solutions.BackupRestore.ExchangeRestoreSessions.ExchangeRestoreSessionsRequestBuilder @@ -159945,6 +161043,21 @@ Microsoft.Graph.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs.Ite Microsoft.Graph.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs.Item.DriveProtectionUnitsBulkAdditionJobItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs.Item.DriveProtectionUnitsBulkAdditionJobItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DriveProtectionUnitsBulkAdditionJob; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs.Item.DriveProtectionUnitsBulkAdditionJobItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs.Item.DriveProtectionUnitsBulkAdditionJobItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder.emailNotificationsSettingRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder.emailNotificationsSettingRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder.emailNotificationsSettingRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder.emailNotificationsSettingRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder.emailNotificationsSettingRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EmailNotificationsSetting +Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.EmailNotificationsSetting; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.EmailNotificationsSetting +Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.EmailNotificationsSetting; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.emailNotificationsSettingRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.EmailNotificationsSetting.EmailNotificationsSettingRequestBuilder Microsoft.Graph.Solutions.BackupRestore.Enable.enablePostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Solutions.BackupRestore.Enable.enablePostRequestBody::|public|AppOwnerTenantId:string Microsoft.Graph.Solutions.BackupRestore.Enable.enablePostRequestBody::|public|BackingStore:IBackingStore diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index 2bf18f3b8e4..f9dfd424664 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "CC5B410D6DC3C35765EBC5D215F3F0199BFEE7E031FA7B82E67CBDFF14AFDA5B00DB880A0156FC2E3B10F7B2B3DA764393D0E8A37F9BD649574784295B5F9238", + "descriptionHash": "673171C8DE37FE83DA84B3A8B3EEBBDD1F293C64BD4FE38498612FA4501FFA2B6542C20857CAC6395AF1402497B5AE87B0BABCD6C54A59AD7C8EF17E50BF11F4", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.32.2", + "kiotaVersion": "1.32.4", "clientClassName": "BaseGraphServiceClient", "typeAccessModifier": "Public", "clientNamespaceName": "Microsoft.Graph",