From 295bde7ec2da0173192f99390ddb3a8b5272d55d Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 5 May 2026 20:53:31 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 217716 --- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../UpdateAdDomainPasswordRequestBuilder.cs | 5 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../DeletedItemsRequestBuilder.cs | 6 +- .../GraphGroup/GraphGroupRequestBuilder.cs | 6 +- .../Item/DirectoryObjectItemRequestBuilder.cs | 10 +- .../GraphGroup/GraphGroupRequestBuilder.cs | 6 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../RetentionLabelRequestBuilder.cs | 4 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../PermanentDeleteRequestBuilder.cs | 5 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../Identity/IdentityRequestBuilder.cs | 6 + .../Profiles/Count/CountRequestBuilder.cs | 124 +++ .../VerifiedIdProfileItemRequestBuilder.cs | 232 ++++++ .../Profiles/ProfilesRequestBuilder.cs | 240 ++++++ .../VerifiedId/VerifiedIdRequestBuilder.cs | 235 ++++++ .../CreationOptionsRequestBuilder.cs | 98 +++ .../Fido2MethodsRequestBuilder.cs | 6 + .../PermanentDeleteRequestBuilder.cs | 5 +- .../PermanentDeleteRequestBuilder.cs | 5 +- .../PermanentDeleteRequestBuilder.cs | 5 +- .../Me/Restore/RestoreRequestBuilder.cs | 4 +- .../Generated/Models/AiAgentInfo.cs | 2 +- .../Models/AuthenticationEventListener.cs | 1 + .../Generated/Models/AzureADJoinPolicy.cs | 6 +- .../Models/AzureADRegistrationPolicy.cs | 4 +- .../Generated/Models/BackupRestoreRoot.cs | 54 ++ .../Generated/Models/BrowsableResourceType.cs | 32 + .../Generated/Models/BrowseQueryOrder.cs | 32 + .../Models/BrowseQueryResponseItem.cs | 169 ++++ .../Models/BrowseQueryResponseItemType.cs | 36 + .../Generated/Models/BrowseSessionBase.cs | 138 ++++ .../BrowseSessionBaseCollectionResponse.cs | 64 ++ .../Generated/Models/BrowseSessionStatus.cs | 28 + .../Generated/Models/ClaimBinding.cs | 125 +++ .../Generated/Models/ClaimBindingSource.cs | 20 + .../Generated/Models/ClaimValidation.cs | 107 +++ .../Models/CloudPcOnPremisesConnection.cs | 8 +- .../Models/ConditionalAccessGrantControl.cs | 4 + .../Models/ConditionalAccessGrantControls.cs | 2 +- .../Models/CustomAuthenticationExtension.cs | 1 + .../Models/CustomCalloutExtension.cs | 1 + .../Models/DeviceRegistrationPolicy.cs | 12 +- .../Generated/Models/EmailDetails.cs | 135 +++ .../Generated/Models/Entity.cs | 11 + .../EnumeratedDeviceRegistrationMembership.cs | 4 +- .../Models/ExternalConnectors/Label.cs | 20 + .../Models/FaceCheckConfiguration.cs | 107 +++ .../Models/Fido2AuthenticationMethod.cs | 18 + .../Generated/Models/FileStorageContainer.cs | 2 +- .../Models/GranularDriveRestoreArtifact.cs | 64 ++ ...rDriveRestoreArtifactCollectionResponse.cs | 64 ++ .../Models/GranularRestoreArtifactBase.cs | 174 ++++ .../Models/GranularSiteRestoreArtifact.cs | 64 ++ ...arSiteRestoreArtifactCollectionResponse.cs | 64 ++ .../Generated/Models/IdentityContainer.cs | 18 + .../TaskProcessingResult.cs | 18 + .../Models/IdentityVerifiedIdRoot.cs | 64 ++ .../Models/LicenseAssignmentState.cs | 12 +- .../Models/LocalAdminPasswordSettings.cs | 2 +- .../Generated/Models/LocalAdminSettings.cs | 4 +- .../Generated/Models/MatchConfidenceLevel.cs | 24 + .../Generated/Models/NotifyMembers.cs | 28 + ...erifiedIdClaimValidationCustomExtension.cs | 53 ++ ...IdClaimValidationCustomExtensionHandler.cs | 89 ++ .../OnVerifiedIdClaimValidationHandler.cs | 86 ++ .../OnVerifiedIdClaimValidationListener.cs | 71 ++ .../OneDriveForBusinessBrowseSession.cs | 71 ++ ...BusinessBrowseSessionCollectionResponse.cs | 64 ++ .../OneDriveForBusinessRestoreSession.cs | 18 + .../Generated/Models/OwnerlessGroupPolicy.cs | 142 ++++ .../Generated/Models/PolicyRoot.cs | 18 + .../Generated/Models/RestoreJobType.cs | 4 + .../Generated/Models/RiskDetail.cs | 4 + .../Generated/Models/Security/Alert.cs | 18 + .../Generated/Models/Security/DataSource.cs | 2 +- .../Models/SharePointBrowseSession.cs | 71 ++ ...arePointBrowseSessionCollectionResponse.cs | 64 ++ .../Generated/Models/SharePointGroup.cs | 8 +- .../Models/SharePointGroupIdentity.cs | 4 +- .../Generated/Models/SharePointGroupMember.cs | 2 +- .../Generated/Models/SharePointIdentitySet.cs | 4 +- .../Models/SharePointRestoreSession.cs | 18 + .../Generated/Models/TargetOwners.cs | 107 +++ .../Generated/Models/VerifiedIdProfile.cs | 178 ++++ .../VerifiedIdProfileCollectionResponse.cs | 64 ++ .../Models/VerifiedIdProfileConfiguration.cs | 161 ++++ .../Models/VerifiedIdProfileState.cs | 24 + .../Models/VerifiedIdUsageConfiguration.cs | 97 +++ .../VerifiedIdUsageConfigurationPurpose.cs | 28 + ...thnAuthenticationExtensionsClientInputs.cs | 81 ++ ...hnAuthenticationExtensionsClientOutputs.cs | 81 ++ ...ebauthnAuthenticatorAttestationResponse.cs | 117 +++ .../WebauthnAuthenticatorSelectionCriteria.cs | 125 +++ .../WebauthnCredentialCreationOptions.cs | 107 +++ .../Models/WebauthnPublicKeyCredential.cs | 135 +++ ...authnPublicKeyCredentialCreationOptions.cs | 233 ++++++ .../WebauthnPublicKeyCredentialDescriptor.cs | 135 +++ .../WebauthnPublicKeyCredentialParameters.cs | 107 +++ .../WebauthnPublicKeyCredentialRpEntity.cs | 117 +++ .../WebauthnPublicKeyCredentialUserEntity.cs | 135 +++ .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../DeviceRegistrationPolicyRequestBuilder.cs | 7 +- .../OwnerlessGroupPolicyRequestBuilder.cs | 180 ++++ .../Policies/PoliciesRequestBuilder.cs | 6 + .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../BackupRestoreRequestBuilder.cs | 18 + .../BrowseSessionsRequestBuilder.cs | 238 ++++++ .../Count/CountRequestBuilder.cs | 124 +++ .../Item/Browse/BrowsePostRequestBody.cs | 116 +++ .../Item/Browse/BrowsePostResponse.cs | 65 ++ .../Item/Browse/BrowseRequestBuilder.cs | 128 +++ .../Item/Browse/BrowseResponse.cs | 28 + .../BrowseSessionBaseItemRequestBuilder.cs | 246 ++++++ .../BrowseWithNextFetchTokenGetResponse.cs | 65 ++ .../BrowseWithNextFetchTokenRequestBuilder.cs | 159 ++++ .../BrowseWithNextFetchTokenResponse.cs | 28 + .../Count/CountRequestBuilder.cs | 124 +++ ...BusinessBrowseSessionItemRequestBuilder.cs | 229 ++++++ ...ForBusinessBrowseSessionsRequestBuilder.cs | 238 ++++++ .../Count/CountRequestBuilder.cs | 124 +++ ...ularDriveRestoreArtifactsRequestBuilder.cs | 238 ++++++ ...rDriveRestoreArtifactItemRequestBuilder.cs | 229 ++++++ ...usinessRestoreSessionItemRequestBuilder.cs | 6 + .../Count/CountRequestBuilder.cs | 124 +++ ...arePointBrowseSessionItemRequestBuilder.cs | 229 ++++++ .../SharePointBrowseSessionsRequestBuilder.cs | 238 ++++++ .../Count/CountRequestBuilder.cs | 124 +++ ...nularSiteRestoreArtifactsRequestBuilder.cs | 238 ++++++ ...arSiteRestoreArtifactItemRequestBuilder.cs | 229 ++++++ ...rePointRestoreSessionItemRequestBuilder.cs | 6 + ...SharePointGroupMemberItemRequestBuilder.cs | 6 +- .../Item/Members/MembersRequestBuilder.cs | 6 +- .../Item/SharePointGroupItemRequestBuilder.cs | 6 +- .../SharePointGroupsRequestBuilder.cs | 6 +- ...SharePointGroupMemberItemRequestBuilder.cs | 6 +- .../Item/Members/MembersRequestBuilder.cs | 6 +- .../Item/SharePointGroupItemRequestBuilder.cs | 6 +- .../SharePointGroupsRequestBuilder.cs | 6 +- .../AppRoleAssignmentsRequestBuilder.cs | 14 +- .../CreationOptionsRequestBuilder.cs | 98 +++ .../Fido2MethodsRequestBuilder.cs | 6 + .../PermanentDeleteRequestBuilder.cs | 5 +- .../PermanentDeleteRequestBuilder.cs | 5 +- .../PermanentDeleteRequestBuilder.cs | 1 - .../DirectReportsRequestBuilder.cs | 7 +- .../Item/Manager/ManagerRequestBuilder.cs | 8 +- .../Item/Manager/Ref/RefRequestBuilder.cs | 12 +- .../Item/MemberOf/MemberOfRequestBuilder.cs | 8 +- .../OwnedObjectsRequestBuilder.cs | 7 +- .../Item/Restore/RestoreRequestBuilder.cs | 4 +- .../Sponsors/Item/Ref/RefRequestBuilder.cs | 6 +- .../Item/Sponsors/Ref/RefRequestBuilder.cs | 22 +- .../Item/Sponsors/SponsorsRequestBuilder.cs | 8 +- .../TransitiveMemberOfRequestBuilder.cs | 8 +- .../Generated/kiota-dom-export.txt | 766 ++++++++++++++++++ src/Microsoft.Graph/Generated/kiota-lock.json | 2 +- 164 files changed, 10276 insertions(+), 183 deletions(-) create mode 100644 src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/Item/VerifiedIdProfileItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/ProfilesRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Identity/VerifiedId/VerifiedIdRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Models/BrowsableResourceType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/BrowseQueryOrder.cs create mode 100644 src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItem.cs create mode 100644 src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItemType.cs create mode 100644 src/Microsoft.Graph/Generated/Models/BrowseSessionBase.cs create mode 100644 src/Microsoft.Graph/Generated/Models/BrowseSessionBaseCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/BrowseSessionStatus.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ClaimBinding.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ClaimBindingSource.cs create mode 100644 src/Microsoft.Graph/Generated/Models/ClaimValidation.cs create mode 100644 src/Microsoft.Graph/Generated/Models/EmailDetails.cs create mode 100644 src/Microsoft.Graph/Generated/Models/FaceCheckConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/GranularDriveRestoreArtifact.cs create mode 100644 src/Microsoft.Graph/Generated/Models/GranularDriveRestoreArtifactCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/GranularRestoreArtifactBase.cs create mode 100644 src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifact.cs create mode 100644 src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifactCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/IdentityVerifiedIdRoot.cs create mode 100644 src/Microsoft.Graph/Generated/Models/MatchConfidenceLevel.cs create mode 100644 src/Microsoft.Graph/Generated/Models/NotifyMembers.cs create mode 100644 src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationCustomExtension.cs create mode 100644 src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationCustomExtensionHandler.cs create mode 100644 src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationHandler.cs create mode 100644 src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationListener.cs create mode 100644 src/Microsoft.Graph/Generated/Models/OneDriveForBusinessBrowseSession.cs create mode 100644 src/Microsoft.Graph/Generated/Models/OneDriveForBusinessBrowseSessionCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/OwnerlessGroupPolicy.cs create mode 100644 src/Microsoft.Graph/Generated/Models/SharePointBrowseSession.cs create mode 100644 src/Microsoft.Graph/Generated/Models/SharePointBrowseSessionCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/TargetOwners.cs create mode 100644 src/Microsoft.Graph/Generated/Models/VerifiedIdProfile.cs create mode 100644 src/Microsoft.Graph/Generated/Models/VerifiedIdProfileCollectionResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/VerifiedIdProfileConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/VerifiedIdProfileState.cs create mode 100644 src/Microsoft.Graph/Generated/Models/VerifiedIdUsageConfiguration.cs create mode 100644 src/Microsoft.Graph/Generated/Models/VerifiedIdUsageConfigurationPurpose.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebauthnAuthenticationExtensionsClientInputs.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebauthnAuthenticationExtensionsClientOutputs.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorAttestationResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorSelectionCriteria.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebauthnCredentialCreationOptions.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredential.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialCreationOptions.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialDescriptor.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialParameters.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialRpEntity.cs create mode 100644 src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialUserEntity.cs create mode 100644 src/Microsoft.Graph/Generated/Policies/OwnerlessGroupPolicy/OwnerlessGroupPolicyRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowsePostRequestBody.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowsePostResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowseRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowseResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenGetResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenResponse.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Count/CountRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilder.cs create mode 100644 src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs index a4397f7f24e..525d4bd9cb4 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs index 522cccc98a2..68606421da8 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs index d8e8c76c847..bd2489f8855 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/UpdateAdDomainPassword/UpdateAdDomainPasswordRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/UpdateAdDomainPassword/UpdateAdDomainPasswordRequestBuilder.cs index b137a043ce1..7ca11eecf54 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/UpdateAdDomainPassword/UpdateAdDomainPasswordRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/OnPremisesConnections/Item/UpdateAdDomainPassword/UpdateAdDomainPasswordRequestBuilder.cs @@ -34,7 +34,8 @@ public UpdateAdDomainPasswordRequestBuilder(string rawUrl, IRequestAdapter reque { } /// - /// Invoke action updateAdDomainPassword + /// Update the Active Directory domain password for a successful cloudPcOnPremisesConnection. This API is supported when the type of the cloudPcOnPremisesConnection object is hybridAzureADJoin. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.DeviceManagement.VirtualEndp await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke action updateAdDomainPassword + /// Update the Active Directory domain password for a successful cloudPcOnPremisesConnection. This API is supported when the type of the cloudPcOnPremisesConnection object is hybridAzureADJoin. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs index c0204d93fee..09ed3e2f1bf 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs index dd9c28c2f0e..f3952b7fd8e 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs @@ -108,7 +108,7 @@ public DeletedItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// /// A /// Cancellation token to use when cancelling requests @@ -131,7 +131,7 @@ public DeletedItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +159,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeletedItemsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs index 0fc7b006aa2..34425c2bf84 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs @@ -41,7 +41,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// Find more info here /// /// A @@ -65,7 +65,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -93,7 +93,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GraphGroupRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs index 197ba909418..a19c886d278 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs @@ -101,7 +101,7 @@ public DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestA { } /// - /// Permanently delete a recently deleted application, group, servicePrincipal, or user object from deleted items. After an item is permanently deleted, it cannot be restored. Permanently delete a recently deleted directory object from deleted items. The following types are supported:- certificateBasedAuthPki- certificateAuthorityDetail After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. + /// Permanently delete a recently deleted directory object from deleted items. The following types are supported:- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public async Task DeleteAsync(Action - /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// Find more info here /// /// A @@ -148,7 +148,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Permanently delete a recently deleted application, group, servicePrincipal, or user object from deleted items. After an item is permanently deleted, it cannot be restored. Permanently delete a recently deleted directory object from deleted items. The following types are supported:- certificateBasedAuthPki- certificateAuthorityDetail After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. + /// Permanently delete a recently deleted directory object from deleted items. The following types are supported:- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -167,7 +167,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -203,7 +203,7 @@ public partial class DirectoryObjectItemRequestBuilderDeleteRequestConfiguration { } /// - /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DirectoryObjectItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs index a5c5ec26b25..636ca19749a 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -35,7 +35,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// Find more info here /// /// A @@ -59,7 +59,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -87,7 +87,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user + /// Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GraphGroupRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs index 9c47ce1a124..e9ce0df9036 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs index 0f2daa5df85..08bf1f85565 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs index f84a4df45c5..78c832d8deb 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs index 057ec53f6d9..9ea4ab648bc 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs index 0cb4fbaae63..382ede19566 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs @@ -35,7 +35,7 @@ public RetentionLabelRequestBuilder(string rawUrl, IRequestAdapter requestAdapte { } /// - /// Remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + /// Remove the retention label from a driveItem. This operation clears the retention label and all associated retention settings enforced on the item. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. /// 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.ItemRetentionLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Remove a retention label from a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + /// Remove the retention label from a driveItem. This operation clears the retention label and all associated retention settings enforced on the item. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs index adcd15f1f81..2ad292c5c7a 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs index c5664c6cd07..1a3b6aea04b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs @@ -34,8 +34,7 @@ public PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. - /// Find more info here + /// Invoke action permanentDelete /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +56,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. + /// Invoke action permanentDelete /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs index 11426711d2d..0b21ca17146 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs index 50ae16c845a..ddaff10ad87 100644 --- a/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs @@ -9,6 +9,7 @@ using Microsoft.Graph.Identity.IdentityProviders; using Microsoft.Graph.Identity.RiskPrevention; using Microsoft.Graph.Identity.UserFlowAttributes; +using Microsoft.Graph.Identity.VerifiedId; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Kiota.Abstractions.Extensions; @@ -72,6 +73,11 @@ public partial class IdentityRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Identity.UserFlowAttributes.UserFlowAttributesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the verifiedId property of the microsoft.graph.identityContainer entity. + public global::Microsoft.Graph.Identity.VerifiedId.VerifiedIdRequestBuilder VerifiedId + { + get => new global::Microsoft.Graph.Identity.VerifiedId.VerifiedIdRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..bffc465ccf7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/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.Identity.VerifiedId.Profiles.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}/identity/verifiedId/profiles/$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}/identity/verifiedId/profiles/$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.Identity.VerifiedId.Profiles.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Identity.VerifiedId.Profiles.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/Identity/VerifiedId/Profiles/Item/VerifiedIdProfileItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/Item/VerifiedIdProfileItemRequestBuilder.cs new file mode 100644 index 00000000000..2e43d82af1b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/Item/VerifiedIdProfileItemRequestBuilder.cs @@ -0,0 +1,232 @@ +// +#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.Identity.VerifiedId.Profiles.Item +{ + /// + /// Provides operations to manage the profiles property of the microsoft.graph.identityVerifiedIdRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VerifiedIdProfileItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public VerifiedIdProfileItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/verifiedId/profiles/{verifiedIdProfile%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 VerifiedIdProfileItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/verifiedId/profiles/{verifiedIdProfile%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete a verifiedIdProfile object. + /// Find more info here + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Read the properties and relationships of verifiedIdProfile 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.VerifiedIdProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the properties of a verifiedIdProfile 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.VerifiedIdProfile body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.VerifiedIdProfile 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.VerifiedIdProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete a verifiedIdProfile object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Read the properties and relationships of verifiedIdProfile object. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the properties of a verifiedIdProfile 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.VerifiedIdProfile body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.VerifiedIdProfile 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.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder(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 VerifiedIdProfileItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Read the properties and relationships of verifiedIdProfile object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VerifiedIdProfileItemRequestBuilderGetQueryParameters + { + /// 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 VerifiedIdProfileItemRequestBuilderGetRequestConfiguration : 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 VerifiedIdProfileItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/ProfilesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/ProfilesRequestBuilder.cs new file mode 100644 index 00000000000..bb6acb3b36b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/VerifiedId/Profiles/ProfilesRequestBuilder.cs @@ -0,0 +1,240 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Identity.VerifiedId.Profiles.Count; +using Microsoft.Graph.Identity.VerifiedId.Profiles.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.Identity.VerifiedId.Profiles +{ + /// + /// Provides operations to manage the profiles property of the microsoft.graph.identityVerifiedIdRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfilesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the profiles property of the microsoft.graph.identityVerifiedIdRoot entity. + /// The unique identifier of verifiedIdProfile + /// A + public global::Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("verifiedIdProfile%2Did", position); + return new global::Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder(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 ProfilesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/verifiedId/profiles{?%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 ProfilesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/verifiedId/profiles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get a list of the verifiedIdProfile objects and their properties. + /// Find more info here + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.VerifiedIdProfileCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create a new verifiedIdProfile object. + /// Find more info here + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.VerifiedIdProfile body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.VerifiedIdProfile 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.VerifiedIdProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get a list of the verifiedIdProfile objects and their properties. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create a new verifiedIdProfile object. + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.VerifiedIdProfile body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.VerifiedIdProfile 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.Identity.VerifiedId.Profiles.ProfilesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Identity.VerifiedId.Profiles.ProfilesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get a list of the verifiedIdProfile objects and their properties. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ProfilesRequestBuilderGetQueryParameters + { + /// 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 ProfilesRequestBuilderGetRequestConfiguration : 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 ProfilesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Identity/VerifiedId/VerifiedIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/VerifiedId/VerifiedIdRequestBuilder.cs new file mode 100644 index 00000000000..185619fd320 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Identity/VerifiedId/VerifiedIdRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Identity.VerifiedId.Profiles; +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.Identity.VerifiedId +{ + /// + /// Provides operations to manage the verifiedId property of the microsoft.graph.identityContainer entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VerifiedIdRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the profiles property of the microsoft.graph.identityVerifiedIdRoot entity. + public global::Microsoft.Graph.Identity.VerifiedId.Profiles.ProfilesRequestBuilder Profiles + { + get => new global::Microsoft.Graph.Identity.VerifiedId.Profiles.ProfilesRequestBuilder(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 VerifiedIdRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/verifiedId{?%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 VerifiedIdRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identity/verifiedId{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property verifiedId for identity + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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); + } + /// + /// Entry point for verified ID operations. + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.IdentityVerifiedIdRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property verifiedId in identity + /// + /// 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.IdentityVerifiedIdRoot body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.IdentityVerifiedIdRoot 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.IdentityVerifiedIdRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property verifiedId for identity + /// + /// A + /// Configuration 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; + } + /// + /// Entry point for verified ID operations. + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_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 verifiedId in identity + /// + /// 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.IdentityVerifiedIdRoot body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.IdentityVerifiedIdRoot 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.Identity.VerifiedId.VerifiedIdRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Identity.VerifiedId.VerifiedIdRequestBuilder(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 VerifiedIdRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Entry point for verified ID operations. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class VerifiedIdRequestBuilderGetQueryParameters + { + /// 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 VerifiedIdRequestBuilderGetRequestConfiguration : 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 VerifiedIdRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs new file mode 100644 index 00000000000..0774dca2fe9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#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.Me.Authentication.Fido2Methods.CreationOptions +{ + /// + /// Provides operations to call the creationOptions method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreationOptionsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreationOptionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/fido2Methods/creationOptions()", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CreationOptionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/fido2Methods/creationOptions()", rawUrl) + { + } + /// + /// Invoke function creationOptions + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.WebauthnCredentialCreationOptions.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function creationOptions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_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.Me.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder(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 CreationOptionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs index e157fa9a5b1..1fe5d087490 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs @@ -1,6 +1,7 @@ // #pragma warning disable CS0618 using Microsoft.Graph.Me.Authentication.Fido2Methods.Count; +using Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions; using Microsoft.Graph.Me.Authentication.Fido2Methods.Item; using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; @@ -25,6 +26,11 @@ public partial class Fido2MethodsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the creationOptions method. + public global::Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder CreationOptions + { + get => new global::Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the fido2Methods property of the microsoft.graph.authentication entity. /// The unique identifier of fido2AuthenticationMethod /// A diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs index 5cb88c9f86c..74e3efc7496 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs @@ -34,8 +34,7 @@ public PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. - /// Find more info here + /// Invoke action permanentDelete /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +56,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. + /// Invoke action permanentDelete /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs index 1624a2dd97f..ac579420735 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs @@ -34,8 +34,7 @@ public PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. - /// Find more info here + /// Invoke action permanentDelete /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +56,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. + /// Invoke action permanentDelete /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs index ada03ab919a..755ce5686a3 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs @@ -34,8 +34,7 @@ public PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. - /// Find more info here + /// Invoke action permanentDelete /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +56,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. + /// Invoke action permanentDelete /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs index 46a143b45ae..71eb9e96049 100644 --- a/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Models/AiAgentInfo.cs b/src/Microsoft.Graph/Generated/Models/AiAgentInfo.cs index 9f550615154..f079ed3fc53 100644 --- a/src/Microsoft.Graph/Generated/Models/AiAgentInfo.cs +++ b/src/Microsoft.Graph/Generated/Models/AiAgentInfo.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class AiAgentInfo : global::Microsoft.Graph.Models.AiInteractionEntity, IParsable #pragma warning restore CS1591 { - /// The unique identifier of the parent agent blueprint that defines the identity and configuration of this agent instance. + /// The unique identifier of the parent agent blueprint that defines the identity and configuration of this agent instance. This identifier is provided by Microsoft Entra. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? BlueprintId diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs index 6b912b73cdf..8fec53f5cfb 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs @@ -81,6 +81,7 @@ public string DisplayName "#microsoft.graph.onPasswordSubmitListener" => new global::Microsoft.Graph.Models.OnPasswordSubmitListener(), "#microsoft.graph.onTokenIssuanceStartListener" => new global::Microsoft.Graph.Models.OnTokenIssuanceStartListener(), "#microsoft.graph.onUserCreateStartListener" => new global::Microsoft.Graph.Models.OnUserCreateStartListener(), + "#microsoft.graph.onVerifiedIdClaimValidationListener" => new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationListener(), _ => new global::Microsoft.Graph.Models.AuthenticationEventListener(), }; } diff --git a/src/Microsoft.Graph/Generated/Models/AzureADJoinPolicy.cs b/src/Microsoft.Graph/Generated/Models/AzureADJoinPolicy.cs index 4b8389218b0..4d6e6744917 100644 --- a/src/Microsoft.Graph/Generated/Models/AzureADJoinPolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/AzureADJoinPolicy.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The allowedToJoin property + /// Determines if Microsoft Entra join is allowed. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.DeviceRegistrationMembership? AllowedToJoin @@ -37,13 +37,13 @@ public IDictionary AdditionalData #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The isAdminConfigurable property + /// Determines if administrators can modify this policy. public bool? IsAdminConfigurable { get { return BackingStore?.Get("isAdminConfigurable"); } set { BackingStore?.Set("isAdminConfigurable", value); } } - /// The localAdmins property + /// Determines who becomes a local administrator on joined devices. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.LocalAdminSettings? LocalAdmins diff --git a/src/Microsoft.Graph/Generated/Models/AzureADRegistrationPolicy.cs b/src/Microsoft.Graph/Generated/Models/AzureADRegistrationPolicy.cs index d7b50571ddc..80bdeeca115 100644 --- a/src/Microsoft.Graph/Generated/Models/AzureADRegistrationPolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/AzureADRegistrationPolicy.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The allowedToRegister property + /// Determines if Microsoft Entra registered is allowed. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.DeviceRegistrationMembership? AllowedToRegister @@ -37,7 +37,7 @@ public IDictionary AdditionalData #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The isAdminConfigurable property + /// Determines if administrators can modify this policy. public bool? IsAdminConfigurable { get { return BackingStore?.Get("isAdminConfigurable"); } diff --git a/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs b/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs index 8dd1991bf28..871c0577e67 100644 --- a/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/BackupRestoreRoot.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class BackupRestoreRoot : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { + /// The browseSessions property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? BrowseSessions + { + get { return BackingStore?.Get?>("browseSessions"); } + set { BackingStore?.Set("browseSessions", value); } + } +#nullable restore +#else + public List BrowseSessions + { + get { return BackingStore?.Get>("browseSessions"); } + set { BackingStore?.Set("browseSessions", value); } + } +#endif /// The list of drive inclusion rules applied to the tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -139,6 +155,22 @@ public partial class BackupRestoreRoot : global::Microsoft.Graph.Models.Entity, get { return BackingStore?.Get>("mailboxProtectionUnitsBulkAdditionJobs"); } set { BackingStore?.Set("mailboxProtectionUnitsBulkAdditionJobs", value); } } +#endif + /// The oneDriveForBusinessBrowseSessions property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? OneDriveForBusinessBrowseSessions + { + get { return BackingStore?.Get?>("oneDriveForBusinessBrowseSessions"); } + set { BackingStore?.Set("oneDriveForBusinessBrowseSessions", value); } + } +#nullable restore +#else + public List OneDriveForBusinessBrowseSessions + { + get { return BackingStore?.Get>("oneDriveForBusinessBrowseSessions"); } + set { BackingStore?.Set("oneDriveForBusinessBrowseSessions", value); } + } #endif /// The list of OneDrive for Business protection policies in the tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -267,6 +299,22 @@ public partial class BackupRestoreRoot : global::Microsoft.Graph.Models.Entity, get { return BackingStore?.Get("serviceStatus"); } set { BackingStore?.Set("serviceStatus", value); } } +#endif + /// The sharePointBrowseSessions property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SharePointBrowseSessions + { + get { return BackingStore?.Get?>("sharePointBrowseSessions"); } + set { BackingStore?.Set("sharePointBrowseSessions", value); } + } +#nullable restore +#else + public List SharePointBrowseSessions + { + get { return BackingStore?.Get>("sharePointBrowseSessions"); } + set { BackingStore?.Set("sharePointBrowseSessions", value); } + } #endif /// The list of SharePoint protection policies in the tenant. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -366,6 +414,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "browseSessions", n => { BrowseSessions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.BrowseSessionBase.CreateFromDiscriminatorValue)?.AsList(); } }, { "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(); } }, @@ -374,6 +423,7 @@ public override IDictionary> GetFieldDeserializers() { "mailboxInclusionRules", n => { MailboxInclusionRules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailboxProtectionRule.CreateFromDiscriminatorValue)?.AsList(); } }, { "mailboxProtectionUnits", n => { MailboxProtectionUnits = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailboxProtectionUnit.CreateFromDiscriminatorValue)?.AsList(); } }, { "mailboxProtectionUnitsBulkAdditionJobs", n => { MailboxProtectionUnitsBulkAdditionJobs = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.MailboxProtectionUnitsBulkAdditionJob.CreateFromDiscriminatorValue)?.AsList(); } }, + { "oneDriveForBusinessBrowseSessions", n => { OneDriveForBusinessBrowseSessions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession.CreateFromDiscriminatorValue)?.AsList(); } }, { "oneDriveForBusinessProtectionPolicies", n => { OneDriveForBusinessProtectionPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.OneDriveForBusinessProtectionPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "oneDriveForBusinessRestoreSessions", n => { OneDriveForBusinessRestoreSessions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.OneDriveForBusinessRestoreSession.CreateFromDiscriminatorValue)?.AsList(); } }, { "protectionPolicies", n => { ProtectionPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ProtectionPolicyBase.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -382,6 +432,7 @@ public override IDictionary> GetFieldDeserializers() { "restoreSessions", n => { RestoreSessions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.RestoreSessionBase.CreateFromDiscriminatorValue)?.AsList(); } }, { "serviceApps", n => { ServiceApps = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ServiceApp.CreateFromDiscriminatorValue)?.AsList(); } }, { "serviceStatus", n => { ServiceStatus = n.GetObjectValue(global::Microsoft.Graph.Models.ServiceStatus.CreateFromDiscriminatorValue); } }, + { "sharePointBrowseSessions", n => { SharePointBrowseSessions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SharePointBrowseSession.CreateFromDiscriminatorValue)?.AsList(); } }, { "sharePointProtectionPolicies", n => { SharePointProtectionPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SharePointProtectionPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "sharePointRestoreSessions", n => { SharePointRestoreSessions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SharePointRestoreSession.CreateFromDiscriminatorValue)?.AsList(); } }, { "siteInclusionRules", n => { SiteInclusionRules = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SiteProtectionRule.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -397,6 +448,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteCollectionOfObjectValues("browseSessions", BrowseSessions); writer.WriteCollectionOfObjectValues("driveInclusionRules", DriveInclusionRules); writer.WriteCollectionOfObjectValues("driveProtectionUnits", DriveProtectionUnits); writer.WriteCollectionOfObjectValues("driveProtectionUnitsBulkAdditionJobs", DriveProtectionUnitsBulkAdditionJobs); @@ -405,6 +457,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("mailboxInclusionRules", MailboxInclusionRules); writer.WriteCollectionOfObjectValues("mailboxProtectionUnits", MailboxProtectionUnits); writer.WriteCollectionOfObjectValues("mailboxProtectionUnitsBulkAdditionJobs", MailboxProtectionUnitsBulkAdditionJobs); + writer.WriteCollectionOfObjectValues("oneDriveForBusinessBrowseSessions", OneDriveForBusinessBrowseSessions); writer.WriteCollectionOfObjectValues("oneDriveForBusinessProtectionPolicies", OneDriveForBusinessProtectionPolicies); writer.WriteCollectionOfObjectValues("oneDriveForBusinessRestoreSessions", OneDriveForBusinessRestoreSessions); writer.WriteCollectionOfObjectValues("protectionPolicies", ProtectionPolicies); @@ -413,6 +466,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("restoreSessions", RestoreSessions); writer.WriteCollectionOfObjectValues("serviceApps", ServiceApps); writer.WriteObjectValue("serviceStatus", ServiceStatus); + writer.WriteCollectionOfObjectValues("sharePointBrowseSessions", SharePointBrowseSessions); writer.WriteCollectionOfObjectValues("sharePointProtectionPolicies", SharePointProtectionPolicies); writer.WriteCollectionOfObjectValues("sharePointRestoreSessions", SharePointRestoreSessions); writer.WriteCollectionOfObjectValues("siteInclusionRules", SiteInclusionRules); diff --git a/src/Microsoft.Graph/Generated/Models/BrowsableResourceType.cs b/src/Microsoft.Graph/Generated/Models/BrowsableResourceType.cs new file mode 100644 index 00000000000..95cc20f9cec --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BrowsableResourceType.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 BrowsableResourceType + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "site")] + #pragma warning disable CS1591 + Site, + #pragma warning restore CS1591 + [EnumMember(Value = "documentLibrary")] + #pragma warning disable CS1591 + DocumentLibrary, + #pragma warning restore CS1591 + [EnumMember(Value = "folder")] + #pragma warning disable CS1591 + Folder, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/BrowseQueryOrder.cs b/src/Microsoft.Graph/Generated/Models/BrowseQueryOrder.cs new file mode 100644 index 00000000000..bed2ebb8133 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BrowseQueryOrder.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 BrowseQueryOrder + #pragma warning restore CS1591 + { + [EnumMember(Value = "pathAsc")] + #pragma warning disable CS1591 + PathAsc, + #pragma warning restore CS1591 + [EnumMember(Value = "pathDsc")] + #pragma warning disable CS1591 + PathDsc, + #pragma warning restore CS1591 + [EnumMember(Value = "nameAsc")] + #pragma warning disable CS1591 + NameAsc, + #pragma warning restore CS1591 + [EnumMember(Value = "nameDsc")] + #pragma warning disable CS1591 + NameDsc, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItem.cs b/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItem.cs new file mode 100644 index 00000000000..867d0ba09f4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItem.cs @@ -0,0 +1,169 @@ +// +#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 BrowseQueryResponseItem : 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 itemKey property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ItemKey + { + get { return BackingStore?.Get("itemKey"); } + set { BackingStore?.Set("itemKey", value); } + } +#nullable restore +#else + public string ItemKey + { + get { return BackingStore?.Get("itemKey"); } + set { BackingStore?.Set("itemKey", value); } + } +#endif + /// The itemsCount property + public int? ItemsCount + { + get { return BackingStore?.Get("itemsCount"); } + set { BackingStore?.Set("itemsCount", value); } + } + /// The name property +#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 sizeInBytes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SizeInBytes + { + get { return BackingStore?.Get("sizeInBytes"); } + set { BackingStore?.Set("sizeInBytes", value); } + } +#nullable restore +#else + public string SizeInBytes + { + get { return BackingStore?.Get("sizeInBytes"); } + set { BackingStore?.Set("sizeInBytes", value); } + } +#endif + /// The type property + public global::Microsoft.Graph.Models.BrowseQueryResponseItemType? Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } + /// The webUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? WebUrl + { + get { return BackingStore?.Get("webUrl"); } + set { BackingStore?.Set("webUrl", value); } + } +#nullable restore +#else + public string WebUrl + { + get { return BackingStore?.Get("webUrl"); } + set { BackingStore?.Set("webUrl", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public BrowseQueryResponseItem() + { + 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.BrowseQueryResponseItem CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.BrowseQueryResponseItem(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "itemKey", n => { ItemKey = n.GetStringValue(); } }, + { "itemsCount", n => { ItemsCount = n.GetIntValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sizeInBytes", n => { SizeInBytes = n.GetStringValue(); } }, + { "type", n => { Type = n.GetEnumValue(); } }, + { "webUrl", n => { WebUrl = 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("itemKey", ItemKey); + writer.WriteIntValue("itemsCount", ItemsCount); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("sizeInBytes", SizeInBytes); + writer.WriteEnumValue("type", Type); + writer.WriteStringValue("webUrl", WebUrl); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItemType.cs b/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItemType.cs new file mode 100644 index 00000000000..a9d315ce0a0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BrowseQueryResponseItemType.cs @@ -0,0 +1,36 @@ +// +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 BrowseQueryResponseItemType + #pragma warning restore CS1591 + { + [EnumMember(Value = "none")] + #pragma warning disable CS1591 + None, + #pragma warning restore CS1591 + [EnumMember(Value = "site")] + #pragma warning disable CS1591 + Site, + #pragma warning restore CS1591 + [EnumMember(Value = "documentLibrary")] + #pragma warning disable CS1591 + DocumentLibrary, + #pragma warning restore CS1591 + [EnumMember(Value = "folder")] + #pragma warning disable CS1591 + Folder, + #pragma warning restore CS1591 + [EnumMember(Value = "file")] + #pragma warning disable CS1591 + File, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/BrowseSessionBase.cs b/src/Microsoft.Graph/Generated/Models/BrowseSessionBase.cs new file mode 100644 index 00000000000..04786d0d229 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BrowseSessionBase.cs @@ -0,0 +1,138 @@ +// +#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 BrowseSessionBase : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The backupSizeInBytes property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BackupSizeInBytes + { + get { return BackingStore?.Get("backupSizeInBytes"); } + set { BackingStore?.Set("backupSizeInBytes", value); } + } +#nullable restore +#else + public string BackupSizeInBytes + { + get { return BackingStore?.Get("backupSizeInBytes"); } + set { BackingStore?.Set("backupSizeInBytes", value); } + } +#endif + /// The createdDateTime property + public DateTimeOffset? CreatedDateTime + { + get { return BackingStore?.Get("createdDateTime"); } + set { BackingStore?.Set("createdDateTime", value); } + } + /// The error property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.PublicError? Error + { + get { return BackingStore?.Get("error"); } + set { BackingStore?.Set("error", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.PublicError Error + { + get { return BackingStore?.Get("error"); } + set { BackingStore?.Set("error", value); } + } +#endif + /// The expirationDateTime property + public DateTimeOffset? ExpirationDateTime + { + get { return BackingStore?.Get("expirationDateTime"); } + set { BackingStore?.Set("expirationDateTime", value); } + } + /// The restorePointDateTime property + public DateTimeOffset? RestorePointDateTime + { + get { return BackingStore?.Get("restorePointDateTime"); } + set { BackingStore?.Set("restorePointDateTime", value); } + } + /// The restorePointId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RestorePointId + { + get { return BackingStore?.Get("restorePointId"); } + set { BackingStore?.Set("restorePointId", value); } + } +#nullable restore +#else + public string RestorePointId + { + get { return BackingStore?.Get("restorePointId"); } + set { BackingStore?.Set("restorePointId", value); } + } +#endif + /// The status property + public global::Microsoft.Graph.Models.BrowseSessionStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.BrowseSessionBase CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.oneDriveForBusinessBrowseSession" => new global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession(), + "#microsoft.graph.sharePointBrowseSession" => new global::Microsoft.Graph.Models.SharePointBrowseSession(), + _ => new global::Microsoft.Graph.Models.BrowseSessionBase(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "backupSizeInBytes", n => { BackupSizeInBytes = n.GetStringValue(); } }, + { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "error", n => { Error = n.GetObjectValue(global::Microsoft.Graph.Models.PublicError.CreateFromDiscriminatorValue); } }, + { "expirationDateTime", n => { ExpirationDateTime = n.GetDateTimeOffsetValue(); } }, + { "restorePointDateTime", n => { RestorePointDateTime = n.GetDateTimeOffsetValue(); } }, + { "restorePointId", n => { RestorePointId = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("backupSizeInBytes", BackupSizeInBytes); + writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteObjectValue("error", Error); + writer.WriteDateTimeOffsetValue("expirationDateTime", ExpirationDateTime); + writer.WriteDateTimeOffsetValue("restorePointDateTime", RestorePointDateTime); + writer.WriteStringValue("restorePointId", RestorePointId); + writer.WriteEnumValue("status", Status); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/BrowseSessionBaseCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/BrowseSessionBaseCollectionResponse.cs new file mode 100644 index 00000000000..70a82c66032 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BrowseSessionBaseCollectionResponse.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 BrowseSessionBaseCollectionResponse : 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.BrowseSessionBaseCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.BrowseSessionBaseCollectionResponse(); + } + /// + /// 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.BrowseSessionBase.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/BrowseSessionStatus.cs b/src/Microsoft.Graph/Generated/Models/BrowseSessionStatus.cs new file mode 100644 index 00000000000..c26f93582cb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/BrowseSessionStatus.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 BrowseSessionStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "creating")] + #pragma warning disable CS1591 + Creating, + #pragma warning restore CS1591 + [EnumMember(Value = "created")] + #pragma warning disable CS1591 + Created, + #pragma warning restore CS1591 + [EnumMember(Value = "failed")] + #pragma warning disable CS1591 + Failed, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ClaimBinding.cs b/src/Microsoft.Graph/Generated/Models/ClaimBinding.cs new file mode 100644 index 00000000000..3ed9a747369 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ClaimBinding.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ClaimBinding : 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 matchConfidenceLevel property + public global::Microsoft.Graph.Models.MatchConfidenceLevel? MatchConfidenceLevel + { + get { return BackingStore?.Get("matchConfidenceLevel"); } + set { BackingStore?.Set("matchConfidenceLevel", 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 + /// Source attribute name from the source system, for example a directory attribute. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SourceAttribute + { + get { return BackingStore?.Get("sourceAttribute"); } + set { BackingStore?.Set("sourceAttribute", value); } + } +#nullable restore +#else + public string SourceAttribute + { + get { return BackingStore?.Get("sourceAttribute"); } + set { BackingStore?.Set("sourceAttribute", value); } + } +#endif + /// Verified ID claim name or path, for example vc.credentialSubject.firstName. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? VerifiedIdClaim + { + get { return BackingStore?.Get("verifiedIdClaim"); } + set { BackingStore?.Set("verifiedIdClaim", value); } + } +#nullable restore +#else + public string VerifiedIdClaim + { + get { return BackingStore?.Get("verifiedIdClaim"); } + set { BackingStore?.Set("verifiedIdClaim", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClaimBinding() + { + 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.ClaimBinding CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ClaimBinding(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "matchConfidenceLevel", n => { MatchConfidenceLevel = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sourceAttribute", n => { SourceAttribute = n.GetStringValue(); } }, + { "verifiedIdClaim", n => { VerifiedIdClaim = 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("matchConfidenceLevel", MatchConfidenceLevel); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("sourceAttribute", SourceAttribute); + writer.WriteStringValue("verifiedIdClaim", VerifiedIdClaim); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/ClaimBindingSource.cs b/src/Microsoft.Graph/Generated/Models/ClaimBindingSource.cs new file mode 100644 index 00000000000..c26992c86c2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ClaimBindingSource.cs @@ -0,0 +1,20 @@ +// +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 ClaimBindingSource + #pragma warning restore CS1591 + { + [EnumMember(Value = "directory")] + #pragma warning disable CS1591 + Directory, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ClaimValidation.cs b/src/Microsoft.Graph/Generated/Models/ClaimValidation.cs new file mode 100644 index 00000000000..953e00ffa4a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/ClaimValidation.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 ClaimValidation : 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 a custom extension for claim validation. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? CustomExtensionId + { + get { return BackingStore?.Get("customExtensionId"); } + set { BackingStore?.Set("customExtensionId", value); } + } +#nullable restore +#else + public string CustomExtensionId + { + get { return BackingStore?.Get("customExtensionId"); } + set { BackingStore?.Set("customExtensionId", value); } + } +#endif + /// Indicates whether claim validation is enabled. + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ClaimValidation() + { + 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.ClaimValidation CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.ClaimValidation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "customExtensionId", n => { CustomExtensionId = n.GetStringValue(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("customExtensionId", CustomExtensionId); + writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnection.cs b/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnection.cs index 23368cf692e..0469cfbd42c 100644 --- a/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnection.cs +++ b/src/Microsoft.Graph/Generated/Models/CloudPcOnPremisesConnection.cs @@ -98,7 +98,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The healthCheckPaused property + /// Indicates whether regular health checks on the network or domain configuration are paused or active. false if the regular health checks on the network or domain configuration are currently active. true if the checks are paused. If you perform a create or update operation on a onPremisesNetworkConnection resource, this value is set to false for four weeks. If you retry a health check on network or domain configuration, this value is set to false for two weeks. If the onPremisesNetworkConnection resource is attached in a provisioningPolicy or used by a Cloud PC in the past four weeks, healthCheckPaused is set to false. Read-only. Default is false. public bool? HealthCheckPaused { get { return BackingStore?.Get("healthCheckPaused"); } @@ -126,13 +126,13 @@ public bool? HealthCheckPaused set { BackingStore?.Set("healthCheckStatusDetail", value); } } #endif - /// When true, the Azure network connection is in use. When false, the connection isn't in use. You can't delete a connection that’s in use. Requires $select to retrieve. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetail. Read-only. + /// When true, the Azure network connection is in use. When false, the connection isn't in use. You can't delete a connection that’s in use. Returned only on $select. For an example that shows how to get the inUse property, see Example 2: Get the selected properties of an Azure network connection, including healthCheckStatusDetail. Read-only. public bool? InUse { get { return BackingStore?.Get("inUse"); } set { BackingStore?.Set("inUse", value); } } - /// The inUseByCloudPc property + /// Indicates whether a Cloud PC is using this on-premises network connection. true if at least one Cloud PC is using it. Otherwise, false. Read-only. Default is false. public bool? InUseByCloudPc { get { return BackingStore?.Get("inUseByCloudPc"); } @@ -170,7 +170,7 @@ public string ResourceGroupId set { BackingStore?.Set("resourceGroupId", value); } } #endif - /// The scopeIds property + /// The scope IDs of the corresponding permission. Currently, it's the Intune scope tag ID. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ScopeIds diff --git a/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControl.cs b/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControl.cs index 762b291cfe6..d56b4819534 100644 --- a/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControl.cs +++ b/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControl.cs @@ -40,5 +40,9 @@ public enum ConditionalAccessGrantControl #pragma warning disable CS1591 UnknownFutureValue, #pragma warning restore CS1591 + [EnumMember(Value = "riskRemediation")] + #pragma warning disable CS1591 + RiskRemediation, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControls.cs b/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControls.cs index a47939652af..f2642291ad3 100644 --- a/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControls.cs +++ b/src/Microsoft.Graph/Generated/Models/ConditionalAccessGrantControls.cs @@ -37,7 +37,7 @@ public IDictionary AdditionalData #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue. + /// List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue, riskRemediation. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: riskRemediation. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? BuiltInControls diff --git a/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs b/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs index 8d8d022ea48..ce33ed34e51 100644 --- a/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs +++ b/src/Microsoft.Graph/Generated/Models/CustomAuthenticationExtension.cs @@ -51,6 +51,7 @@ public CustomAuthenticationExtension() : base() "#microsoft.graph.onOtpSendCustomExtension" => new global::Microsoft.Graph.Models.OnOtpSendCustomExtension(), "#microsoft.graph.onPasswordSubmitCustomExtension" => new global::Microsoft.Graph.Models.OnPasswordSubmitCustomExtension(), "#microsoft.graph.onTokenIssuanceStartCustomExtension" => new global::Microsoft.Graph.Models.OnTokenIssuanceStartCustomExtension(), + "#microsoft.graph.onVerifiedIdClaimValidationCustomExtension" => new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension(), _ => new global::Microsoft.Graph.Models.CustomAuthenticationExtension(), }; } diff --git a/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs b/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs index 8c54aa72dec..d2a4a9e57f7 100644 --- a/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs +++ b/src/Microsoft.Graph/Generated/Models/CustomCalloutExtension.cs @@ -113,6 +113,7 @@ public string DisplayName "#microsoft.graph.onOtpSendCustomExtension" => new global::Microsoft.Graph.Models.OnOtpSendCustomExtension(), "#microsoft.graph.onPasswordSubmitCustomExtension" => new global::Microsoft.Graph.Models.OnPasswordSubmitCustomExtension(), "#microsoft.graph.onTokenIssuanceStartCustomExtension" => new global::Microsoft.Graph.Models.OnTokenIssuanceStartCustomExtension(), + "#microsoft.graph.onVerifiedIdClaimValidationCustomExtension" => new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension(), _ => new global::Microsoft.Graph.Models.CustomCalloutExtension(), }; } diff --git a/src/Microsoft.Graph/Generated/Models/DeviceRegistrationPolicy.cs b/src/Microsoft.Graph/Generated/Models/DeviceRegistrationPolicy.cs index e205727f84c..ea1841203d2 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceRegistrationPolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceRegistrationPolicy.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class DeviceRegistrationPolicy : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The azureADJoin property + /// Specifies the authorization policy for controlling registration of new devices using Microsoft Entra join within your organization. Required. For more information, see What is a device identity?. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.AzureADJoinPolicy? AzureADJoin @@ -28,7 +28,7 @@ public partial class DeviceRegistrationPolicy : global::Microsoft.Graph.Models.E set { BackingStore?.Set("azureADJoin", value); } } #endif - /// The azureADRegistration property + /// Specifies the authorization policy for controlling registration of new devices using Microsoft Entra registered within your organization. Required. For more information, see What is a device identity?. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.AzureADRegistrationPolicy? AzureADRegistration @@ -44,7 +44,7 @@ public partial class DeviceRegistrationPolicy : global::Microsoft.Graph.Models.E set { BackingStore?.Set("azureADRegistration", value); } } #endif - /// The description property + /// The description of the device registration policy. Always set to Tenant-wide policy that manages intial provisioning controls using quota restrictions, additional authentication and authorization checks. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description @@ -60,7 +60,7 @@ public string Description set { BackingStore?.Set("description", value); } } #endif - /// The displayName property + /// The name of the device registration policy. Always set to Device Registration Policy. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -76,7 +76,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The localAdminPassword property + /// Specifies the setting for Local Admin Password Solution (LAPS) within your organization. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.LocalAdminPasswordSettings? LocalAdminPassword @@ -98,7 +98,7 @@ public string DisplayName get { return BackingStore?.Get("multiFactorAuthConfiguration"); } set { BackingStore?.Set("multiFactorAuthConfiguration", value); } } - /// The userDeviceQuota property + /// Specifies the maximum number of devices that a user can have within your organization before blocking new device registrations. The default value is set to 50. If this property isn't specified during the policy update operation, it's automatically reset to 0 to indicate that users aren't allowed to join any devices. public int? UserDeviceQuota { get { return BackingStore?.Get("userDeviceQuota"); } diff --git a/src/Microsoft.Graph/Generated/Models/EmailDetails.cs b/src/Microsoft.Graph/Generated/Models/EmailDetails.cs new file mode 100644 index 00000000000..4f645ec7967 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/EmailDetails.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 +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class EmailDetails : 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 body property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Body + { + get { return BackingStore?.Get("body"); } + set { BackingStore?.Set("body", value); } + } +#nullable restore +#else + public string Body + { + get { return BackingStore?.Get("body"); } + set { BackingStore?.Set("body", 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 senderEmailAddress property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SenderEmailAddress + { + get { return BackingStore?.Get("senderEmailAddress"); } + set { BackingStore?.Set("senderEmailAddress", value); } + } +#nullable restore +#else + public string SenderEmailAddress + { + get { return BackingStore?.Get("senderEmailAddress"); } + set { BackingStore?.Set("senderEmailAddress", value); } + } +#endif + /// The subject property +#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 + /// + /// Instantiates a new and sets the default values. + /// + public EmailDetails() + { + 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.EmailDetails CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.EmailDetails(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "body", n => { Body = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "senderEmailAddress", n => { SenderEmailAddress = n.GetStringValue(); } }, + { "subject", n => { Subject = 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("body", Body); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("senderEmailAddress", SenderEmailAddress); + writer.WriteStringValue("subject", Subject); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index 2cb1fb14e14..4a8c6f8ddc1 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -209,6 +209,7 @@ public Entity() "#microsoft.graph.browserSharedCookie" => new global::Microsoft.Graph.Models.BrowserSharedCookie(), "#microsoft.graph.browserSite" => new global::Microsoft.Graph.Models.BrowserSite(), "#microsoft.graph.browserSiteList" => new global::Microsoft.Graph.Models.BrowserSiteList(), + "#microsoft.graph.browseSessionBase" => new global::Microsoft.Graph.Models.BrowseSessionBase(), "#microsoft.graph.building" => new global::Microsoft.Graph.Models.Building(), "#microsoft.graph.buildingMap" => new global::Microsoft.Graph.Models.BuildingMap(), "#microsoft.graph.builtInIdentityProvider" => new global::Microsoft.Graph.Models.BuiltInIdentityProvider(), @@ -457,7 +458,10 @@ public Entity() "#microsoft.graph.footprintMap" => new global::Microsoft.Graph.Models.FootprintMap(), "#microsoft.graph.fraudProtectionProvider" => new global::Microsoft.Graph.Models.FraudProtectionProvider(), "#microsoft.graph.governanceInsight" => new global::Microsoft.Graph.Models.GovernanceInsight(), + "#microsoft.graph.granularDriveRestoreArtifact" => new global::Microsoft.Graph.Models.GranularDriveRestoreArtifact(), "#microsoft.graph.granularMailboxRestoreArtifact" => new global::Microsoft.Graph.Models.GranularMailboxRestoreArtifact(), + "#microsoft.graph.granularRestoreArtifactBase" => new global::Microsoft.Graph.Models.GranularRestoreArtifactBase(), + "#microsoft.graph.granularSiteRestoreArtifact" => new global::Microsoft.Graph.Models.GranularSiteRestoreArtifact(), "#microsoft.graph.group" => new global::Microsoft.Graph.Models.Group(), "#microsoft.graph.groupLifecyclePolicy" => new global::Microsoft.Graph.Models.GroupLifecyclePolicy(), "#microsoft.graph.groupSetting" => new global::Microsoft.Graph.Models.GroupSetting(), @@ -487,6 +491,7 @@ public Entity() "#microsoft.graph.identityUserFlow" => new global::Microsoft.Graph.Models.IdentityUserFlow(), "#microsoft.graph.identityUserFlowAttribute" => new global::Microsoft.Graph.Models.IdentityUserFlowAttribute(), "#microsoft.graph.identityUserFlowAttributeAssignment" => new global::Microsoft.Graph.Models.IdentityUserFlowAttributeAssignment(), + "#microsoft.graph.identityVerifiedIdRoot" => new global::Microsoft.Graph.Models.IdentityVerifiedIdRoot(), "#microsoft.graph.importedWindowsAutopilotDeviceIdentity" => new global::Microsoft.Graph.Models.ImportedWindowsAutopilotDeviceIdentity(), "#microsoft.graph.importedWindowsAutopilotDeviceIdentityUpload" => new global::Microsoft.Graph.Models.ImportedWindowsAutopilotDeviceIdentityUpload(), "#microsoft.graph.inferenceClassification" => new global::Microsoft.Graph.Models.InferenceClassification(), @@ -623,6 +628,7 @@ public Entity() "#microsoft.graph.onAttributeCollectionSubmitCustomExtension" => new global::Microsoft.Graph.Models.OnAttributeCollectionSubmitCustomExtension(), "#microsoft.graph.onAttributeCollectionSubmitListener" => new global::Microsoft.Graph.Models.OnAttributeCollectionSubmitListener(), "#microsoft.graph.onAuthenticationMethodLoadStartListener" => new global::Microsoft.Graph.Models.OnAuthenticationMethodLoadStartListener(), + "#microsoft.graph.oneDriveForBusinessBrowseSession" => new global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession(), "#microsoft.graph.oneDriveForBusinessProtectionPolicy" => new global::Microsoft.Graph.Models.OneDriveForBusinessProtectionPolicy(), "#microsoft.graph.oneDriveForBusinessRestoreSession" => new global::Microsoft.Graph.Models.OneDriveForBusinessRestoreSession(), "#microsoft.graph.onEmailOtpSendListener" => new global::Microsoft.Graph.Models.OnEmailOtpSendListener(), @@ -648,6 +654,8 @@ public Entity() "#microsoft.graph.onTokenIssuanceStartCustomExtension" => new global::Microsoft.Graph.Models.OnTokenIssuanceStartCustomExtension(), "#microsoft.graph.onTokenIssuanceStartListener" => new global::Microsoft.Graph.Models.OnTokenIssuanceStartListener(), "#microsoft.graph.onUserCreateStartListener" => new global::Microsoft.Graph.Models.OnUserCreateStartListener(), + "#microsoft.graph.onVerifiedIdClaimValidationCustomExtension" => new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension(), + "#microsoft.graph.onVerifiedIdClaimValidationListener" => new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationListener(), "#microsoft.graph.openShift" => new global::Microsoft.Graph.Models.OpenShift(), "#microsoft.graph.openShiftChangeRequest" => new global::Microsoft.Graph.Models.OpenShiftChangeRequest(), "#microsoft.graph.openTypeExtension" => new global::Microsoft.Graph.Models.OpenTypeExtension(), @@ -660,6 +668,7 @@ public Entity() "#microsoft.graph.outlookCategory" => new global::Microsoft.Graph.Models.OutlookCategory(), "#microsoft.graph.outlookItem" => new global::Microsoft.Graph.Models.OutlookItem(), "#microsoft.graph.outlookUser" => new global::Microsoft.Graph.Models.OutlookUser(), + "#microsoft.graph.ownerlessGroupPolicy" => new global::Microsoft.Graph.Models.OwnerlessGroupPolicy(), "#microsoft.graph.participant" => new global::Microsoft.Graph.Models.Participant(), "#microsoft.graph.participantJoiningNotification" => new global::Microsoft.Graph.Models.ParticipantJoiningNotification(), "#microsoft.graph.participantLeftNotification" => new global::Microsoft.Graph.Models.ParticipantLeftNotification(), @@ -898,6 +907,7 @@ public Entity() "#microsoft.graph.sharedPCConfiguration" => new global::Microsoft.Graph.Models.SharedPCConfiguration(), "#microsoft.graph.sharedWithChannelTeamInfo" => new global::Microsoft.Graph.Models.SharedWithChannelTeamInfo(), "#microsoft.graph.sharepoint" => new global::Microsoft.Graph.Models.Sharepoint(), + "#microsoft.graph.sharePointBrowseSession" => new global::Microsoft.Graph.Models.SharePointBrowseSession(), "#microsoft.graph.sharePointGroup" => new global::Microsoft.Graph.Models.SharePointGroup(), "#microsoft.graph.sharePointGroupMember" => new global::Microsoft.Graph.Models.SharePointGroupMember(), "#microsoft.graph.sharePointMigrationEvent" => new global::Microsoft.Graph.Models.SharePointMigrationEvent(), @@ -1075,6 +1085,7 @@ public Entity() "#microsoft.graph.userSolutionRoot" => new global::Microsoft.Graph.Models.UserSolutionRoot(), "#microsoft.graph.userStorage" => new global::Microsoft.Graph.Models.UserStorage(), "#microsoft.graph.userTeamwork" => new global::Microsoft.Graph.Models.UserTeamwork(), + "#microsoft.graph.verifiedIdProfile" => new global::Microsoft.Graph.Models.VerifiedIdProfile(), "#microsoft.graph.verticalSection" => new global::Microsoft.Graph.Models.VerticalSection(), "#microsoft.graph.virtualEndpoint" => new global::Microsoft.Graph.Models.VirtualEndpoint(), "#microsoft.graph.virtualEvent" => new global::Microsoft.Graph.Models.VirtualEvent(), diff --git a/src/Microsoft.Graph/Generated/Models/EnumeratedDeviceRegistrationMembership.cs b/src/Microsoft.Graph/Generated/Models/EnumeratedDeviceRegistrationMembership.cs index dd4995ec7e2..7b1c3713f4b 100644 --- a/src/Microsoft.Graph/Generated/Models/EnumeratedDeviceRegistrationMembership.cs +++ b/src/Microsoft.Graph/Generated/Models/EnumeratedDeviceRegistrationMembership.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class EnumeratedDeviceRegistrationMembership : global::Microsoft.Graph.Models.DeviceRegistrationMembership, IParsable #pragma warning restore CS1591 { - /// The groups property + /// List of groups that this policy applies to. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Groups @@ -28,7 +28,7 @@ public List Groups set { BackingStore?.Set("groups", value); } } #endif - /// The users property + /// List of users that this policy applies to. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Users diff --git a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs index 19d6dbf6623..10c1f558418 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Label.cs @@ -204,5 +204,25 @@ public enum Label #pragma warning disable CS1591 PersonEmergencyContacts, #pragma warning restore CS1591 + [EnumMember(Value = "personEducationalActivities")] + #pragma warning disable CS1591 + PersonEducationalActivities, + #pragma warning restore CS1591 + [EnumMember(Value = "personInterests")] + #pragma warning disable CS1591 + PersonInterests, + #pragma warning restore CS1591 + [EnumMember(Value = "personLanguages")] + #pragma warning disable CS1591 + PersonLanguages, + #pragma warning restore CS1591 + [EnumMember(Value = "personPublications")] + #pragma warning disable CS1591 + PersonPublications, + #pragma warning restore CS1591 + [EnumMember(Value = "personPatents")] + #pragma warning disable CS1591 + PersonPatents, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/FaceCheckConfiguration.cs b/src/Microsoft.Graph/Generated/Models/FaceCheckConfiguration.cs new file mode 100644 index 00000000000..d1e19be723a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/FaceCheckConfiguration.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 FaceCheckConfiguration : 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; } + /// Defines if Face Check is required. Currently must always be true. + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// Source of photo to validate Face Check against. Currently must always be portrait. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SourcePhotoClaimName + { + get { return BackingStore?.Get("sourcePhotoClaimName"); } + set { BackingStore?.Set("sourcePhotoClaimName", value); } + } +#nullable restore +#else + public string SourcePhotoClaimName + { + get { return BackingStore?.Get("sourcePhotoClaimName"); } + set { BackingStore?.Set("sourcePhotoClaimName", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public FaceCheckConfiguration() + { + 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.FaceCheckConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.FaceCheckConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "sourcePhotoClaimName", n => { SourcePhotoClaimName = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("sourcePhotoClaimName", SourcePhotoClaimName); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethod.cs b/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethod.cs index 4b0f1656333..9684a59d3f6 100644 --- a/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethod.cs +++ b/src/Microsoft.Graph/Generated/Models/Fido2AuthenticationMethod.cs @@ -88,6 +88,22 @@ public string Model get { return BackingStore?.Get("passkeyType"); } set { BackingStore?.Set("passkeyType", value); } } + /// The publicKeyCredential property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebauthnPublicKeyCredential? PublicKeyCredential + { + get { return BackingStore?.Get("publicKeyCredential"); } + set { BackingStore?.Set("publicKeyCredential", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebauthnPublicKeyCredential PublicKeyCredential + { + get { return BackingStore?.Get("publicKeyCredential"); } + set { BackingStore?.Set("publicKeyCredential", value); } + } +#endif /// /// Instantiates a new and sets the default values. /// @@ -119,6 +135,7 @@ public override IDictionary> GetFieldDeserializers() { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "model", n => { Model = n.GetStringValue(); } }, { "passkeyType", n => { PasskeyType = n.GetEnumValue(); } }, + { "publicKeyCredential", n => { PublicKeyCredential = n.GetObjectValue(global::Microsoft.Graph.Models.WebauthnPublicKeyCredential.CreateFromDiscriminatorValue); } }, }; } /// @@ -135,6 +152,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("model", Model); writer.WriteEnumValue("passkeyType", PasskeyType); + writer.WriteObjectValue("publicKeyCredential", PublicKeyCredential); } } } diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs index 82e9f2bb905..5a719f30913 100644 --- a/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainer.cs @@ -190,7 +190,7 @@ public string DisplayName set { BackingStore?.Set("settings", value); } } #endif - /// The sharePointGroups property + /// The collection of sharePointGroup objects local to the container. Read-write. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? SharePointGroups diff --git a/src/Microsoft.Graph/Generated/Models/GranularDriveRestoreArtifact.cs b/src/Microsoft.Graph/Generated/Models/GranularDriveRestoreArtifact.cs new file mode 100644 index 00000000000..7017e1acd8f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/GranularDriveRestoreArtifact.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 GranularDriveRestoreArtifact : global::Microsoft.Graph.Models.GranularRestoreArtifactBase, IParsable + #pragma warning restore CS1591 + { + /// The directoryObjectId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DirectoryObjectId + { + get { return BackingStore?.Get("directoryObjectId"); } + set { BackingStore?.Set("directoryObjectId", value); } + } +#nullable restore +#else + public string DirectoryObjectId + { + get { return BackingStore?.Get("directoryObjectId"); } + set { BackingStore?.Set("directoryObjectId", 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.GranularDriveRestoreArtifact CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.GranularDriveRestoreArtifact(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "directoryObjectId", n => { DirectoryObjectId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("directoryObjectId", DirectoryObjectId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/GranularDriveRestoreArtifactCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/GranularDriveRestoreArtifactCollectionResponse.cs new file mode 100644 index 00000000000..429ad23a5d8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/GranularDriveRestoreArtifactCollectionResponse.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 GranularDriveRestoreArtifactCollectionResponse : 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.GranularDriveRestoreArtifactCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.GranularDriveRestoreArtifactCollectionResponse(); + } + /// + /// 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.GranularDriveRestoreArtifact.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/GranularRestoreArtifactBase.cs b/src/Microsoft.Graph/Generated/Models/GranularRestoreArtifactBase.cs new file mode 100644 index 00000000000..d1ff912d458 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/GranularRestoreArtifactBase.cs @@ -0,0 +1,174 @@ +// +#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 GranularRestoreArtifactBase : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The browseSessionId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BrowseSessionId + { + get { return BackingStore?.Get("browseSessionId"); } + set { BackingStore?.Set("browseSessionId", value); } + } +#nullable restore +#else + public string BrowseSessionId + { + get { return BackingStore?.Get("browseSessionId"); } + set { BackingStore?.Set("browseSessionId", value); } + } +#endif + /// The completionDateTime property + public DateTimeOffset? CompletionDateTime + { + get { return BackingStore?.Get("completionDateTime"); } + set { BackingStore?.Set("completionDateTime", value); } + } + /// The restoredItemKey property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RestoredItemKey + { + get { return BackingStore?.Get("restoredItemKey"); } + set { BackingStore?.Set("restoredItemKey", value); } + } +#nullable restore +#else + public string RestoredItemKey + { + get { return BackingStore?.Get("restoredItemKey"); } + set { BackingStore?.Set("restoredItemKey", value); } + } +#endif + /// The restoredItemPath property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RestoredItemPath + { + get { return BackingStore?.Get("restoredItemPath"); } + set { BackingStore?.Set("restoredItemPath", value); } + } +#nullable restore +#else + public string RestoredItemPath + { + get { return BackingStore?.Get("restoredItemPath"); } + set { BackingStore?.Set("restoredItemPath", value); } + } +#endif + /// The restoredItemWebUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? RestoredItemWebUrl + { + get { return BackingStore?.Get("restoredItemWebUrl"); } + set { BackingStore?.Set("restoredItemWebUrl", value); } + } +#nullable restore +#else + public string RestoredItemWebUrl + { + get { return BackingStore?.Get("restoredItemWebUrl"); } + set { BackingStore?.Set("restoredItemWebUrl", value); } + } +#endif + /// The restorePointDateTime property + public DateTimeOffset? RestorePointDateTime + { + get { return BackingStore?.Get("restorePointDateTime"); } + set { BackingStore?.Set("restorePointDateTime", value); } + } + /// The startDateTime property + public DateTimeOffset? StartDateTime + { + get { return BackingStore?.Get("startDateTime"); } + set { BackingStore?.Set("startDateTime", value); } + } + /// The status property + public global::Microsoft.Graph.Models.ArtifactRestoreStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// The webUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? WebUrl + { + get { return BackingStore?.Get("webUrl"); } + set { BackingStore?.Set("webUrl", value); } + } +#nullable restore +#else + public string WebUrl + { + get { return BackingStore?.Get("webUrl"); } + set { BackingStore?.Set("webUrl", value); } + } +#endif + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static new global::Microsoft.Graph.Models.GranularRestoreArtifactBase CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.granularDriveRestoreArtifact" => new global::Microsoft.Graph.Models.GranularDriveRestoreArtifact(), + "#microsoft.graph.granularSiteRestoreArtifact" => new global::Microsoft.Graph.Models.GranularSiteRestoreArtifact(), + _ => new global::Microsoft.Graph.Models.GranularRestoreArtifactBase(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "browseSessionId", n => { BrowseSessionId = n.GetStringValue(); } }, + { "completionDateTime", n => { CompletionDateTime = n.GetDateTimeOffsetValue(); } }, + { "restorePointDateTime", n => { RestorePointDateTime = n.GetDateTimeOffsetValue(); } }, + { "restoredItemKey", n => { RestoredItemKey = n.GetStringValue(); } }, + { "restoredItemPath", n => { RestoredItemPath = n.GetStringValue(); } }, + { "restoredItemWebUrl", n => { RestoredItemWebUrl = n.GetStringValue(); } }, + { "startDateTime", n => { StartDateTime = n.GetDateTimeOffsetValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "webUrl", n => { WebUrl = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("browseSessionId", BrowseSessionId); + writer.WriteDateTimeOffsetValue("completionDateTime", CompletionDateTime); + writer.WriteStringValue("restoredItemKey", RestoredItemKey); + writer.WriteStringValue("restoredItemPath", RestoredItemPath); + writer.WriteStringValue("restoredItemWebUrl", RestoredItemWebUrl); + writer.WriteDateTimeOffsetValue("restorePointDateTime", RestorePointDateTime); + writer.WriteDateTimeOffsetValue("startDateTime", StartDateTime); + writer.WriteEnumValue("status", Status); + writer.WriteStringValue("webUrl", WebUrl); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifact.cs b/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifact.cs new file mode 100644 index 00000000000..70a14b44b06 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifact.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 GranularSiteRestoreArtifact : global::Microsoft.Graph.Models.GranularRestoreArtifactBase, IParsable + #pragma warning restore CS1591 + { + /// The siteId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SiteId + { + get { return BackingStore?.Get("siteId"); } + set { BackingStore?.Set("siteId", value); } + } +#nullable restore +#else + public string SiteId + { + get { return BackingStore?.Get("siteId"); } + set { BackingStore?.Set("siteId", 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.GranularSiteRestoreArtifact CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.GranularSiteRestoreArtifact(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "siteId", n => { SiteId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("siteId", SiteId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifactCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifactCollectionResponse.cs new file mode 100644 index 00000000000..a5547a0667e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/GranularSiteRestoreArtifactCollectionResponse.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 GranularSiteRestoreArtifactCollectionResponse : 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.GranularSiteRestoreArtifactCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.GranularSiteRestoreArtifactCollectionResponse(); + } + /// + /// 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.GranularSiteRestoreArtifact.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/IdentityContainer.cs b/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs index 4224379cc70..6199aff0c81 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityContainer.cs @@ -155,6 +155,22 @@ public partial class IdentityContainer : global::Microsoft.Graph.Models.Entity, get { return BackingStore?.Get>("userFlowAttributes"); } set { BackingStore?.Set("userFlowAttributes", value); } } +#endif + /// The verifiedId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.IdentityVerifiedIdRoot? VerifiedId + { + get { return BackingStore?.Get("verifiedId"); } + set { BackingStore?.Set("verifiedId", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.IdentityVerifiedIdRoot VerifiedId + { + get { return BackingStore?.Get("verifiedId"); } + set { BackingStore?.Set("verifiedId", value); } + } #endif /// /// Creates a new instance of the appropriate class based on discriminator value @@ -183,6 +199,7 @@ public override IDictionary> GetFieldDeserializers() { "identityProviders", n => { IdentityProviders = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityProviderBase.CreateFromDiscriminatorValue)?.AsList(); } }, { "riskPrevention", n => { RiskPrevention = n.GetObjectValue(global::Microsoft.Graph.Models.RiskPreventionContainer.CreateFromDiscriminatorValue); } }, { "userFlowAttributes", n => { UserFlowAttributes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.IdentityUserFlowAttribute.CreateFromDiscriminatorValue)?.AsList(); } }, + { "verifiedId", n => { VerifiedId = n.GetObjectValue(global::Microsoft.Graph.Models.IdentityVerifiedIdRoot.CreateFromDiscriminatorValue); } }, }; } /// @@ -202,6 +219,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("identityProviders", IdentityProviders); writer.WriteObjectValue("riskPrevention", RiskPrevention); writer.WriteCollectionOfObjectValues("userFlowAttributes", UserFlowAttributes); + writer.WriteObjectValue("verifiedId", VerifiedId); } } } diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/TaskProcessingResult.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/TaskProcessingResult.cs index a9be9ccfe28..241a10c6ef2 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/TaskProcessingResult.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/TaskProcessingResult.cs @@ -39,6 +39,22 @@ public string FailureReason get { return BackingStore?.Get("failureReason"); } set { BackingStore?.Set("failureReason", value); } } +#endif + /// The processingInfo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ProcessingInfo + { + get { return BackingStore?.Get("processingInfo"); } + set { BackingStore?.Set("processingInfo", value); } + } +#nullable restore +#else + public string ProcessingInfo + { + get { return BackingStore?.Get("processingInfo"); } + set { BackingStore?.Set("processingInfo", value); } + } #endif /// The processingStatus property public global::Microsoft.Graph.Models.IdentityGovernance.LifecycleWorkflowProcessingStatus? ProcessingStatus @@ -105,6 +121,7 @@ public override IDictionary> GetFieldDeserializers() { "completedDateTime", n => { CompletedDateTime = n.GetDateTimeOffsetValue(); } }, { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, { "failureReason", n => { FailureReason = n.GetStringValue(); } }, + { "processingInfo", n => { ProcessingInfo = n.GetStringValue(); } }, { "processingStatus", n => { ProcessingStatus = n.GetEnumValue(); } }, { "startedDateTime", n => { StartedDateTime = n.GetDateTimeOffsetValue(); } }, { "subject", n => { Subject = n.GetObjectValue(global::Microsoft.Graph.Models.User.CreateFromDiscriminatorValue); } }, @@ -122,6 +139,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteDateTimeOffsetValue("completedDateTime", CompletedDateTime); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); writer.WriteStringValue("failureReason", FailureReason); + writer.WriteStringValue("processingInfo", ProcessingInfo); writer.WriteEnumValue("processingStatus", ProcessingStatus); writer.WriteDateTimeOffsetValue("startedDateTime", StartedDateTime); writer.WriteObjectValue("subject", Subject); diff --git a/src/Microsoft.Graph/Generated/Models/IdentityVerifiedIdRoot.cs b/src/Microsoft.Graph/Generated/Models/IdentityVerifiedIdRoot.cs new file mode 100644 index 00000000000..ed16f2685f6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/IdentityVerifiedIdRoot.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 IdentityVerifiedIdRoot : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Profile containing properties about a Verified ID provider and purpose +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Profiles + { + get { return BackingStore?.Get?>("profiles"); } + set { BackingStore?.Set("profiles", value); } + } +#nullable restore +#else + public List Profiles + { + get { return BackingStore?.Get>("profiles"); } + set { BackingStore?.Set("profiles", 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.IdentityVerifiedIdRoot CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.IdentityVerifiedIdRoot(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "profiles", n => { Profiles = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.VerifiedIdProfile.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("profiles", Profiles); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/LicenseAssignmentState.cs b/src/Microsoft.Graph/Generated/Models/LicenseAssignmentState.cs index 9fe332f5a00..7366dfe6e73 100644 --- a/src/Microsoft.Graph/Generated/Models/LicenseAssignmentState.cs +++ b/src/Microsoft.Graph/Generated/Models/LicenseAssignmentState.cs @@ -19,7 +19,7 @@ public IDictionary AdditionalData get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); } set { BackingStore.Set("AdditionalData", value); } } - /// The assignedByGroup property + /// Indicates whether the license is directly-assigned or inherited from a group. If directly-assigned, this field is null; if inherited through a group membership, this field contains the ID of the group. Read-Only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AssignedByGroup @@ -37,7 +37,7 @@ public string AssignedByGroup #endif /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The disabledPlans property + /// The service plans that are disabled in this assignment. Read-Only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? DisabledPlans @@ -53,7 +53,7 @@ public List DisabledPlans set { BackingStore?.Set("disabledPlans", value); } } #endif - /// The error property + /// License assignment failure error. If the license is assigned successfully, this field will be Null. Read-Only. The possible values are CountViolation, MutuallyExclusiveViolation, DependencyViolation, ProhibitedInUsageLocationViolation, UniquenessViolation, and Other. For more information on how to identify and resolve license assignment errors, see here. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Error @@ -69,7 +69,7 @@ public string Error set { BackingStore?.Set("error", value); } } #endif - /// The lastUpdatedDateTime property + /// The timestamp when the state of the license assignment was last updated. public DateTimeOffset? LastUpdatedDateTime { get { return BackingStore?.Get("lastUpdatedDateTime"); } @@ -91,13 +91,13 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The skuId property + /// The unique identifier for the SKU. Read-Only. public Guid? SkuId { get { return BackingStore?.Get("skuId"); } set { BackingStore?.Set("skuId", value); } } - /// The state property + /// Indicate the current state of this assignment. Read-Only. The possible values are Active, ActiveWithError, Disabled, and Error. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? State diff --git a/src/Microsoft.Graph/Generated/Models/LocalAdminPasswordSettings.cs b/src/Microsoft.Graph/Generated/Models/LocalAdminPasswordSettings.cs index 430640b19ce..9fadcdb25f0 100644 --- a/src/Microsoft.Graph/Generated/Models/LocalAdminPasswordSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/LocalAdminPasswordSettings.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The isEnabled property + /// Specifies whether LAPS is enabled. The default value is false. An admin can set it to true to enable Local Admin Password Solution (LAPS) within their organization. public bool? IsEnabled { get { return BackingStore?.Get("isEnabled"); } diff --git a/src/Microsoft.Graph/Generated/Models/LocalAdminSettings.cs b/src/Microsoft.Graph/Generated/Models/LocalAdminSettings.cs index ecc9c64e7f3..2e5bdf05640 100644 --- a/src/Microsoft.Graph/Generated/Models/LocalAdminSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/LocalAdminSettings.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The enableGlobalAdmins property + /// Indicates whether global administrators are local administrators on all Microsoft Entra-joined devices. This setting only applies to future registrations. Default is true. public bool? EnableGlobalAdmins { get { return BackingStore?.Get("enableGlobalAdmins"); } @@ -43,7 +43,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The registeringUsers property + /// Determines the users and groups that become local administrators on Microsoft Entra joined devices that they register. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.DeviceRegistrationMembership? RegisteringUsers diff --git a/src/Microsoft.Graph/Generated/Models/MatchConfidenceLevel.cs b/src/Microsoft.Graph/Generated/Models/MatchConfidenceLevel.cs new file mode 100644 index 00000000000..727d78b54da --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MatchConfidenceLevel.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 MatchConfidenceLevel + #pragma warning restore CS1591 + { + [EnumMember(Value = "exact")] + #pragma warning disable CS1591 + Exact, + #pragma warning restore CS1591 + [EnumMember(Value = "relaxed")] + #pragma warning disable CS1591 + Relaxed, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/NotifyMembers.cs b/src/Microsoft.Graph/Generated/Models/NotifyMembers.cs new file mode 100644 index 00000000000..e8e6db8f231 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/NotifyMembers.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 NotifyMembers + #pragma warning restore CS1591 + { + [EnumMember(Value = "all")] + #pragma warning disable CS1591 + All, + #pragma warning restore CS1591 + [EnumMember(Value = "allowSelected")] + #pragma warning disable CS1591 + AllowSelected, + #pragma warning restore CS1591 + [EnumMember(Value = "blockSelected")] + #pragma warning disable CS1591 + BlockSelected, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationCustomExtension.cs b/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationCustomExtension.cs new file mode 100644 index 00000000000..9de6715cbde --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationCustomExtension.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 OnVerifiedIdClaimValidationCustomExtension : global::Microsoft.Graph.Models.CustomAuthenticationExtension, IParsable + #pragma warning restore CS1591 + { + /// + /// Instantiates a new and sets the default values. + /// + public OnVerifiedIdClaimValidationCustomExtension() : base() + { + OdataType = "#microsoft.graph.onVerifiedIdClaimValidationCustomExtension"; + } + /// + /// Creates a new instance of 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.OnVerifiedIdClaimValidationCustomExtension CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension(); + } + /// + /// 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/OnVerifiedIdClaimValidationCustomExtensionHandler.cs b/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationCustomExtensionHandler.cs new file mode 100644 index 00000000000..8cd11c2dd2b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationCustomExtensionHandler.cs @@ -0,0 +1,89 @@ +// +#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 OnVerifiedIdClaimValidationCustomExtensionHandler : global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationHandler, IParsable + #pragma warning restore CS1591 + { + /// Configuration that overrides the default settings from the referenced custom extension, such as timeout and retry values. Optional. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.CustomExtensionOverwriteConfiguration? Configuration + { + get { return BackingStore?.Get("configuration"); } + set { BackingStore?.Set("configuration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.CustomExtensionOverwriteConfiguration Configuration + { + get { return BackingStore?.Get("configuration"); } + set { BackingStore?.Set("configuration", value); } + } +#endif + /// The customExtension property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension? CustomExtension + { + get { return BackingStore?.Get("customExtension"); } + set { BackingStore?.Set("customExtension", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension CustomExtension + { + get { return BackingStore?.Get("customExtension"); } + set { BackingStore?.Set("customExtension", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OnVerifiedIdClaimValidationCustomExtensionHandler() : base() + { + OdataType = "#microsoft.graph.onVerifiedIdClaimValidationCustomExtensionHandler"; + } + /// + /// Creates a new instance of 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.OnVerifiedIdClaimValidationCustomExtensionHandler CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtensionHandler(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "configuration", n => { Configuration = n.GetObjectValue(global::Microsoft.Graph.Models.CustomExtensionOverwriteConfiguration.CreateFromDiscriminatorValue); } }, + { "customExtension", n => { CustomExtension = n.GetObjectValue(global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension.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("configuration", Configuration); + writer.WriteObjectValue("customExtension", CustomExtension); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationHandler.cs b/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationHandler.cs new file mode 100644 index 00000000000..ba359c5714a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationHandler.cs @@ -0,0 +1,86 @@ +// +#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 OnVerifiedIdClaimValidationHandler : 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 OnVerifiedIdClaimValidationHandler() + { + 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.OnVerifiedIdClaimValidationHandler CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.onVerifiedIdClaimValidationCustomExtensionHandler" => new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtensionHandler(), + _ => new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationHandler(), + }; + } + /// + /// 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/OnVerifiedIdClaimValidationListener.cs b/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationListener.cs new file mode 100644 index 00000000000..3390e4ab69e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OnVerifiedIdClaimValidationListener.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 OnVerifiedIdClaimValidationListener : global::Microsoft.Graph.Models.AuthenticationEventListener, IParsable + #pragma warning restore CS1591 + { + /// Configuration for the handler to invoke when this listener is triggered. For Verified ID claim validation scenarios, this is typically an onVerifiedIdClaimValidationCustomExtensionHandler. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationHandler? Handler + { + get { return BackingStore?.Get("handler"); } + set { BackingStore?.Set("handler", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationHandler Handler + { + get { return BackingStore?.Get("handler"); } + set { BackingStore?.Set("handler", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OnVerifiedIdClaimValidationListener() : base() + { + OdataType = "#microsoft.graph.onVerifiedIdClaimValidationListener"; + } + /// + /// Creates a new instance of 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.OnVerifiedIdClaimValidationListener CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationListener(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "handler", n => { Handler = n.GetObjectValue(global::Microsoft.Graph.Models.OnVerifiedIdClaimValidationHandler.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("handler", Handler); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessBrowseSession.cs b/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessBrowseSession.cs new file mode 100644 index 00000000000..f2061b68306 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessBrowseSession.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 OneDriveForBusinessBrowseSession : global::Microsoft.Graph.Models.BrowseSessionBase, IParsable + #pragma warning restore CS1591 + { + /// The directoryObjectId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DirectoryObjectId + { + get { return BackingStore?.Get("directoryObjectId"); } + set { BackingStore?.Set("directoryObjectId", value); } + } +#nullable restore +#else + public string DirectoryObjectId + { + get { return BackingStore?.Get("directoryObjectId"); } + set { BackingStore?.Set("directoryObjectId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public OneDriveForBusinessBrowseSession() : base() + { + OdataType = "#microsoft.graph.oneDriveForBusinessBrowseSession"; + } + /// + /// Creates a new instance of 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.OneDriveForBusinessBrowseSession CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "directoryObjectId", n => { DirectoryObjectId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("directoryObjectId", DirectoryObjectId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessBrowseSessionCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessBrowseSessionCollectionResponse.cs new file mode 100644 index 00000000000..189e760f4a5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessBrowseSessionCollectionResponse.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 OneDriveForBusinessBrowseSessionCollectionResponse : 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.OneDriveForBusinessBrowseSessionCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSessionCollectionResponse(); + } + /// + /// 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.OneDriveForBusinessBrowseSession.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/OneDriveForBusinessRestoreSession.cs b/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessRestoreSession.cs index c01baa6c308..b924be13d10 100644 --- a/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessRestoreSession.cs +++ b/src/Microsoft.Graph/Generated/Models/OneDriveForBusinessRestoreSession.cs @@ -43,6 +43,22 @@ public partial class OneDriveForBusinessRestoreSession : global::Microsoft.Graph get { return BackingStore?.Get>("driveRestoreArtifactsBulkAdditionRequests"); } set { BackingStore?.Set("driveRestoreArtifactsBulkAdditionRequests", value); } } +#endif + /// The granularDriveRestoreArtifacts property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? GranularDriveRestoreArtifacts + { + get { return BackingStore?.Get?>("granularDriveRestoreArtifacts"); } + set { BackingStore?.Set("granularDriveRestoreArtifacts", value); } + } +#nullable restore +#else + public List GranularDriveRestoreArtifacts + { + get { return BackingStore?.Get>("granularDriveRestoreArtifacts"); } + set { BackingStore?.Set("granularDriveRestoreArtifacts", value); } + } #endif /// /// Instantiates a new and sets the default values. @@ -71,6 +87,7 @@ public override IDictionary> GetFieldDeserializers() { { "driveRestoreArtifacts", n => { DriveRestoreArtifacts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRestoreArtifact.CreateFromDiscriminatorValue)?.AsList(); } }, { "driveRestoreArtifactsBulkAdditionRequests", n => { DriveRestoreArtifactsBulkAdditionRequests = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.DriveRestoreArtifactsBulkAdditionRequest.CreateFromDiscriminatorValue)?.AsList(); } }, + { "granularDriveRestoreArtifacts", n => { GranularDriveRestoreArtifacts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact.CreateFromDiscriminatorValue)?.AsList(); } }, }; } /// @@ -83,6 +100,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteCollectionOfObjectValues("driveRestoreArtifacts", DriveRestoreArtifacts); writer.WriteCollectionOfObjectValues("driveRestoreArtifactsBulkAdditionRequests", DriveRestoreArtifactsBulkAdditionRequests); + writer.WriteCollectionOfObjectValues("granularDriveRestoreArtifacts", GranularDriveRestoreArtifacts); } } } diff --git a/src/Microsoft.Graph/Generated/Models/OwnerlessGroupPolicy.cs b/src/Microsoft.Graph/Generated/Models/OwnerlessGroupPolicy.cs new file mode 100644 index 00000000000..f67978d376c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/OwnerlessGroupPolicy.cs @@ -0,0 +1,142 @@ +// +#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 OwnerlessGroupPolicy : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The emailInfo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.EmailDetails? EmailInfo + { + get { return BackingStore?.Get("emailInfo"); } + set { BackingStore?.Set("emailInfo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.EmailDetails EmailInfo + { + get { return BackingStore?.Get("emailInfo"); } + set { BackingStore?.Set("emailInfo", value); } + } +#endif + /// The enabledGroupIds property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? EnabledGroupIds + { + get { return BackingStore?.Get?>("enabledGroupIds"); } + set { BackingStore?.Set("enabledGroupIds", value); } + } +#nullable restore +#else + public List EnabledGroupIds + { + get { return BackingStore?.Get>("enabledGroupIds"); } + set { BackingStore?.Set("enabledGroupIds", value); } + } +#endif + /// The isEnabled property + public bool? IsEnabled + { + get { return BackingStore?.Get("isEnabled"); } + set { BackingStore?.Set("isEnabled", value); } + } + /// The maxMembersToNotify property + public long? MaxMembersToNotify + { + get { return BackingStore?.Get("maxMembersToNotify"); } + set { BackingStore?.Set("maxMembersToNotify", value); } + } + /// The notificationDurationInWeeks property + public long? NotificationDurationInWeeks + { + get { return BackingStore?.Get("notificationDurationInWeeks"); } + set { BackingStore?.Set("notificationDurationInWeeks", value); } + } + /// The policyWebUrl property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PolicyWebUrl + { + get { return BackingStore?.Get("policyWebUrl"); } + set { BackingStore?.Set("policyWebUrl", value); } + } +#nullable restore +#else + public string PolicyWebUrl + { + get { return BackingStore?.Get("policyWebUrl"); } + set { BackingStore?.Set("policyWebUrl", value); } + } +#endif + /// The targetOwners property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.TargetOwners? TargetOwners + { + get { return BackingStore?.Get("targetOwners"); } + set { BackingStore?.Set("targetOwners", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.TargetOwners TargetOwners + { + get { return BackingStore?.Get("targetOwners"); } + set { BackingStore?.Set("targetOwners", 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.OwnerlessGroupPolicy CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.OwnerlessGroupPolicy(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "emailInfo", n => { EmailInfo = n.GetObjectValue(global::Microsoft.Graph.Models.EmailDetails.CreateFromDiscriminatorValue); } }, + { "enabledGroupIds", n => { EnabledGroupIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "isEnabled", n => { IsEnabled = n.GetBoolValue(); } }, + { "maxMembersToNotify", n => { MaxMembersToNotify = n.GetLongValue(); } }, + { "notificationDurationInWeeks", n => { NotificationDurationInWeeks = n.GetLongValue(); } }, + { "policyWebUrl", n => { PolicyWebUrl = n.GetStringValue(); } }, + { "targetOwners", n => { TargetOwners = n.GetObjectValue(global::Microsoft.Graph.Models.TargetOwners.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("emailInfo", EmailInfo); + writer.WriteCollectionOfPrimitiveValues("enabledGroupIds", EnabledGroupIds); + writer.WriteBoolValue("isEnabled", IsEnabled); + writer.WriteLongValue("maxMembersToNotify", MaxMembersToNotify); + writer.WriteLongValue("notificationDurationInWeeks", NotificationDurationInWeeks); + writer.WriteStringValue("policyWebUrl", PolicyWebUrl); + writer.WriteObjectValue("targetOwners", TargetOwners); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs b/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs index ee0489f5d7b..66457c8bc58 100644 --- a/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs +++ b/src/Microsoft.Graph/Generated/Models/PolicyRoot.cs @@ -251,6 +251,22 @@ public partial class PolicyRoot : global::Microsoft.Graph.Models.Entity, IParsab get { return BackingStore?.Get("identitySecurityDefaultsEnforcementPolicy"); } set { BackingStore?.Set("identitySecurityDefaultsEnforcementPolicy", value); } } +#endif + /// The ownerlessGroupPolicy property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.OwnerlessGroupPolicy? OwnerlessGroupPolicy + { + get { return BackingStore?.Get("ownerlessGroupPolicy"); } + set { BackingStore?.Set("ownerlessGroupPolicy", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.OwnerlessGroupPolicy OwnerlessGroupPolicy + { + get { return BackingStore?.Get("ownerlessGroupPolicy"); } + set { BackingStore?.Set("ownerlessGroupPolicy", value); } + } #endif /// The policy that specifies the conditions under which consent can be granted. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -365,6 +381,7 @@ public override IDictionary> GetFieldDeserializers() { "featureRolloutPolicies", n => { FeatureRolloutPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.FeatureRolloutPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "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); } }, { "permissionGrantPolicies", n => { PermissionGrantPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.PermissionGrantPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "roleManagementPolicies", n => { RoleManagementPolicies = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.UnifiedRoleManagementPolicy.CreateFromDiscriminatorValue)?.AsList(); } }, { "roleManagementPolicyAssignments", n => { RoleManagementPolicyAssignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.UnifiedRoleManagementPolicyAssignment.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -395,6 +412,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteCollectionOfObjectValues("featureRolloutPolicies", FeatureRolloutPolicies); writer.WriteCollectionOfObjectValues("homeRealmDiscoveryPolicies", HomeRealmDiscoveryPolicies); writer.WriteObjectValue("identitySecurityDefaultsEnforcementPolicy", IdentitySecurityDefaultsEnforcementPolicy); + writer.WriteObjectValue("ownerlessGroupPolicy", OwnerlessGroupPolicy); writer.WriteCollectionOfObjectValues("permissionGrantPolicies", PermissionGrantPolicies); writer.WriteCollectionOfObjectValues("roleManagementPolicies", RoleManagementPolicies); writer.WriteCollectionOfObjectValues("roleManagementPolicyAssignments", RoleManagementPolicyAssignments); diff --git a/src/Microsoft.Graph/Generated/Models/RestoreJobType.cs b/src/Microsoft.Graph/Generated/Models/RestoreJobType.cs index 0a09c5349b2..508bff6a872 100644 --- a/src/Microsoft.Graph/Generated/Models/RestoreJobType.cs +++ b/src/Microsoft.Graph/Generated/Models/RestoreJobType.cs @@ -20,5 +20,9 @@ public enum RestoreJobType #pragma warning disable CS1591 UnknownFutureValue, #pragma warning restore CS1591 + [EnumMember(Value = "granular")] + #pragma warning disable CS1591 + Granular, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/RiskDetail.cs b/src/Microsoft.Graph/Generated/Models/RiskDetail.cs index 1a62e5ea6da..e9fb975f6dc 100644 --- a/src/Microsoft.Graph/Generated/Models/RiskDetail.cs +++ b/src/Microsoft.Graph/Generated/Models/RiskDetail.cs @@ -80,5 +80,9 @@ public enum RiskDetail #pragma warning disable CS1591 AdminConfirmedAccountSafe, #pragma warning restore CS1591 + [EnumMember(Value = "microsoftRevokedSessions")] + #pragma warning disable CS1591 + MicrosoftRevokedSessions, + #pragma warning restore CS1591 } } diff --git a/src/Microsoft.Graph/Generated/Models/Security/Alert.cs b/src/Microsoft.Graph/Generated/Models/Security/Alert.cs index 52a48eccdcb..60eff1c60b2 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/Alert.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/Alert.cs @@ -91,6 +91,22 @@ public string AssignedTo get { return BackingStore?.Get("assignedTo"); } set { BackingStore?.Set("assignedTo", 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 attack kill-chain category that the alert belongs to. Aligned with the MITRE ATT&CK framework. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -459,6 +475,7 @@ public override IDictionary> GetFieldDeserializers() { "alertPolicyId", n => { AlertPolicyId = n.GetStringValue(); } }, { "alertWebUrl", n => { AlertWebUrl = n.GetStringValue(); } }, { "assignedTo", n => { AssignedTo = n.GetStringValue(); } }, + { "categories", n => { Categories = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, { "category", n => { Category = n.GetStringValue(); } }, { "classification", n => { Classification = n.GetEnumValue(); } }, { "comments", n => { Comments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.Security.AlertComment.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -503,6 +520,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("alertPolicyId", AlertPolicyId); writer.WriteStringValue("alertWebUrl", AlertWebUrl); writer.WriteStringValue("assignedTo", AssignedTo); + writer.WriteCollectionOfPrimitiveValues("categories", Categories); writer.WriteStringValue("category", Category); writer.WriteEnumValue("classification", Classification); writer.WriteCollectionOfObjectValues("comments", Comments); diff --git a/src/Microsoft.Graph/Generated/Models/Security/DataSource.cs b/src/Microsoft.Graph/Generated/Models/Security/DataSource.cs index 3f9b896fc99..a6a9482b0b6 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/DataSource.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/DataSource.cs @@ -50,7 +50,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The hold status of the dataSource.The possible values are: notApplied, applied, applying, removing, partial + /// The hold status of the dataSource. The possible values are: notApplied, applied, applying, removing, partial. public global::Microsoft.Graph.Models.Security.DataSourceHoldStatus? HoldStatus { get { return BackingStore?.Get("holdStatus"); } diff --git a/src/Microsoft.Graph/Generated/Models/SharePointBrowseSession.cs b/src/Microsoft.Graph/Generated/Models/SharePointBrowseSession.cs new file mode 100644 index 00000000000..e65da861919 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointBrowseSession.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 SharePointBrowseSession : global::Microsoft.Graph.Models.BrowseSessionBase, IParsable + #pragma warning restore CS1591 + { + /// The siteId property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SiteId + { + get { return BackingStore?.Get("siteId"); } + set { BackingStore?.Set("siteId", value); } + } +#nullable restore +#else + public string SiteId + { + get { return BackingStore?.Get("siteId"); } + set { BackingStore?.Set("siteId", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public SharePointBrowseSession() : base() + { + OdataType = "#microsoft.graph.sharePointBrowseSession"; + } + /// + /// Creates a new instance of 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.SharePointBrowseSession CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointBrowseSession(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "siteId", n => { SiteId = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("siteId", SiteId); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/SharePointBrowseSessionCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/SharePointBrowseSessionCollectionResponse.cs new file mode 100644 index 00000000000..970f55f3730 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/SharePointBrowseSessionCollectionResponse.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 SharePointBrowseSessionCollectionResponse : 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.SharePointBrowseSessionCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.SharePointBrowseSessionCollectionResponse(); + } + /// + /// 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.SharePointBrowseSession.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/SharePointGroup.cs b/src/Microsoft.Graph/Generated/Models/SharePointGroup.cs index 448fa632f9a..762a1a3d20b 100644 --- a/src/Microsoft.Graph/Generated/Models/SharePointGroup.cs +++ b/src/Microsoft.Graph/Generated/Models/SharePointGroup.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class SharePointGroup : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The description property + /// The user-visible description of the sharePointGroup. Read-write. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description @@ -28,7 +28,7 @@ public string Description set { BackingStore?.Set("description", value); } } #endif - /// The members property + /// The set of members in the sharePointGroup. Read-write. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Members @@ -44,7 +44,7 @@ public string Description set { BackingStore?.Set("members", value); } } #endif - /// The principalId property + /// The principal ID of the SharePoint group in the tenant. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PrincipalId @@ -60,7 +60,7 @@ public string PrincipalId set { BackingStore?.Set("principalId", value); } } #endif - /// The title property + /// The user-visible title of the sharePointGroup. Read-write. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Title diff --git a/src/Microsoft.Graph/Generated/Models/SharePointGroupIdentity.cs b/src/Microsoft.Graph/Generated/Models/SharePointGroupIdentity.cs index b29ebdf302d..9fb86f907d1 100644 --- a/src/Microsoft.Graph/Generated/Models/SharePointGroupIdentity.cs +++ b/src/Microsoft.Graph/Generated/Models/SharePointGroupIdentity.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class SharePointGroupIdentity : global::Microsoft.Graph.Models.Identity, IParsable #pragma warning restore CS1591 { - /// The principalId property + /// The principal ID of the SharePoint group in the tenant. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PrincipalId @@ -28,7 +28,7 @@ public string PrincipalId set { BackingStore?.Set("principalId", value); } } #endif - /// The title property + /// The title of the SharePoint group. Read-only. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Title diff --git a/src/Microsoft.Graph/Generated/Models/SharePointGroupMember.cs b/src/Microsoft.Graph/Generated/Models/SharePointGroupMember.cs index 061ea7361af..40e92860b7c 100644 --- a/src/Microsoft.Graph/Generated/Models/SharePointGroupMember.cs +++ b/src/Microsoft.Graph/Generated/Models/SharePointGroupMember.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Models public partial class SharePointGroupMember : global::Microsoft.Graph.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The identity property + /// The identity represented by the sharePointGroupMember object. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.SharePointIdentitySet? Identity diff --git a/src/Microsoft.Graph/Generated/Models/SharePointIdentitySet.cs b/src/Microsoft.Graph/Generated/Models/SharePointIdentitySet.cs index 97479e0db61..53a35c7f7ba 100644 --- a/src/Microsoft.Graph/Generated/Models/SharePointIdentitySet.cs +++ b/src/Microsoft.Graph/Generated/Models/SharePointIdentitySet.cs @@ -28,7 +28,7 @@ public partial class SharePointIdentitySet : global::Microsoft.Graph.Models.Iden set { BackingStore?.Set("group", value); } } #endif - /// The sharePointGroup property + /// The SharePoint group associated with this action, identified by a globally unique ID. Use this property instead of siteGroup when available. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.SharePointGroupIdentity? SharePointGroup @@ -44,7 +44,7 @@ public partial class SharePointIdentitySet : global::Microsoft.Graph.Models.Iden set { BackingStore?.Set("sharePointGroup", value); } } #endif - /// The SharePoint group associated with this action. Optional. + /// The SharePoint group associated with this action, identified by a principal ID that is unique only within the site. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Models.SharePointIdentity? SiteGroup diff --git a/src/Microsoft.Graph/Generated/Models/SharePointRestoreSession.cs b/src/Microsoft.Graph/Generated/Models/SharePointRestoreSession.cs index 781bc16d140..2d163126c68 100644 --- a/src/Microsoft.Graph/Generated/Models/SharePointRestoreSession.cs +++ b/src/Microsoft.Graph/Generated/Models/SharePointRestoreSession.cs @@ -12,6 +12,22 @@ namespace Microsoft.Graph.Models public partial class SharePointRestoreSession : global::Microsoft.Graph.Models.RestoreSessionBase, IParsable #pragma warning restore CS1591 { + /// The granularSiteRestoreArtifacts property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? GranularSiteRestoreArtifacts + { + get { return BackingStore?.Get?>("granularSiteRestoreArtifacts"); } + set { BackingStore?.Set("granularSiteRestoreArtifacts", value); } + } +#nullable restore +#else + public List GranularSiteRestoreArtifacts + { + get { return BackingStore?.Get>("granularSiteRestoreArtifacts"); } + set { BackingStore?.Set("granularSiteRestoreArtifacts", value); } + } +#endif /// A collection of restore points and destination details that can be used to restore SharePoint sites. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -69,6 +85,7 @@ public override IDictionary> GetFieldDeserializers() { return new Dictionary>(base.GetFieldDeserializers()) { + { "granularSiteRestoreArtifacts", n => { GranularSiteRestoreArtifacts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact.CreateFromDiscriminatorValue)?.AsList(); } }, { "siteRestoreArtifacts", n => { SiteRestoreArtifacts = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SiteRestoreArtifact.CreateFromDiscriminatorValue)?.AsList(); } }, { "siteRestoreArtifactsBulkAdditionRequests", n => { SiteRestoreArtifactsBulkAdditionRequests = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.SiteRestoreArtifactsBulkAdditionRequest.CreateFromDiscriminatorValue)?.AsList(); } }, }; @@ -81,6 +98,7 @@ public override void Serialize(ISerializationWriter writer) { if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); base.Serialize(writer); + writer.WriteCollectionOfObjectValues("granularSiteRestoreArtifacts", GranularSiteRestoreArtifacts); writer.WriteCollectionOfObjectValues("siteRestoreArtifacts", SiteRestoreArtifacts); writer.WriteCollectionOfObjectValues("siteRestoreArtifactsBulkAdditionRequests", SiteRestoreArtifactsBulkAdditionRequests); } diff --git a/src/Microsoft.Graph/Generated/Models/TargetOwners.cs b/src/Microsoft.Graph/Generated/Models/TargetOwners.cs new file mode 100644 index 00000000000..dc27cb3481a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/TargetOwners.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 TargetOwners : 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 notifyMembers property + public global::Microsoft.Graph.Models.NotifyMembers? NotifyMembers + { + get { return BackingStore?.Get("notifyMembers"); } + set { BackingStore?.Set("notifyMembers", 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 securityGroups property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? SecurityGroups + { + get { return BackingStore?.Get?>("securityGroups"); } + set { BackingStore?.Set("securityGroups", value); } + } +#nullable restore +#else + public List SecurityGroups + { + get { return BackingStore?.Get>("securityGroups"); } + set { BackingStore?.Set("securityGroups", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public TargetOwners() + { + 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.TargetOwners CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.TargetOwners(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "notifyMembers", n => { NotifyMembers = n.GetEnumValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "securityGroups", n => { SecurityGroups = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("notifyMembers", NotifyMembers); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfPrimitiveValues("securityGroups", SecurityGroups); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/VerifiedIdProfile.cs b/src/Microsoft.Graph/Generated/Models/VerifiedIdProfile.cs new file mode 100644 index 00000000000..60e5afcd5f1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/VerifiedIdProfile.cs @@ -0,0 +1,178 @@ +// +#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 VerifiedIdProfile : global::Microsoft.Graph.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// Description for the verified ID profile. Required. +#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 faceCheckConfiguration property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.FaceCheckConfiguration? FaceCheckConfiguration + { + get { return BackingStore?.Get("faceCheckConfiguration"); } + set { BackingStore?.Set("faceCheckConfiguration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.FaceCheckConfiguration FaceCheckConfiguration + { + get { return BackingStore?.Get("faceCheckConfiguration"); } + set { BackingStore?.Set("faceCheckConfiguration", value); } + } +#endif + /// DateTime the profile was last modified. Optional. + public DateTimeOffset? LastModifiedDateTime + { + get { return BackingStore?.Get("lastModifiedDateTime"); } + set { BackingStore?.Set("lastModifiedDateTime", value); } + } + /// Display name for the verified ID profile. Required. +#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 + /// Defines profile processing priority if multiple profiles are configured. Optional. + public int? Priority + { + get { return BackingStore?.Get("priority"); } + set { BackingStore?.Set("priority", value); } + } + /// The state property + public global::Microsoft.Graph.Models.VerifiedIdProfileState? State + { + get { return BackingStore?.Get("state"); } + set { BackingStore?.Set("state", value); } + } + /// The verifiedIdProfileConfiguration property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.VerifiedIdProfileConfiguration? VerifiedIdProfileConfiguration + { + get { return BackingStore?.Get("verifiedIdProfileConfiguration"); } + set { BackingStore?.Set("verifiedIdProfileConfiguration", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.VerifiedIdProfileConfiguration VerifiedIdProfileConfiguration + { + get { return BackingStore?.Get("verifiedIdProfileConfiguration"); } + set { BackingStore?.Set("verifiedIdProfileConfiguration", value); } + } +#endif + /// Collection defining the usage purpose for the profile. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? VerifiedIdUsageConfigurations + { + get { return BackingStore?.Get?>("verifiedIdUsageConfigurations"); } + set { BackingStore?.Set("verifiedIdUsageConfigurations", value); } + } +#nullable restore +#else + public List VerifiedIdUsageConfigurations + { + get { return BackingStore?.Get>("verifiedIdUsageConfigurations"); } + set { BackingStore?.Set("verifiedIdUsageConfigurations", value); } + } +#endif + /// Decentralized Identifier (DID) string that represents the verifier in the verifiable credential exchange. Required. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? VerifierDid + { + get { return BackingStore?.Get("verifierDid"); } + set { BackingStore?.Set("verifierDid", value); } + } +#nullable restore +#else + public string VerifierDid + { + get { return BackingStore?.Get("verifierDid"); } + set { BackingStore?.Set("verifierDid", 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.VerifiedIdProfile CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.VerifiedIdProfile(); + } + /// + /// 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(); } }, + { "faceCheckConfiguration", n => { FaceCheckConfiguration = n.GetObjectValue(global::Microsoft.Graph.Models.FaceCheckConfiguration.CreateFromDiscriminatorValue); } }, + { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "priority", n => { Priority = n.GetIntValue(); } }, + { "state", n => { State = n.GetEnumValue(); } }, + { "verifiedIdProfileConfiguration", n => { VerifiedIdProfileConfiguration = n.GetObjectValue(global::Microsoft.Graph.Models.VerifiedIdProfileConfiguration.CreateFromDiscriminatorValue); } }, + { "verifiedIdUsageConfigurations", n => { VerifiedIdUsageConfigurations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.VerifiedIdUsageConfiguration.CreateFromDiscriminatorValue)?.AsList(); } }, + { "verifierDid", n => { VerifierDid = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("description", Description); + writer.WriteObjectValue("faceCheckConfiguration", FaceCheckConfiguration); + writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime); + writer.WriteStringValue("name", Name); + writer.WriteIntValue("priority", Priority); + writer.WriteEnumValue("state", State); + writer.WriteObjectValue("verifiedIdProfileConfiguration", VerifiedIdProfileConfiguration); + writer.WriteCollectionOfObjectValues("verifiedIdUsageConfigurations", VerifiedIdUsageConfigurations); + writer.WriteStringValue("verifierDid", VerifierDid); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/VerifiedIdProfileCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/VerifiedIdProfileCollectionResponse.cs new file mode 100644 index 00000000000..f5015dbca53 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/VerifiedIdProfileCollectionResponse.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 VerifiedIdProfileCollectionResponse : 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.VerifiedIdProfileCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.VerifiedIdProfileCollectionResponse(); + } + /// + /// 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.VerifiedIdProfile.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/VerifiedIdProfileConfiguration.cs b/src/Microsoft.Graph/Generated/Models/VerifiedIdProfileConfiguration.cs new file mode 100644 index 00000000000..d84d58b718a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/VerifiedIdProfileConfiguration.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 +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class VerifiedIdProfileConfiguration : IAdditionalDataHolder, IBackedModel, IParsable + #pragma warning restore CS1591 + { + /// Trusted Verified ID issuer. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AcceptedIssuer + { + get { return BackingStore?.Get("acceptedIssuer"); } + set { BackingStore?.Set("acceptedIssuer", value); } + } +#nullable restore +#else + public string AcceptedIssuer + { + get { return BackingStore?.Get("acceptedIssuer"); } + set { BackingStore?.Set("acceptedIssuer", 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; } + /// Claim bindings from Verified ID to source attributes. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ClaimBindings + { + get { return BackingStore?.Get?>("claimBindings"); } + set { BackingStore?.Set("claimBindings", value); } + } +#nullable restore +#else + public List ClaimBindings + { + get { return BackingStore?.Get>("claimBindings"); } + set { BackingStore?.Set("claimBindings", value); } + } +#endif + /// The claimBindingSource property + public global::Microsoft.Graph.Models.ClaimBindingSource? ClaimBindingSource + { + get { return BackingStore?.Get("claimBindingSource"); } + set { BackingStore?.Set("claimBindingSource", value); } + } + /// The claimValidation property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.ClaimValidation? ClaimValidation + { + get { return BackingStore?.Get("claimValidation"); } + set { BackingStore?.Set("claimValidation", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.ClaimValidation ClaimValidation + { + get { return BackingStore?.Get("claimValidation"); } + set { BackingStore?.Set("claimValidation", 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 + /// Verified ID type. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } +#nullable restore +#else + public string Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public VerifiedIdProfileConfiguration() + { + 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.VerifiedIdProfileConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.VerifiedIdProfileConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "acceptedIssuer", n => { AcceptedIssuer = n.GetStringValue(); } }, + { "claimBindingSource", n => { ClaimBindingSource = n.GetEnumValue(); } }, + { "claimBindings", n => { ClaimBindings = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.ClaimBinding.CreateFromDiscriminatorValue)?.AsList(); } }, + { "claimValidation", n => { ClaimValidation = n.GetObjectValue(global::Microsoft.Graph.Models.ClaimValidation.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "type", n => { Type = 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("acceptedIssuer", AcceptedIssuer); + writer.WriteCollectionOfObjectValues("claimBindings", ClaimBindings); + writer.WriteEnumValue("claimBindingSource", ClaimBindingSource); + writer.WriteObjectValue("claimValidation", ClaimValidation); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("type", Type); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/VerifiedIdProfileState.cs b/src/Microsoft.Graph/Generated/Models/VerifiedIdProfileState.cs new file mode 100644 index 00000000000..c48cceb1642 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/VerifiedIdProfileState.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 VerifiedIdProfileState + #pragma warning restore CS1591 + { + [EnumMember(Value = "enabled")] + #pragma warning disable CS1591 + Enabled, + #pragma warning restore CS1591 + [EnumMember(Value = "disabled")] + #pragma warning disable CS1591 + Disabled, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/VerifiedIdUsageConfiguration.cs b/src/Microsoft.Graph/Generated/Models/VerifiedIdUsageConfiguration.cs new file mode 100644 index 00000000000..db66949a79a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/VerifiedIdUsageConfiguration.cs @@ -0,0 +1,97 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class VerifiedIdUsageConfiguration : 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; } + /// Sets profile usage for evaluation (test-only) or production. + public bool? IsEnabledForTestOnly + { + get { return BackingStore?.Get("isEnabledForTestOnly"); } + set { BackingStore?.Set("isEnabledForTestOnly", 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 purpose property + public global::Microsoft.Graph.Models.VerifiedIdUsageConfigurationPurpose? Purpose + { + get { return BackingStore?.Get("purpose"); } + set { BackingStore?.Set("purpose", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public VerifiedIdUsageConfiguration() + { + 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.VerifiedIdUsageConfiguration CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.VerifiedIdUsageConfiguration(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "isEnabledForTestOnly", n => { IsEnabledForTestOnly = n.GetBoolValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "purpose", n => { Purpose = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteBoolValue("isEnabledForTestOnly", IsEnabledForTestOnly); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("purpose", Purpose); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/VerifiedIdUsageConfigurationPurpose.cs b/src/Microsoft.Graph/Generated/Models/VerifiedIdUsageConfigurationPurpose.cs new file mode 100644 index 00000000000..eb3e05ad762 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/VerifiedIdUsageConfigurationPurpose.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 VerifiedIdUsageConfigurationPurpose + #pragma warning restore CS1591 + { + [EnumMember(Value = "recovery")] + #pragma warning disable CS1591 + Recovery, + #pragma warning restore CS1591 + [EnumMember(Value = "onboarding")] + #pragma warning disable CS1591 + Onboarding, + #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/WebauthnAuthenticationExtensionsClientInputs.cs b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticationExtensionsClientInputs.cs new file mode 100644 index 00000000000..408a3a318a0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticationExtensionsClientInputs.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WebauthnAuthenticationExtensionsClientInputs : 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 WebauthnAuthenticationExtensionsClientInputs() + { + 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.WebauthnAuthenticationExtensionsClientInputs CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientInputs(); + } + /// + /// 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/WebauthnAuthenticationExtensionsClientOutputs.cs b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticationExtensionsClientOutputs.cs new file mode 100644 index 00000000000..d85677f34f5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticationExtensionsClientOutputs.cs @@ -0,0 +1,81 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WebauthnAuthenticationExtensionsClientOutputs : 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 WebauthnAuthenticationExtensionsClientOutputs() + { + 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.WebauthnAuthenticationExtensionsClientOutputs CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientOutputs(); + } + /// + /// 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/WebauthnAuthenticatorAttestationResponse.cs b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorAttestationResponse.cs new file mode 100644 index 00000000000..ac36df08c91 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorAttestationResponse.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 WebauthnAuthenticatorAttestationResponse : 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 attestationObject property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AttestationObject + { + get { return BackingStore?.Get("attestationObject"); } + set { BackingStore?.Set("attestationObject", value); } + } +#nullable restore +#else + public string AttestationObject + { + get { return BackingStore?.Get("attestationObject"); } + set { BackingStore?.Set("attestationObject", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The clientDataJSON property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ClientDataJSON + { + get { return BackingStore?.Get("clientDataJSON"); } + set { BackingStore?.Set("clientDataJSON", value); } + } +#nullable restore +#else + public string ClientDataJSON + { + get { return BackingStore?.Get("clientDataJSON"); } + set { BackingStore?.Set("clientDataJSON", 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 WebauthnAuthenticatorAttestationResponse() + { + 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.WebauthnAuthenticatorAttestationResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnAuthenticatorAttestationResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "attestationObject", n => { AttestationObject = n.GetStringValue(); } }, + { "clientDataJSON", n => { ClientDataJSON = 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("attestationObject", AttestationObject); + writer.WriteStringValue("clientDataJSON", ClientDataJSON); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorSelectionCriteria.cs b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorSelectionCriteria.cs new file mode 100644 index 00000000000..bd295521827 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnAuthenticatorSelectionCriteria.cs @@ -0,0 +1,125 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WebauthnAuthenticatorSelectionCriteria : 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 authenticatorAttachment property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? AuthenticatorAttachment + { + get { return BackingStore?.Get("authenticatorAttachment"); } + set { BackingStore?.Set("authenticatorAttachment", value); } + } +#nullable restore +#else + public string AuthenticatorAttachment + { + get { return BackingStore?.Get("authenticatorAttachment"); } + set { BackingStore?.Set("authenticatorAttachment", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The requireResidentKey property + public bool? RequireResidentKey + { + get { return BackingStore?.Get("requireResidentKey"); } + set { BackingStore?.Set("requireResidentKey", value); } + } + /// The userVerification property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? UserVerification + { + get { return BackingStore?.Get("userVerification"); } + set { BackingStore?.Set("userVerification", value); } + } +#nullable restore +#else + public string UserVerification + { + get { return BackingStore?.Get("userVerification"); } + set { BackingStore?.Set("userVerification", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnAuthenticatorSelectionCriteria() + { + 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.WebauthnAuthenticatorSelectionCriteria CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnAuthenticatorSelectionCriteria(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "authenticatorAttachment", n => { AuthenticatorAttachment = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "requireResidentKey", n => { RequireResidentKey = n.GetBoolValue(); } }, + { "userVerification", n => { UserVerification = 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("authenticatorAttachment", AuthenticatorAttachment); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteBoolValue("requireResidentKey", RequireResidentKey); + writer.WriteStringValue("userVerification", UserVerification); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnCredentialCreationOptions.cs b/src/Microsoft.Graph/Generated/Models/WebauthnCredentialCreationOptions.cs new file mode 100644 index 00000000000..5f1c46e1b19 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnCredentialCreationOptions.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 WebauthnCredentialCreationOptions : 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 challengeTimeoutDateTime property + public DateTimeOffset? ChallengeTimeoutDateTime + { + get { return BackingStore?.Get("challengeTimeoutDateTime"); } + set { BackingStore?.Set("challengeTimeoutDateTime", 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 publicKey property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialCreationOptions? PublicKey + { + get { return BackingStore?.Get("publicKey"); } + set { BackingStore?.Set("publicKey", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialCreationOptions PublicKey + { + get { return BackingStore?.Get("publicKey"); } + set { BackingStore?.Set("publicKey", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnCredentialCreationOptions() + { + 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.WebauthnCredentialCreationOptions CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnCredentialCreationOptions(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "challengeTimeoutDateTime", n => { ChallengeTimeoutDateTime = n.GetDateTimeOffsetValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "publicKey", n => { PublicKey = n.GetObjectValue(global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialCreationOptions.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.WriteDateTimeOffsetValue("challengeTimeoutDateTime", ChallengeTimeoutDateTime); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("publicKey", PublicKey); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredential.cs b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredential.cs new file mode 100644 index 00000000000..fb3de9bccb7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredential.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 +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WebauthnPublicKeyCredential : 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 clientExtensionResults property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientOutputs? ClientExtensionResults + { + get { return BackingStore?.Get("clientExtensionResults"); } + set { BackingStore?.Set("clientExtensionResults", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientOutputs ClientExtensionResults + { + get { return BackingStore?.Get("clientExtensionResults"); } + set { BackingStore?.Set("clientExtensionResults", 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 + /// The response property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebauthnAuthenticatorAttestationResponse? Response + { + get { return BackingStore?.Get("response"); } + set { BackingStore?.Set("response", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebauthnAuthenticatorAttestationResponse Response + { + get { return BackingStore?.Get("response"); } + set { BackingStore?.Set("response", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnPublicKeyCredential() + { + 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.WebauthnPublicKeyCredential CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnPublicKeyCredential(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "clientExtensionResults", n => { ClientExtensionResults = n.GetObjectValue(global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientOutputs.CreateFromDiscriminatorValue); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "response", n => { Response = n.GetObjectValue(global::Microsoft.Graph.Models.WebauthnAuthenticatorAttestationResponse.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.WriteObjectValue("clientExtensionResults", ClientExtensionResults); + writer.WriteStringValue("id", Id); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteObjectValue("response", Response); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialCreationOptions.cs b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialCreationOptions.cs new file mode 100644 index 00000000000..1ef306c3c54 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialCreationOptions.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 +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WebauthnPublicKeyCredentialCreationOptions : 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 attestation property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Attestation + { + get { return BackingStore?.Get("attestation"); } + set { BackingStore?.Set("attestation", value); } + } +#nullable restore +#else + public string Attestation + { + get { return BackingStore?.Get("attestation"); } + set { BackingStore?.Set("attestation", value); } + } +#endif + /// The authenticatorSelection property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebauthnAuthenticatorSelectionCriteria? AuthenticatorSelection + { + get { return BackingStore?.Get("authenticatorSelection"); } + set { BackingStore?.Set("authenticatorSelection", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebauthnAuthenticatorSelectionCriteria AuthenticatorSelection + { + get { return BackingStore?.Get("authenticatorSelection"); } + set { BackingStore?.Set("authenticatorSelection", value); } + } +#endif + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The challenge property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Challenge + { + get { return BackingStore?.Get("challenge"); } + set { BackingStore?.Set("challenge", value); } + } +#nullable restore +#else + public string Challenge + { + get { return BackingStore?.Get("challenge"); } + set { BackingStore?.Set("challenge", value); } + } +#endif + /// The excludeCredentials property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? ExcludeCredentials + { + get { return BackingStore?.Get?>("excludeCredentials"); } + set { BackingStore?.Set("excludeCredentials", value); } + } +#nullable restore +#else + public List ExcludeCredentials + { + get { return BackingStore?.Get>("excludeCredentials"); } + set { BackingStore?.Set("excludeCredentials", value); } + } +#endif + /// The extensions property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientInputs? Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientInputs Extensions + { + get { return BackingStore?.Get("extensions"); } + set { BackingStore?.Set("extensions", 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 pubKeyCredParams property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? PubKeyCredParams + { + get { return BackingStore?.Get?>("pubKeyCredParams"); } + set { BackingStore?.Set("pubKeyCredParams", value); } + } +#nullable restore +#else + public List PubKeyCredParams + { + get { return BackingStore?.Get>("pubKeyCredParams"); } + set { BackingStore?.Set("pubKeyCredParams", value); } + } +#endif + /// The rp property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialRpEntity? Rp + { + get { return BackingStore?.Get("rp"); } + set { BackingStore?.Set("rp", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialRpEntity Rp + { + get { return BackingStore?.Get("rp"); } + set { BackingStore?.Set("rp", value); } + } +#endif + /// The timeout property + public int? Timeout + { + get { return BackingStore?.Get("timeout"); } + set { BackingStore?.Set("timeout", value); } + } + /// The user property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialUserEntity? User + { + get { return BackingStore?.Get("user"); } + set { BackingStore?.Set("user", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialUserEntity User + { + get { return BackingStore?.Get("user"); } + set { BackingStore?.Set("user", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnPublicKeyCredentialCreationOptions() + { + 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.WebauthnPublicKeyCredentialCreationOptions CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialCreationOptions(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "attestation", n => { Attestation = n.GetStringValue(); } }, + { "authenticatorSelection", n => { AuthenticatorSelection = n.GetObjectValue(global::Microsoft.Graph.Models.WebauthnAuthenticatorSelectionCriteria.CreateFromDiscriminatorValue); } }, + { "challenge", n => { Challenge = n.GetStringValue(); } }, + { "excludeCredentials", n => { ExcludeCredentials = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialDescriptor.CreateFromDiscriminatorValue)?.AsList(); } }, + { "extensions", n => { Extensions = n.GetObjectValue(global::Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientInputs.CreateFromDiscriminatorValue); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "pubKeyCredParams", n => { PubKeyCredParams = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialParameters.CreateFromDiscriminatorValue)?.AsList(); } }, + { "rp", n => { Rp = n.GetObjectValue(global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialRpEntity.CreateFromDiscriminatorValue); } }, + { "timeout", n => { Timeout = n.GetIntValue(); } }, + { "user", n => { User = n.GetObjectValue(global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialUserEntity.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("attestation", Attestation); + writer.WriteObjectValue("authenticatorSelection", AuthenticatorSelection); + writer.WriteStringValue("challenge", Challenge); + writer.WriteCollectionOfObjectValues("excludeCredentials", ExcludeCredentials); + writer.WriteObjectValue("extensions", Extensions); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfObjectValues("pubKeyCredParams", PubKeyCredParams); + writer.WriteObjectValue("rp", Rp); + writer.WriteIntValue("timeout", Timeout); + writer.WriteObjectValue("user", User); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialDescriptor.cs b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialDescriptor.cs new file mode 100644 index 00000000000..09471a34d16 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialDescriptor.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 +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WebauthnPublicKeyCredentialDescriptor : 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 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 + /// The transports property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Transports + { + get { return BackingStore?.Get?>("transports"); } + set { BackingStore?.Set("transports", value); } + } +#nullable restore +#else + public List Transports + { + get { return BackingStore?.Get>("transports"); } + set { BackingStore?.Set("transports", value); } + } +#endif + /// The type property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } +#nullable restore +#else + public string Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnPublicKeyCredentialDescriptor() + { + 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.WebauthnPublicKeyCredentialDescriptor CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialDescriptor(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "id", n => { Id = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "transports", n => { Transports = n.GetCollectionOfPrimitiveValues()?.AsList(); } }, + { "type", n => { Type = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("id", Id); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteCollectionOfPrimitiveValues("transports", Transports); + writer.WriteStringValue("type", Type); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialParameters.cs b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialParameters.cs new file mode 100644 index 00000000000..a0fe414751d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialParameters.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 WebauthnPublicKeyCredentialParameters : 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 alg property + public int? Alg + { + get { return BackingStore?.Get("alg"); } + set { BackingStore?.Set("alg", 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 type property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } +#nullable restore +#else + public string Type + { + get { return BackingStore?.Get("type"); } + set { BackingStore?.Set("type", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnPublicKeyCredentialParameters() + { + 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.WebauthnPublicKeyCredentialParameters CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialParameters(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "alg", n => { Alg = n.GetIntValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "type", n => { Type = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteIntValue("alg", Alg); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteStringValue("type", Type); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialRpEntity.cs b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialRpEntity.cs new file mode 100644 index 00000000000..1a96182490c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialRpEntity.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 WebauthnPublicKeyCredentialRpEntity : 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 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 name property +#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 + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnPublicKeyCredentialRpEntity() + { + 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.WebauthnPublicKeyCredentialRpEntity CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialRpEntity(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "id", n => { Id = n.GetStringValue(); } }, + { "name", n => { Name = n.GetStringValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("id", Id); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialUserEntity.cs b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialUserEntity.cs new file mode 100644 index 00000000000..dbb394b4d25 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/WebauthnPublicKeyCredentialUserEntity.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 +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class WebauthnPublicKeyCredentialUserEntity : 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 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 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 name property +#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 + /// + /// Instantiates a new and sets the default values. + /// + public WebauthnPublicKeyCredentialUserEntity() + { + 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.WebauthnPublicKeyCredentialUserEntity CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Models.WebauthnPublicKeyCredentialUserEntity(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "id", n => { Id = n.GetStringValue(); } }, + { "name", n => { Name = 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.WriteStringValue("id", Id); + writer.WriteStringValue("name", Name); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs index 5fb2c56a8bf..e7c55556361 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs index 9cedb18db81..3c32a9a5dea 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilder.cs index 8c9ff021a52..65f750919a6 100644 --- a/src/Microsoft.Graph/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/DeviceRegistrationPolicy/DeviceRegistrationPolicyRequestBuilder.cs @@ -35,7 +35,8 @@ public DeviceRegistrationPolicyRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// Get deviceRegistrationPolicy from policies + /// Read the properties and relationships of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -58,7 +59,7 @@ public DeviceRegistrationPolicyRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DeviceRegistrationPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get deviceRegistrationPolicy from policies + /// Read the properties and relationships of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -86,7 +87,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get deviceRegistrationPolicy from policies + /// Read the properties and relationships of a deviceRegistrationPolicy object. Represents deviceRegistrationPolicy quota restrictions, additional authentication, and authorization policies to register device identities to your organization. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceRegistrationPolicyRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Policies/OwnerlessGroupPolicy/OwnerlessGroupPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/OwnerlessGroupPolicy/OwnerlessGroupPolicyRequestBuilder.cs new file mode 100644 index 00000000000..43c8793ca28 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Policies/OwnerlessGroupPolicy/OwnerlessGroupPolicyRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#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.OwnerlessGroupPolicy +{ + /// + /// Provides operations to manage the ownerlessGroupPolicy property of the microsoft.graph.policyRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OwnerlessGroupPolicyRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public OwnerlessGroupPolicyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/ownerlessGroupPolicy{?%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 OwnerlessGroupPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/policies/ownerlessGroupPolicy{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get ownerlessGroupPolicy 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.OwnerlessGroupPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property ownerlessGroupPolicy 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.OwnerlessGroupPolicy body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.OwnerlessGroupPolicy 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.OwnerlessGroupPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get ownerlessGroupPolicy 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 ownerlessGroupPolicy 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.OwnerlessGroupPolicy body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OwnerlessGroupPolicy 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.OwnerlessGroupPolicy.OwnerlessGroupPolicyRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Policies.OwnerlessGroupPolicy.OwnerlessGroupPolicyRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get ownerlessGroupPolicy from policies + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OwnerlessGroupPolicyRequestBuilderGetQueryParameters + { + /// 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 OwnerlessGroupPolicyRequestBuilderGetRequestConfiguration : 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 OwnerlessGroupPolicyRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs index d6caaa4d129..c074e64af95 100644 --- a/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs @@ -17,6 +17,7 @@ using Microsoft.Graph.Policies.FeatureRolloutPolicies; using Microsoft.Graph.Policies.HomeRealmDiscoveryPolicies; using Microsoft.Graph.Policies.IdentitySecurityDefaultsEnforcementPolicy; +using Microsoft.Graph.Policies.OwnerlessGroupPolicy; using Microsoft.Graph.Policies.PermissionGrantPolicies; using Microsoft.Graph.Policies.RoleManagementPolicies; using Microsoft.Graph.Policies.RoleManagementPolicyAssignments; @@ -113,6 +114,11 @@ public partial class PoliciesRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Policies.IdentitySecurityDefaultsEnforcementPolicy.IdentitySecurityDefaultsEnforcementPolicyRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the ownerlessGroupPolicy property of the microsoft.graph.policyRoot entity. + public global::Microsoft.Graph.Policies.OwnerlessGroupPolicy.OwnerlessGroupPolicyRequestBuilder OwnerlessGroupPolicy + { + get => new global::Microsoft.Graph.Policies.OwnerlessGroupPolicy.OwnerlessGroupPolicyRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the permissionGrantPolicies property of the microsoft.graph.policyRoot entity. public global::Microsoft.Graph.Policies.PermissionGrantPolicies.PermissionGrantPoliciesRequestBuilder PermissionGrantPolicies { diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs index 1c37dc95108..54cdf8cc4bb 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs index 38fb60e528e..73dda2d3bc9 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BackupRestoreRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; +using Microsoft.Graph.Solutions.BackupRestore.BrowseSessions; using Microsoft.Graph.Solutions.BackupRestore.DriveInclusionRules; using Microsoft.Graph.Solutions.BackupRestore.DriveProtectionUnits; using Microsoft.Graph.Solutions.BackupRestore.DriveProtectionUnitsBulkAdditionJobs; @@ -11,6 +12,7 @@ using Microsoft.Graph.Solutions.BackupRestore.MailboxInclusionRules; using Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnits; using Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnitsBulkAdditionJobs; +using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions; using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessProtectionPolicies; using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions; using Microsoft.Graph.Solutions.BackupRestore.ProtectionPolicies; @@ -18,6 +20,7 @@ using Microsoft.Graph.Solutions.BackupRestore.RestorePoints; using Microsoft.Graph.Solutions.BackupRestore.RestoreSessions; using Microsoft.Graph.Solutions.BackupRestore.ServiceApps; +using Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions; using Microsoft.Graph.Solutions.BackupRestore.SharePointProtectionPolicies; using Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions; using Microsoft.Graph.Solutions.BackupRestore.SiteInclusionRules; @@ -39,6 +42,11 @@ namespace Microsoft.Graph.Solutions.BackupRestore [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class BackupRestoreRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the browseSessions property of the microsoft.graph.backupRestoreRoot entity. + public global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.BrowseSessionsRequestBuilder BrowseSessions + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.BrowseSessionsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the driveInclusionRules property of the microsoft.graph.backupRestoreRoot entity. public global::Microsoft.Graph.Solutions.BackupRestore.DriveInclusionRules.DriveInclusionRulesRequestBuilder DriveInclusionRules { @@ -84,6 +92,11 @@ public partial class BackupRestoreRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnitsBulkAdditionJobs.MailboxProtectionUnitsBulkAdditionJobsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the oneDriveForBusinessBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.OneDriveForBusinessBrowseSessionsRequestBuilder OneDriveForBusinessBrowseSessions + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.OneDriveForBusinessBrowseSessionsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the oneDriveForBusinessProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessProtectionPolicies.OneDriveForBusinessProtectionPoliciesRequestBuilder OneDriveForBusinessProtectionPolicies { @@ -119,6 +132,11 @@ public partial class BackupRestoreRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Solutions.BackupRestore.ServiceApps.ServiceAppsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the sharePointBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + public global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.SharePointBrowseSessionsRequestBuilder SharePointBrowseSessions + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.SharePointBrowseSessionsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the sharePointProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. public global::Microsoft.Graph.Solutions.BackupRestore.SharePointProtectionPolicies.SharePointProtectionPoliciesRequestBuilder SharePointProtectionPolicies { diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilder.cs new file mode 100644 index 00000000000..4a4fa640b64 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/BrowseSessionsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count; +using Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.BrowseSessions +{ + /// + /// Provides operations to manage the browseSessions property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseSessionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the browseSessions property of the microsoft.graph.backupRestoreRoot entity. + /// The unique identifier of browseSessionBase + /// A + public global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("browseSessionBase%2Did", position); + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder(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 BrowseSessionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions{?%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 BrowseSessionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get browseSessions from solutions + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.BrowseSessionBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to browseSessions for solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.BrowseSessionBase body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.BrowseSessionBase 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.BrowseSessionBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get browseSessions from solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to browseSessions for solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.BrowseSessionBase body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.BrowseSessionBase 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.Solutions.BackupRestore.BrowseSessions.BrowseSessionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.BrowseSessionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get browseSessions from solutions + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseSessionsRequestBuilderGetQueryParameters + { + /// 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 BrowseSessionsRequestBuilderGetRequestConfiguration : 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 BrowseSessionsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..f3b5a228901 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/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.Solutions.BackupRestore.BrowseSessions.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/$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.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowsePostRequestBody.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowsePostRequestBody.cs new file mode 100644 index 00000000000..f7e2a91c635 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowsePostRequestBody.cs @@ -0,0 +1,116 @@ +// +#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.Solutions.BackupRestore.BrowseSessions.Item.Browse +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BrowsePostRequestBody : 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 browseLocationItemKey property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BrowseLocationItemKey + { + get { return BackingStore?.Get("browseLocationItemKey"); } + set { BackingStore?.Set("browseLocationItemKey", value); } + } +#nullable restore +#else + public string BrowseLocationItemKey + { + get { return BackingStore?.Get("browseLocationItemKey"); } + set { BackingStore?.Set("browseLocationItemKey", value); } + } +#endif + /// The browseResourceType property + public global::Microsoft.Graph.Models.BrowsableResourceType? BrowseResourceType + { + get { return BackingStore?.Get("browseResourceType"); } + set { BackingStore?.Set("browseResourceType", value); } + } + /// The filter property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Filter + { + get { return BackingStore?.Get("filter"); } + set { BackingStore?.Set("filter", value); } + } +#nullable restore +#else + public string Filter + { + get { return BackingStore?.Get("filter"); } + set { BackingStore?.Set("filter", value); } + } +#endif + /// The orderBy property + public global::Microsoft.Graph.Models.BrowseQueryOrder? OrderBy + { + get { return BackingStore?.Get("orderBy"); } + set { BackingStore?.Set("orderBy", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public BrowsePostRequestBody() + { + 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.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "browseLocationItemKey", n => { BrowseLocationItemKey = n.GetStringValue(); } }, + { "browseResourceType", n => { BrowseResourceType = n.GetEnumValue(); } }, + { "filter", n => { Filter = n.GetStringValue(); } }, + { "orderBy", n => { OrderBy = 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("browseLocationItemKey", BrowseLocationItemKey); + writer.WriteEnumValue("browseResourceType", BrowseResourceType); + writer.WriteStringValue("filter", Filter); + writer.WriteEnumValue("orderBy", OrderBy); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowsePostResponse.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowsePostResponse.cs new file mode 100644 index 00000000000..3e2f1ac5d6b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowsePostResponse.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.Solutions.BackupRestore.BrowseSessions.Item.Browse +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BrowsePostResponse : 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.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostResponse(); + } + /// + /// 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.BrowseQueryResponseItem.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/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowseRequestBuilder.cs new file mode 100644 index 00000000000..8705c25dca1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowseRequestBuilder.cs @@ -0,0 +1,128 @@ +// +#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.Solutions.BackupRestore.BrowseSessions.Item.Browse +{ + /// + /// Provides operations to call the browse method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public BrowseRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}/browse", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public BrowseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}/browse", rawUrl) + { + } + /// + /// Invoke action browse + /// + /// 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 PostAsBrowsePostResponseAsync(global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsBrowsePostResponseAsync(global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody 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.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action browse + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use PostAsBrowsePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody 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.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action browse + /// + /// 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.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody 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.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseRequestBuilder(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 BrowseRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowseResponse.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowseResponse.cs new file mode 100644 index 00000000000..b31feec9769 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/Browse/BrowseResponse.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.Solutions.BackupRestore.BrowseSessions.Item.Browse +{ + [Obsolete("This class is obsolete. Use BrowsePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BrowseResponse : global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostResponse, 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.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilder.cs new file mode 100644 index 00000000000..41d3d8a719f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseSessionBaseItemRequestBuilder.cs @@ -0,0 +1,246 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse; +using Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.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.BrowseSessions.Item +{ + /// + /// Provides operations to manage the browseSessions property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseSessionBaseItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the browse method. + public global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseRequestBuilder Browse + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Provides operations to call the browse method. + /// + /// A + /// Usage: nextFetchToken='{nextFetchToken}' + public global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenRequestBuilder BrowseWithNextFetchToken(string nextFetchToken) + { + if(string.IsNullOrEmpty(nextFetchToken)) throw new ArgumentNullException(nameof(nextFetchToken)); + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenRequestBuilder(PathParameters, RequestAdapter, nextFetchToken); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public BrowseSessionBaseItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%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 BrowseSessionBaseItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property browseSessions 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); + } + /// + /// Get browseSessions from solutions + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.BrowseSessionBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property browseSessions in solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.BrowseSessionBase body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.BrowseSessionBase 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.BrowseSessionBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property browseSessions for solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get browseSessions from solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property browseSessions in solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.BrowseSessionBase body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.BrowseSessionBase 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.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder(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 BrowseSessionBaseItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get browseSessions from solutions + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseSessionBaseItemRequestBuilderGetQueryParameters + { + /// 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 BrowseSessionBaseItemRequestBuilderGetRequestConfiguration : 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 BrowseSessionBaseItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenGetResponse.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenGetResponse.cs new file mode 100644 index 00000000000..73d306c735f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenGetResponse.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.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BrowseWithNextFetchTokenGetResponse : 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.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenGetResponse(); + } + /// + /// 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.BrowseQueryResponseItem.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/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenRequestBuilder.cs new file mode 100644 index 00000000000..8491c1d575d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenRequestBuilder.cs @@ -0,0 +1,159 @@ +// +#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.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken +{ + /// + /// Provides operations to call the browse method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseWithNextFetchTokenRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: nextFetchToken='{nextFetchToken}' + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public BrowseWithNextFetchTokenRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, string nextFetchToken = "") : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}/browse(nextFetchToken='{nextFetchToken}'){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters) + { + if (!string.IsNullOrWhiteSpace(nextFetchToken)) PathParameters.Add("nextFetchToken", nextFetchToken); + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public BrowseWithNextFetchTokenRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}/browse(nextFetchToken='{nextFetchToken}'){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function browse + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsBrowseWithNextFetchTokenGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsBrowseWithNextFetchTokenGetResponseAsync(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.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function browse + /// + /// A + /// Cancellation token to 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 GetAsBrowseWithNextFetchTokenGetResponseAsync 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.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function browse + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_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.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function browse + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseWithNextFetchTokenRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + /// Skip the first n items + [QueryParameter("%24skip")] + public int? Skip { get; set; } + /// Show only the first n items + [QueryParameter("%24top")] + public int? Top { get; set; } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class BrowseWithNextFetchTokenRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenResponse.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenResponse.cs new file mode 100644 index 00000000000..5f4e4c417e3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/BrowseSessions/Item/BrowseWithNextFetchToken/BrowseWithNextFetchTokenResponse.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.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken +{ + [Obsolete("This class is obsolete. Use BrowseWithNextFetchTokenGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class BrowseWithNextFetchTokenResponse : global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenGetResponse, 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.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..08bb1e9837d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/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.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessBrowseSessions/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessBrowseSessions/$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.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilder.cs new file mode 100644 index 00000000000..e3874967925 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/Item/OneDriveForBusinessBrowseSessionItemRequestBuilder.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.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item +{ + /// + /// Provides operations to manage the oneDriveForBusinessBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OneDriveForBusinessBrowseSessionItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public OneDriveForBusinessBrowseSessionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessBrowseSessions/{oneDriveForBusinessBrowseSession%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 OneDriveForBusinessBrowseSessionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessBrowseSessions/{oneDriveForBusinessBrowseSession%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property oneDriveForBusinessBrowseSessions 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); + } + /// + /// Get oneDriveForBusinessBrowseSessions from solutions + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property oneDriveForBusinessBrowseSessions in solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession 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.OneDriveForBusinessBrowseSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property oneDriveForBusinessBrowseSessions for solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get oneDriveForBusinessBrowseSessions from solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property oneDriveForBusinessBrowseSessions in solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession 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.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder(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 OneDriveForBusinessBrowseSessionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get oneDriveForBusinessBrowseSessions from solutions + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters + { + /// 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 OneDriveForBusinessBrowseSessionItemRequestBuilderGetRequestConfiguration : 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 OneDriveForBusinessBrowseSessionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilder.cs new file mode 100644 index 00000000000..3783cff9853 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessBrowseSessions/OneDriveForBusinessBrowseSessionsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count; +using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions +{ + /// + /// Provides operations to manage the oneDriveForBusinessBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OneDriveForBusinessBrowseSessionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the oneDriveForBusinessBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + /// The unique identifier of oneDriveForBusinessBrowseSession + /// A + public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("oneDriveForBusinessBrowseSession%2Did", position); + return new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder(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 OneDriveForBusinessBrowseSessionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessBrowseSessions{?%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 OneDriveForBusinessBrowseSessionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessBrowseSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get oneDriveForBusinessBrowseSessions from solutions + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to oneDriveForBusinessBrowseSessions for solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession 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.OneDriveForBusinessBrowseSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get oneDriveForBusinessBrowseSessions from solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to oneDriveForBusinessBrowseSessions for solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.OneDriveForBusinessBrowseSession 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.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.OneDriveForBusinessBrowseSessionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.OneDriveForBusinessBrowseSessionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get oneDriveForBusinessBrowseSessions from solutions + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class OneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters + { + /// 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 OneDriveForBusinessBrowseSessionsRequestBuilderGetRequestConfiguration : 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 OneDriveForBusinessBrowseSessionsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..60686bf5535 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/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.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/granularDriveRestoreArtifacts/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/granularDriveRestoreArtifacts/$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.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilder.cs new file mode 100644 index 00000000000..4634d785089 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/GranularDriveRestoreArtifactsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count; +using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts +{ + /// + /// Provides operations to manage the granularDriveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularDriveRestoreArtifactsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the granularDriveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. + /// The unique identifier of granularDriveRestoreArtifact + /// A + public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("granularDriveRestoreArtifact%2Did", position); + return new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder(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 GranularDriveRestoreArtifactsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/granularDriveRestoreArtifacts{?%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 GranularDriveRestoreArtifactsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/granularDriveRestoreArtifacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get granularDriveRestoreArtifacts from solutions + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GranularDriveRestoreArtifactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to granularDriveRestoreArtifacts for solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact 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.GranularDriveRestoreArtifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get granularDriveRestoreArtifacts from solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to granularDriveRestoreArtifacts for solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact 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.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.GranularDriveRestoreArtifactsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.GranularDriveRestoreArtifactsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get granularDriveRestoreArtifacts from solutions + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularDriveRestoreArtifactsRequestBuilderGetQueryParameters + { + /// 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 GranularDriveRestoreArtifactsRequestBuilderGetRequestConfiguration : 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 GranularDriveRestoreArtifactsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilder.cs new file mode 100644 index 00000000000..87979405e6c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/GranularDriveRestoreArtifacts/Item/GranularDriveRestoreArtifactItemRequestBuilder.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.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item +{ + /// + /// Provides operations to manage the granularDriveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularDriveRestoreArtifactItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GranularDriveRestoreArtifactItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/granularDriveRestoreArtifacts/{granularDriveRestoreArtifact%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 GranularDriveRestoreArtifactItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/granularDriveRestoreArtifacts/{granularDriveRestoreArtifact%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property granularDriveRestoreArtifacts 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); + } + /// + /// Get granularDriveRestoreArtifacts from solutions + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GranularDriveRestoreArtifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property granularDriveRestoreArtifacts in solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact 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.GranularDriveRestoreArtifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property granularDriveRestoreArtifacts for solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get granularDriveRestoreArtifacts from solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property granularDriveRestoreArtifacts in solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.GranularDriveRestoreArtifact 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.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder(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 GranularDriveRestoreArtifactItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get granularDriveRestoreArtifacts from solutions + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters + { + /// 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 GranularDriveRestoreArtifactItemRequestBuilderGetRequestConfiguration : 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 GranularDriveRestoreArtifactItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/OneDriveForBusinessRestoreSessionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/OneDriveForBusinessRestoreSessionItemRequestBuilder.cs index cf7f7cf9709..c73bcbb86f3 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/OneDriveForBusinessRestoreSessionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/OneDriveForBusinessRestoreSessions/Item/OneDriveForBusinessRestoreSessionItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Models; using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifacts; using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifactsBulkAdditionRequests; +using Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -30,6 +31,11 @@ public partial class OneDriveForBusinessRestoreSessionItemRequestBuilder : BaseR { get => new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the granularDriveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. + public global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.GranularDriveRestoreArtifactsRequestBuilder GranularDriveRestoreArtifacts + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.GranularDriveRestoreArtifactsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..28532ea517d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/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.Solutions.BackupRestore.SharePointBrowseSessions.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointBrowseSessions/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointBrowseSessions/$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.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilder.cs new file mode 100644 index 00000000000..798d79fe91b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/Item/SharePointBrowseSessionItemRequestBuilder.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.Solutions.BackupRestore.SharePointBrowseSessions.Item +{ + /// + /// Provides operations to manage the sharePointBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointBrowseSessionItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public SharePointBrowseSessionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointBrowseSessions/{sharePointBrowseSession%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 SharePointBrowseSessionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointBrowseSessions/{sharePointBrowseSession%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property sharePointBrowseSessions 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); + } + /// + /// Get sharePointBrowseSessions from solutions + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointBrowseSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property sharePointBrowseSessions in solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointBrowseSession body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.SharePointBrowseSession 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.SharePointBrowseSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property sharePointBrowseSessions for solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get sharePointBrowseSessions from solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property sharePointBrowseSessions in solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointBrowseSession body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.SharePointBrowseSession 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.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder(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 SharePointBrowseSessionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get sharePointBrowseSessions from solutions + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointBrowseSessionItemRequestBuilderGetQueryParameters + { + /// 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 SharePointBrowseSessionItemRequestBuilderGetRequestConfiguration : 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 SharePointBrowseSessionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilder.cs new file mode 100644 index 00000000000..e91cc3d53f8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointBrowseSessions/SharePointBrowseSessionsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count; +using Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions +{ + /// + /// Provides operations to manage the sharePointBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointBrowseSessionsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the sharePointBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + /// The unique identifier of sharePointBrowseSession + /// A + public global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("sharePointBrowseSession%2Did", position); + return new global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder(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 SharePointBrowseSessionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointBrowseSessions{?%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 SharePointBrowseSessionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointBrowseSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get sharePointBrowseSessions from solutions + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointBrowseSessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to sharePointBrowseSessions for solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointBrowseSession body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.SharePointBrowseSession 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.SharePointBrowseSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get sharePointBrowseSessions from solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to sharePointBrowseSessions for solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointBrowseSession body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.SharePointBrowseSession 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.Solutions.BackupRestore.SharePointBrowseSessions.SharePointBrowseSessionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.SharePointBrowseSessionsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get sharePointBrowseSessions from solutions + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class SharePointBrowseSessionsRequestBuilderGetQueryParameters + { + /// 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 SharePointBrowseSessionsRequestBuilderGetRequestConfiguration : 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 SharePointBrowseSessionsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..a69f07c0ee3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/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.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/granularSiteRestoreArtifacts/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/granularSiteRestoreArtifacts/$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.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilder.cs new file mode 100644 index 00000000000..2e4760d948e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/GranularSiteRestoreArtifactsRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count; +using Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts +{ + /// + /// Provides operations to manage the granularSiteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularSiteRestoreArtifactsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the granularSiteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. + /// The unique identifier of granularSiteRestoreArtifact + /// A + public global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("granularSiteRestoreArtifact%2Did", position); + return new global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder(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 GranularSiteRestoreArtifactsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/granularSiteRestoreArtifacts{?%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 GranularSiteRestoreArtifactsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/granularSiteRestoreArtifacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get granularSiteRestoreArtifacts from solutions + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GranularSiteRestoreArtifactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to granularSiteRestoreArtifacts for solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact 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.GranularSiteRestoreArtifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get granularSiteRestoreArtifacts from solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Create new navigation property to granularSiteRestoreArtifacts for solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact 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.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.GranularSiteRestoreArtifactsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.GranularSiteRestoreArtifactsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get granularSiteRestoreArtifacts from solutions + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularSiteRestoreArtifactsRequestBuilderGetQueryParameters + { + /// 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 GranularSiteRestoreArtifactsRequestBuilderGetRequestConfiguration : 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 GranularSiteRestoreArtifactsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilder.cs new file mode 100644 index 00000000000..4dc35db2d1d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/GranularSiteRestoreArtifacts/Item/GranularSiteRestoreArtifactItemRequestBuilder.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.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item +{ + /// + /// Provides operations to manage the granularSiteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularSiteRestoreArtifactItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public GranularSiteRestoreArtifactItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/granularSiteRestoreArtifacts/{granularSiteRestoreArtifact%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 GranularSiteRestoreArtifactItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/granularSiteRestoreArtifacts/{granularSiteRestoreArtifact%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property granularSiteRestoreArtifacts 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); + } + /// + /// Get granularSiteRestoreArtifacts from solutions + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.GranularSiteRestoreArtifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property granularSiteRestoreArtifacts in solutions + /// + /// A + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact 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.GranularSiteRestoreArtifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property granularSiteRestoreArtifacts for solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get granularSiteRestoreArtifacts from solutions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Update the navigation property granularSiteRestoreArtifacts in solutions + /// + /// A + /// The request body + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.GranularSiteRestoreArtifact 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.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder(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 GranularSiteRestoreArtifactItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get granularSiteRestoreArtifacts from solutions + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters + { + /// 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 GranularSiteRestoreArtifactItemRequestBuilderGetRequestConfiguration : 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 GranularSiteRestoreArtifactItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SharePointRestoreSessionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SharePointRestoreSessionItemRequestBuilder.cs index 2712a2ab080..1578a3888e2 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SharePointRestoreSessionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BackupRestore/SharePointRestoreSessions/Item/SharePointRestoreSessionItemRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; +using Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts; using Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SiteRestoreArtifacts; using Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SiteRestoreArtifactsBulkAdditionRequests; using Microsoft.Kiota.Abstractions.Extensions; @@ -20,6 +21,11 @@ namespace Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SharePointRestoreSessionItemRequestBuilder : BaseRequestBuilder { + /// Provides operations to manage the granularSiteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. + public global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.GranularSiteRestoreArtifactsRequestBuilder GranularSiteRestoreArtifacts + { + get => new global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.GranularSiteRestoreArtifactsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the siteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. public global::Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SiteRestoreArtifacts.SiteRestoreArtifactsRequestBuilder SiteRestoreArtifacts { diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs index bc3a48aad97..8c4681ab3c4 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class SharePointGroupMemberItemRequestBuilderDeleteRequestConfigu { } /// - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SharePointGroupMemberItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs index 6dfa4e66769..a6ac8212791 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs @@ -54,7 +54,7 @@ public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroupMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.Item.Members.MembersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MembersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs index 82f379b6eb8..d829d7f9931 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class SharePointGroupItemRequestBuilderDeleteRequestConfiguration { } /// - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SharePointGroupItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs index 30d7e005bdc..f5f5615dc19 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/Containers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs @@ -54,7 +54,7 @@ public SharePointGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public SharePointGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Storage.FileStorage.Containers.Item.SharePointGroups.SharePointGroupsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SharePointGroupsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs index 57a8e84d975..d77bf3585c3 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/Item/SharePointGroupMemberItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class SharePointGroupMemberItemRequestBuilderDeleteRequestConfigu { } /// - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SharePointGroupMemberItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs index 83691774cee..0dc4573a146 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/Members/MembersRequestBuilder.cs @@ -54,7 +54,7 @@ public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public MembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroupMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.Item.Members.MembersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get members from storage + /// The set of members in the sharePointGroup. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MembersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs index 3a79289eaf7..ba52ac10176 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/Item/SharePointGroupItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class SharePointGroupItemRequestBuilderDeleteRequestConfiguration { } /// - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SharePointGroupItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs index c42cfe9ece0..0b97f7a9063 100644 --- a/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Storage/FileStorage/DeletedContainers/Item/SharePointGroups/SharePointGroupsRequestBuilder.cs @@ -54,7 +54,7 @@ public SharePointGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public SharePointGroupsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.SharePointGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Storage.FileStorage.DeletedContainers.Item.SharePointGroups.SharePointGroupsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get sharePointGroups from storage + /// The collection of sharePointGroup objects local to the container. Read-write. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SharePointGroupsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs index 17b3cec0ca5..f29c3b75a65 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs @@ -54,8 +54,8 @@ public AppRoleAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Retrieve the list of appRoleAssignments that are currently granted to a user. This operation also returns app role assignments granted to groups that the user is a direct member of. - /// Find more info here + /// Retrieve the list of appRoleAssignments granted to an agentUser. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -78,8 +78,8 @@ public AppRoleAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Assign an app role to a user, creating an appRoleAssignment object. To grant an app role assignment to a user, you need three identifiers: - /// Find more info here + /// Grant an app role assignment to an agentUser. + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public AppRoleAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the list of appRoleAssignments that are currently granted to a user. This operation also returns app role assignments granted to groups that the user is a direct member of. + /// Retrieve the list of appRoleAssignments granted to an agentUser. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Assign an app role to a user, creating an appRoleAssignment object. To grant an app role assignment to a user, you need three identifiers: + /// Grant an app role assignment to an agentUser. /// /// A /// The request body @@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Users.Item.AppRoleAssignments.AppRoleAssignmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the list of appRoleAssignments that are currently granted to a user. This operation also returns app role assignments granted to groups that the user is a direct member of. + /// Retrieve the list of appRoleAssignments granted to an agentUser. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppRoleAssignmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs new file mode 100644 index 00000000000..0d5e0ae419f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/CreationOptions/CreationOptionsRequestBuilder.cs @@ -0,0 +1,98 @@ +// +#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.Users.Item.Authentication.Fido2Methods.CreationOptions +{ + /// + /// Provides operations to call the creationOptions method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CreationOptionsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CreationOptionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/fido2Methods/creationOptions()", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CreationOptionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/fido2Methods/creationOptions()", rawUrl) + { + } + /// + /// Invoke function creationOptions + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and 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.WebauthnCredentialCreationOptions.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function creationOptions + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_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.Users.Item.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder(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 CreationOptionsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs index 729dbce2462..8dd12ef9368 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs @@ -3,6 +3,7 @@ using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models; using Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Count; +using Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions; using Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Item; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; @@ -25,6 +26,11 @@ public partial class Fido2MethodsRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Count.CountRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to call the creationOptions method. + public global::Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder CreationOptions + { + get => new global::Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the fido2Methods property of the microsoft.graph.authentication entity. /// The unique identifier of fido2AuthenticationMethod /// A diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs index e6aeb3ac1c7..ba8b79ee273 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/PermanentDelete/PermanentDeleteRequestBuilder.cs @@ -34,8 +34,7 @@ public PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. - /// Find more info here + /// Invoke action permanentDelete /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +56,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. + /// Invoke action permanentDelete /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs index 6e967ec80f2..1664543e28d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs @@ -34,8 +34,7 @@ public PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapt { } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. - /// Find more info here + /// Invoke action permanentDelete /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +56,7 @@ public async Task PostAsync(Action> await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. + /// Invoke action permanentDelete /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs index 0574de26dd8..a0704b6b6bf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs @@ -35,7 +35,6 @@ public PermanentDeleteRequestBuilder(string rawUrl, IRequestAdapter requestAdapt } /// /// Permanently delete a calendar folder and the events that it contains and remove them from the mailbox. For more information about item retention, see Configure deleted item retention and recoverable items quotas. - /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/DirectReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/DirectReportsRequestBuilder.cs index a1b6be11df7..634485e3b16 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/DirectReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/DirectReportsRequestBuilder.cs @@ -66,7 +66,8 @@ public DirectReportsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. + /// Get an agentUser's direct reports. Returns the users and contacts for whom this agent user is assigned as manager. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -89,7 +90,7 @@ public DirectReportsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. + /// Get an agentUser's direct reports. Returns the users and contacts for whom this agent user is assigned as manager. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -117,7 +118,7 @@ public RequestInformation ToGetRequestInformation(Action - /// The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. + /// Get an agentUser's direct reports. Returns the users and contacts for whom this agent user is assigned as manager. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DirectReportsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Manager/ManagerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Manager/ManagerRequestBuilder.cs index d3e6610eb24..cfb2ea50dad 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Manager/ManagerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Manager/ManagerRequestBuilder.cs @@ -41,8 +41,8 @@ public ManagerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. - /// Find more info here + /// Returns the user or organizational contact assigned as the agentUser's manager. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -65,7 +65,7 @@ public ManagerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. + /// Returns the user or organizational contact assigned as the agentUser's manager. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -93,7 +93,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. + /// Returns the user or organizational contact assigned as the agentUser's manager. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ManagerRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Manager/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Manager/Ref/RefRequestBuilder.cs index 92c581eae81..ef0e666ef7e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Manager/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Manager/Ref/RefRequestBuilder.cs @@ -35,8 +35,8 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r { } /// - /// Remove a user's manager. - /// Find more info here + /// Remove an agentUser's manager. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. - /// Find more info here + /// Returns the user or organizational contact assigned as the agentUser's manager. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -107,7 +107,7 @@ public async Task PutAsync(global::Microsoft.Graph.Models.ReferenceUpdate body, await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Remove a user's manager. + /// Remove an agentUser's manager. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. + /// Returns the user or organizational contact assigned as the agentUser's manager. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/MemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/MemberOfRequestBuilder.cs index fdbe0614728..92236761471 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/MemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/MemberOfRequestBuilder.cs @@ -72,8 +72,8 @@ public MemberOfRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Get groups, directory roles, and administrative units that the user is a direct member of. This operation isn't transitive. To retrieve groups, directory roles, and administrative units that the user is a member through transitive membership, use the List user transitive memberOf API. - /// Find more info here + /// Get groups, directory roles, and administrative units that the agentUser is a direct member of. This operation isn't transitive. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -96,7 +96,7 @@ public MemberOfRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get groups, directory roles, and administrative units that the user is a direct member of. This operation isn't transitive. To retrieve groups, directory roles, and administrative units that the user is a member through transitive membership, use the List user transitive memberOf API. + /// Get groups, directory roles, and administrative units that the agentUser is a direct member of. This operation isn't transitive. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -124,7 +124,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get groups, directory roles, and administrative units that the user is a direct member of. This operation isn't transitive. To retrieve groups, directory roles, and administrative units that the user is a member through transitive membership, use the List user transitive memberOf API. + /// Get groups, directory roles, and administrative units that the agentUser is a direct member of. This operation isn't transitive. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MemberOfRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/OwnedObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/OwnedObjectsRequestBuilder.cs index b234f6e4818..1147c49384f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/OwnedObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/OwnedObjectsRequestBuilder.cs @@ -72,7 +72,8 @@ public OwnedObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Directory objects the user owns. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + /// Get the list of directory objects that are owned by the agentUser. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -95,7 +96,7 @@ public OwnedObjectsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Directory objects the user owns. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + /// Get the list of directory objects that are owned by the agentUser. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -123,7 +124,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Directory objects the user owns. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). + /// Get the list of directory objects that are owned by the agentUser. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class OwnedObjectsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs index b768b024d8e..b87cc793bcc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs @@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. + /// Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- agentUser- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/Ref/RefRequestBuilder.cs index c8d297c4fb9..f689af76186 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Item/Ref/RefRequestBuilder.cs @@ -34,8 +34,8 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r { } /// - /// Remove a user's sponsor. - /// Find more info here + /// Remove an agentUser's sponsor. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Remove a user's sponsor. + /// Remove an agentUser's sponsor. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Ref/RefRequestBuilder.cs index f55708f577e..6c697456c27 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/Ref/RefRequestBuilder.cs @@ -35,8 +35,8 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r { } /// - /// Remove a user's sponsor. - /// Find more info here + /// Remove an agentUser's sponsor. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. - /// Find more info here + /// Get an agentUser's sponsors. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Assign a user a sponsor. Sponsors are users and groups that are responsible for this guest user's privileges in the tenant and for keeping the guest user's information and access up to date. - /// Find more info here + /// Assign an agentUser a sponsor. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -107,7 +107,7 @@ public async Task PostAsync(global::Microsoft.Graph.Models.ReferenceCreate body, await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Remove a user's sponsor. + /// Remove an agentUser's sponsor. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. + /// Get an agentUser's sponsors. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -145,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Assign a user a sponsor. Sponsors are users and groups that are responsible for this guest user's privileges in the tenant and for keeping the guest user's information and access up to date. + /// Assign an agentUser a sponsor. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. /// /// A /// The request body @@ -176,7 +176,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Model return new global::Microsoft.Graph.Users.Item.Sponsors.Ref.RefRequestBuilder(rawUrl, RequestAdapter); } /// - /// Remove a user's sponsor. + /// Remove an agentUser's sponsor. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RefRequestBuilderDeleteQueryParameters @@ -201,7 +201,7 @@ public partial class RefRequestBuilderDeleteRequestConfiguration : RequestConfig { } /// - /// Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. + /// Get an agentUser's sponsors. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RefRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/SponsorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/SponsorsRequestBuilder.cs index af57a21b412..6d6d9499b5e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Sponsors/SponsorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Sponsors/SponsorsRequestBuilder.cs @@ -60,8 +60,8 @@ public SponsorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b { } /// - /// Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. - /// Find more info here + /// Get an agentUser's sponsors. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -84,7 +84,7 @@ public SponsorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. + /// Get an agentUser's sponsors. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -112,7 +112,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. + /// Get an agentUser's sponsors. Sponsors are users and groups that are responsible for this agent user's privileges in the tenant and for keeping the agent user's information and access up to date. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class SponsorsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs index e3d373224b6..547267077b2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs @@ -72,8 +72,8 @@ public TransitiveMemberOfRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Get groups, directory roles, and administrative units that the user is a member of through either direct or transitive membership. - /// Find more info here + /// Get groups, directory roles, and administrative units that the agentUser is a member of through either direct or transitive membership. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -96,7 +96,7 @@ public TransitiveMemberOfRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get groups, directory roles, and administrative units that the user is a member of through either direct or transitive membership. + /// Get groups, directory roles, and administrative units that the agentUser is a member of through either direct or transitive membership. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -124,7 +124,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get groups, directory roles, and administrative units that the user is a member of through either direct or transitive membership. + /// Get groups, directory roles, and administrative units that the agentUser is a member of through either direct or transitive membership. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class TransitiveMemberOfRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index 05a67032f1d..b13c2a513ab 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -67707,6 +67707,7 @@ Microsoft.Graph.Identity.identityRequestBuilder::|public|riskPrevention:global.M Microsoft.Graph.Identity.identityRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Identity.identityRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.IdentityContainer; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Identity.identityRequestBuilder::|public|userFlowAttributes:global.Microsoft.Graph.Identity.UserFlowAttributes.UserFlowAttributesRequestBuilder +Microsoft.Graph.Identity.identityRequestBuilder::|public|verifiedId:global.Microsoft.Graph.Identity.VerifiedId.VerifiedIdRequestBuilder Microsoft.Graph.Identity.identityRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.IdentityRequestBuilder Microsoft.Graph.Identity.RiskPrevention.FraudProtectionProviders.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Identity.RiskPrevention.FraudProtectionProviders.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string @@ -67928,6 +67929,66 @@ Microsoft.Graph.Identity.UserFlowAttributes.userFlowAttributesRequestBuilder::|p Microsoft.Graph.Identity.UserFlowAttributes.userFlowAttributesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Identity.UserFlowAttributes.userFlowAttributesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.IdentityUserFlowAttribute; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Identity.UserFlowAttributes.userFlowAttributesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.UserFlowAttributes.UserFlowAttributesRequestBuilder +Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder.VerifiedIdProfileItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder.VerifiedIdProfileItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder.VerifiedIdProfileItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder.VerifiedIdProfileItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder.VerifiedIdProfileItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.VerifiedIdProfile +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.VerifiedIdProfile; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.VerifiedIdProfile +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.VerifiedIdProfile; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder.profilesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder::[VerifiedIdProfileId:string]:global.Microsoft.Graph.Identity.VerifiedId.Profiles.Item.VerifiedIdProfileItemRequestBuilder +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder::|public|Count:global.Microsoft.Graph.Identity.VerifiedId.Profiles.Count.CountRequestBuilder +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.VerifiedIdProfileCollectionResponse +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.VerifiedIdProfile; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.VerifiedIdProfile +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.VerifiedIdProfile; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.VerifiedId.Profiles.profilesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.VerifiedId.Profiles.ProfilesRequestBuilder +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder.verifiedIdRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder.verifiedIdRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder.verifiedIdRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder.verifiedIdRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder.verifiedIdRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityVerifiedIdRoot +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.IdentityVerifiedIdRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.IdentityVerifiedIdRoot +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|profiles:global.Microsoft.Graph.Identity.VerifiedId.Profiles.ProfilesRequestBuilder +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.IdentityVerifiedIdRoot; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Identity.VerifiedId.verifiedIdRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Identity.VerifiedId.VerifiedIdRequestBuilder Microsoft.Graph.IdentityGovernance.AccessReviews.accessReviewsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.IdentityGovernance.AccessReviews.accessReviewsRequestBuilder.accessReviewsRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.IdentityGovernance.AccessReviews.accessReviewsRequestBuilder.accessReviewsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -80418,6 +80479,13 @@ Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder::|publi Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder +Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder.creationOptionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WebauthnCredentialCreationOptions +Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder.fido2MethodsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder.fido2MethodsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -80432,6 +80500,7 @@ Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::[Fido Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Me.Authentication.Fido2Methods.Count.CountRequestBuilder +Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|creationOptions:global.Microsoft.Graph.Me.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Fido2AuthenticationMethodCollectionResponse Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Me.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Me.Authentication.Fido2Methods.Fido2MethodsRequestBuilder @@ -99444,6 +99513,7 @@ Microsoft.Graph.Models.b2xIdentityUserFlowCollectionResponse::|public|Serialize( Microsoft.Graph.Models.b2xIdentityUserFlowCollectionResponse::|public|Value:List Microsoft.Graph.Models.b2xIdentityUserFlowCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.B2xIdentityUserFlowCollectionResponse Microsoft.Graph.Models.backupRestoreRoot-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.backupRestoreRoot::|public|BrowseSessions:List Microsoft.Graph.Models.backupRestoreRoot::|public|DriveInclusionRules:List Microsoft.Graph.Models.backupRestoreRoot::|public|DriveProtectionUnits:List Microsoft.Graph.Models.backupRestoreRoot::|public|DriveProtectionUnitsBulkAdditionJobs:List @@ -99454,6 +99524,7 @@ Microsoft.Graph.Models.backupRestoreRoot::|public|MailboxInclusionRules:List Microsoft.Graph.Models.backupRestoreRoot::|public|MailboxProtectionUnitsBulkAdditionJobs:List Microsoft.Graph.Models.backupRestoreRoot::|public|OdataType:string +Microsoft.Graph.Models.backupRestoreRoot::|public|OneDriveForBusinessBrowseSessions:List Microsoft.Graph.Models.backupRestoreRoot::|public|OneDriveForBusinessProtectionPolicies:List Microsoft.Graph.Models.backupRestoreRoot::|public|OneDriveForBusinessRestoreSessions:List Microsoft.Graph.Models.backupRestoreRoot::|public|ProtectionPolicies:List @@ -99463,6 +99534,7 @@ Microsoft.Graph.Models.backupRestoreRoot::|public|RestoreSessions:List Microsoft.Graph.Models.backupRestoreRoot::|public|ServiceStatus:global.Microsoft.Graph.Models.ServiceStatus +Microsoft.Graph.Models.backupRestoreRoot::|public|SharePointBrowseSessions:List Microsoft.Graph.Models.backupRestoreRoot::|public|SharePointProtectionPolicies:List Microsoft.Graph.Models.backupRestoreRoot::|public|SharePointRestoreSessions:List Microsoft.Graph.Models.backupRestoreRoot::|public|SiteInclusionRules:List @@ -100038,6 +100110,36 @@ Microsoft.Graph.Models.broadcastMeetingSettings::|public|OdataType:string Microsoft.Graph.Models.broadcastMeetingSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.broadcastMeetingSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.BroadcastMeetingSettings Microsoft.Graph.Models.broadcastMeetingSettings~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.browsableResourceType::0000-none +Microsoft.Graph.Models.browsableResourceType::0001-site +Microsoft.Graph.Models.browsableResourceType::0002-documentLibrary +Microsoft.Graph.Models.browsableResourceType::0003-folder +Microsoft.Graph.Models.browsableResourceType::0004-unknownFutureValue +Microsoft.Graph.Models.browseQueryOrder::0000-pathAsc +Microsoft.Graph.Models.browseQueryOrder::0001-pathDsc +Microsoft.Graph.Models.browseQueryOrder::0002-nameAsc +Microsoft.Graph.Models.browseQueryOrder::0003-nameDsc +Microsoft.Graph.Models.browseQueryOrder::0004-unknownFutureValue +Microsoft.Graph.Models.browseQueryResponseItem::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.browseQueryResponseItem::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.browseQueryResponseItem::|public|constructor():void +Microsoft.Graph.Models.browseQueryResponseItem::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.browseQueryResponseItem::|public|ItemKey:string +Microsoft.Graph.Models.browseQueryResponseItem::|public|ItemsCount:int? +Microsoft.Graph.Models.browseQueryResponseItem::|public|Name:string +Microsoft.Graph.Models.browseQueryResponseItem::|public|OdataType:string +Microsoft.Graph.Models.browseQueryResponseItem::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.browseQueryResponseItem::|public|SizeInBytes:string +Microsoft.Graph.Models.browseQueryResponseItem::|public|Type:global.Microsoft.Graph.Models.BrowseQueryResponseItemType? +Microsoft.Graph.Models.browseQueryResponseItem::|public|WebUrl:string +Microsoft.Graph.Models.browseQueryResponseItem::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.BrowseQueryResponseItem +Microsoft.Graph.Models.browseQueryResponseItemType::0000-none +Microsoft.Graph.Models.browseQueryResponseItemType::0001-site +Microsoft.Graph.Models.browseQueryResponseItemType::0002-documentLibrary +Microsoft.Graph.Models.browseQueryResponseItemType::0003-folder +Microsoft.Graph.Models.browseQueryResponseItemType::0004-file +Microsoft.Graph.Models.browseQueryResponseItemType::0005-unknownFutureValue +Microsoft.Graph.Models.browseQueryResponseItem~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.browserSharedCookie-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.browserSharedCookie::|public|Comment:string Microsoft.Graph.Models.browserSharedCookie::|public|CreatedDateTime:DateTimeOffset? @@ -100170,6 +100272,27 @@ Microsoft.Graph.Models.browserSiteTargetEnvironment::0002-microsoftEdge Microsoft.Graph.Models.browserSiteTargetEnvironment::0003-configurable Microsoft.Graph.Models.browserSiteTargetEnvironment::0004-none Microsoft.Graph.Models.browserSiteTargetEnvironment::0005-unknownFutureValue +Microsoft.Graph.Models.browseSessionBase-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.browseSessionBase::|public|BackupSizeInBytes:string +Microsoft.Graph.Models.browseSessionBase::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Models.browseSessionBase::|public|Error:global.Microsoft.Graph.Models.PublicError +Microsoft.Graph.Models.browseSessionBase::|public|ExpirationDateTime:DateTimeOffset? +Microsoft.Graph.Models.browseSessionBase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.browseSessionBase::|public|OdataType:string +Microsoft.Graph.Models.browseSessionBase::|public|RestorePointDateTime:DateTimeOffset? +Microsoft.Graph.Models.browseSessionBase::|public|RestorePointId:string +Microsoft.Graph.Models.browseSessionBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.browseSessionBase::|public|Status:global.Microsoft.Graph.Models.BrowseSessionStatus? +Microsoft.Graph.Models.browseSessionBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.BrowseSessionBase +Microsoft.Graph.Models.browseSessionBaseCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.browseSessionBaseCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.browseSessionBaseCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.browseSessionBaseCollectionResponse::|public|Value:List +Microsoft.Graph.Models.browseSessionBaseCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.BrowseSessionBaseCollectionResponse +Microsoft.Graph.Models.browseSessionStatus::0000-creating +Microsoft.Graph.Models.browseSessionStatus::0001-created +Microsoft.Graph.Models.browseSessionStatus::0002-failed +Microsoft.Graph.Models.browseSessionStatus::0003-unknownFutureValue Microsoft.Graph.Models.bucketAggregationDefinition::|public|AdditionalData:IDictionary Microsoft.Graph.Models.bucketAggregationDefinition::|public|BackingStore:IBackingStore Microsoft.Graph.Models.bucketAggregationDefinition::|public|constructor():void @@ -101633,6 +101756,19 @@ Microsoft.Graph.Models.choiceColumn::|public|OdataType:string Microsoft.Graph.Models.choiceColumn::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.choiceColumn::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ChoiceColumn Microsoft.Graph.Models.choiceColumn~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.claimBinding::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.claimBinding::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.claimBinding::|public|constructor():void +Microsoft.Graph.Models.claimBinding::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.claimBinding::|public|MatchConfidenceLevel:global.Microsoft.Graph.Models.MatchConfidenceLevel? +Microsoft.Graph.Models.claimBinding::|public|OdataType:string +Microsoft.Graph.Models.claimBinding::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.claimBinding::|public|SourceAttribute:string +Microsoft.Graph.Models.claimBinding::|public|VerifiedIdClaim:string +Microsoft.Graph.Models.claimBinding::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ClaimBinding +Microsoft.Graph.Models.claimBindingSource::0000-directory +Microsoft.Graph.Models.claimBindingSource::0001-unknownFutureValue +Microsoft.Graph.Models.claimBinding~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.claimsMappingPolicy-->global.Microsoft.Graph.Models.StsPolicy Microsoft.Graph.Models.claimsMappingPolicy::|public|constructor():void Microsoft.Graph.Models.claimsMappingPolicy::|public|GetFieldDeserializers():IDictionary> @@ -101644,6 +101780,16 @@ Microsoft.Graph.Models.claimsMappingPolicyCollectionResponse::|public|GetFieldDe Microsoft.Graph.Models.claimsMappingPolicyCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.claimsMappingPolicyCollectionResponse::|public|Value:List Microsoft.Graph.Models.claimsMappingPolicyCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ClaimsMappingPolicyCollectionResponse +Microsoft.Graph.Models.claimValidation::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.claimValidation::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.claimValidation::|public|constructor():void +Microsoft.Graph.Models.claimValidation::|public|CustomExtensionId:string +Microsoft.Graph.Models.claimValidation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.claimValidation::|public|IsEnabled:bool? +Microsoft.Graph.Models.claimValidation::|public|OdataType:string +Microsoft.Graph.Models.claimValidation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.claimValidation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ClaimValidation +Microsoft.Graph.Models.claimValidation~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.classifcationErrorBase::|public|AdditionalData:IDictionary Microsoft.Graph.Models.classifcationErrorBase::|public|BackingStore:IBackingStore Microsoft.Graph.Models.classifcationErrorBase::|public|Code:string @@ -102710,6 +102856,7 @@ Microsoft.Graph.Models.conditionalAccessGrantControl::0004-approvedApplication Microsoft.Graph.Models.conditionalAccessGrantControl::0005-compliantApplication Microsoft.Graph.Models.conditionalAccessGrantControl::0006-passwordChange Microsoft.Graph.Models.conditionalAccessGrantControl::0007-unknownFutureValue +Microsoft.Graph.Models.conditionalAccessGrantControl::0008-riskRemediation Microsoft.Graph.Models.conditionalAccessGrantControls::|public|AdditionalData:IDictionary Microsoft.Graph.Models.conditionalAccessGrantControls::|public|AuthenticationStrength:global.Microsoft.Graph.Models.AuthenticationStrengthPolicy Microsoft.Graph.Models.conditionalAccessGrantControls::|public|BackingStore:IBackingStore @@ -106681,6 +106828,17 @@ Microsoft.Graph.Models.emailAuthenticationMethodConfiguration::|public|IncludeTa Microsoft.Graph.Models.emailAuthenticationMethodConfiguration::|public|OdataType:string Microsoft.Graph.Models.emailAuthenticationMethodConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.emailAuthenticationMethodConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EmailAuthenticationMethodConfiguration +Microsoft.Graph.Models.emailDetails::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.emailDetails::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.emailDetails::|public|Body:string +Microsoft.Graph.Models.emailDetails::|public|constructor():void +Microsoft.Graph.Models.emailDetails::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.emailDetails::|public|OdataType:string +Microsoft.Graph.Models.emailDetails::|public|SenderEmailAddress:string +Microsoft.Graph.Models.emailDetails::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.emailDetails::|public|Subject:string +Microsoft.Graph.Models.emailDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.EmailDetails +Microsoft.Graph.Models.emailDetails~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.emailFileAssessmentRequest-->global.Microsoft.Graph.Models.ThreatAssessmentRequest Microsoft.Graph.Models.emailFileAssessmentRequest::|public|constructor():void Microsoft.Graph.Models.emailFileAssessmentRequest::|public|ContentData:string @@ -107695,6 +107853,11 @@ Microsoft.Graph.Models.ExternalConnectors.label::0045-personColleagues Microsoft.Graph.Models.ExternalConnectors.label::0046-personManager Microsoft.Graph.Models.ExternalConnectors.label::0047-personAlternateContacts Microsoft.Graph.Models.ExternalConnectors.label::0048-personEmergencyContacts +Microsoft.Graph.Models.ExternalConnectors.label::0049-personEducationalActivities +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.properties::|public|AdditionalData:IDictionary Microsoft.Graph.Models.ExternalConnectors.properties::|public|BackingStore:IBackingStore Microsoft.Graph.Models.ExternalConnectors.properties::|public|constructor():void @@ -107847,6 +108010,16 @@ Microsoft.Graph.Models.extractSensitivityLabelsResult::|public|OdataType:string Microsoft.Graph.Models.extractSensitivityLabelsResult::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.extractSensitivityLabelsResult::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.ExtractSensitivityLabelsResult Microsoft.Graph.Models.extractSensitivityLabelsResult~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.faceCheckConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.faceCheckConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.faceCheckConfiguration::|public|constructor():void +Microsoft.Graph.Models.faceCheckConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.faceCheckConfiguration::|public|IsEnabled:bool? +Microsoft.Graph.Models.faceCheckConfiguration::|public|OdataType:string +Microsoft.Graph.Models.faceCheckConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.faceCheckConfiguration::|public|SourcePhotoClaimName:string +Microsoft.Graph.Models.faceCheckConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.FaceCheckConfiguration +Microsoft.Graph.Models.faceCheckConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.fallbackToMicrosoftProviderOnError-->global.Microsoft.Graph.Models.CustomExtensionBehaviorOnError Microsoft.Graph.Models.fallbackToMicrosoftProviderOnError::|public|constructor():void Microsoft.Graph.Models.fallbackToMicrosoftProviderOnError::|public|GetFieldDeserializers():IDictionary> @@ -107912,6 +108085,7 @@ Microsoft.Graph.Models.fido2AuthenticationMethod::|public|GetFieldDeserializers( Microsoft.Graph.Models.fido2AuthenticationMethod::|public|Model:string Microsoft.Graph.Models.fido2AuthenticationMethod::|public|OdataType:string Microsoft.Graph.Models.fido2AuthenticationMethod::|public|PasskeyType:global.Microsoft.Graph.Models.PasskeyType? +Microsoft.Graph.Models.fido2AuthenticationMethod::|public|PublicKeyCredential:global.Microsoft.Graph.Models.WebauthnPublicKeyCredential Microsoft.Graph.Models.fido2AuthenticationMethod::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.fido2AuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Fido2AuthenticationMethod Microsoft.Graph.Models.fido2AuthenticationMethodCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse @@ -108444,6 +108618,17 @@ Microsoft.Graph.Models.governanceInsightCollectionResponse::|public|GetFieldDese Microsoft.Graph.Models.governanceInsightCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.governanceInsightCollectionResponse::|public|Value:List Microsoft.Graph.Models.governanceInsightCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.GovernanceInsightCollectionResponse +Microsoft.Graph.Models.granularDriveRestoreArtifact-->global.Microsoft.Graph.Models.GranularRestoreArtifactBase +Microsoft.Graph.Models.granularDriveRestoreArtifact::|public|DirectoryObjectId:string +Microsoft.Graph.Models.granularDriveRestoreArtifact::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.granularDriveRestoreArtifact::|public|OdataType:string +Microsoft.Graph.Models.granularDriveRestoreArtifact::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.granularDriveRestoreArtifact::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.GranularDriveRestoreArtifact +Microsoft.Graph.Models.granularDriveRestoreArtifactCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.granularDriveRestoreArtifactCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.granularDriveRestoreArtifactCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.granularDriveRestoreArtifactCollectionResponse::|public|Value:List +Microsoft.Graph.Models.granularDriveRestoreArtifactCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.GranularDriveRestoreArtifactCollectionResponse Microsoft.Graph.Models.granularMailboxRestoreArtifact-->global.Microsoft.Graph.Models.MailboxRestoreArtifact Microsoft.Graph.Models.granularMailboxRestoreArtifact::|public|ArtifactCount:int? Microsoft.Graph.Models.granularMailboxRestoreArtifact::|public|GetFieldDeserializers():IDictionary> @@ -108456,6 +108641,31 @@ Microsoft.Graph.Models.granularMailboxRestoreArtifactCollectionResponse::|public Microsoft.Graph.Models.granularMailboxRestoreArtifactCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.granularMailboxRestoreArtifactCollectionResponse::|public|Value:List Microsoft.Graph.Models.granularMailboxRestoreArtifactCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.GranularMailboxRestoreArtifactCollectionResponse +Microsoft.Graph.Models.granularRestoreArtifactBase-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|BrowseSessionId:string +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|CompletionDateTime:DateTimeOffset? +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|OdataType:string +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|RestoredItemKey:string +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|RestoredItemPath:string +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|RestoredItemWebUrl:string +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|RestorePointDateTime:DateTimeOffset? +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|StartDateTime:DateTimeOffset? +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|Status:global.Microsoft.Graph.Models.ArtifactRestoreStatus? +Microsoft.Graph.Models.granularRestoreArtifactBase::|public|WebUrl:string +Microsoft.Graph.Models.granularRestoreArtifactBase::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.GranularRestoreArtifactBase +Microsoft.Graph.Models.granularSiteRestoreArtifact-->global.Microsoft.Graph.Models.GranularRestoreArtifactBase +Microsoft.Graph.Models.granularSiteRestoreArtifact::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.granularSiteRestoreArtifact::|public|OdataType:string +Microsoft.Graph.Models.granularSiteRestoreArtifact::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.granularSiteRestoreArtifact::|public|SiteId:string +Microsoft.Graph.Models.granularSiteRestoreArtifact::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.GranularSiteRestoreArtifact +Microsoft.Graph.Models.granularSiteRestoreArtifactCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.granularSiteRestoreArtifactCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.granularSiteRestoreArtifactCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.granularSiteRestoreArtifactCollectionResponse::|public|Value:List +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|AllowExternalSenders:bool? @@ -108756,6 +108966,7 @@ Microsoft.Graph.Models.identityContainer::|public|OdataType:string Microsoft.Graph.Models.identityContainer::|public|RiskPrevention:global.Microsoft.Graph.Models.RiskPreventionContainer Microsoft.Graph.Models.identityContainer::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.identityContainer::|public|UserFlowAttributes:List +Microsoft.Graph.Models.identityContainer::|public|VerifiedId:global.Microsoft.Graph.Models.IdentityVerifiedIdRoot Microsoft.Graph.Models.identityContainer::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityContainer Microsoft.Graph.Models.identityCustomUserFlowAttribute-->global.Microsoft.Graph.Models.IdentityUserFlowAttribute Microsoft.Graph.Models.identityCustomUserFlowAttribute::|public|constructor():void @@ -109033,6 +109244,7 @@ Microsoft.Graph.Models.IdentityGovernance.taskProcessingResult::|public|CreatedD Microsoft.Graph.Models.IdentityGovernance.taskProcessingResult::|public|FailureReason:string Microsoft.Graph.Models.IdentityGovernance.taskProcessingResult::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.IdentityGovernance.taskProcessingResult::|public|OdataType:string +Microsoft.Graph.Models.IdentityGovernance.taskProcessingResult::|public|ProcessingInfo:string Microsoft.Graph.Models.IdentityGovernance.taskProcessingResult::|public|ProcessingStatus:global.Microsoft.Graph.Models.IdentityGovernance.LifecycleWorkflowProcessingStatus? Microsoft.Graph.Models.IdentityGovernance.taskProcessingResult::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.IdentityGovernance.taskProcessingResult::|public|StartedDateTime:DateTimeOffset? @@ -109425,6 +109637,12 @@ Microsoft.Graph.Models.identityUserFlowAttributeType::0000-builtIn Microsoft.Graph.Models.identityUserFlowAttributeType::0001-custom Microsoft.Graph.Models.identityUserFlowAttributeType::0002-required Microsoft.Graph.Models.identityUserFlowAttributeType::0003-unknownFutureValue +Microsoft.Graph.Models.identityVerifiedIdRoot-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.identityVerifiedIdRoot::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.identityVerifiedIdRoot::|public|OdataType:string +Microsoft.Graph.Models.identityVerifiedIdRoot::|public|Profiles:List +Microsoft.Graph.Models.identityVerifiedIdRoot::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.identityVerifiedIdRoot::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.IdentityVerifiedIdRoot Microsoft.Graph.Models.identity~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.idleSessionSignOut::|public|AdditionalData:IDictionary Microsoft.Graph.Models.idleSessionSignOut::|public|BackingStore:IBackingStore @@ -112006,6 +112224,9 @@ Microsoft.Graph.Models.managementState::0009-wipeCanceled Microsoft.Graph.Models.managementState::0010-retireCanceled Microsoft.Graph.Models.managementState::0011-discovered Microsoft.Graph.Models.managementState::0012-unknownFutureValue +Microsoft.Graph.Models.matchConfidenceLevel::0000-exact +Microsoft.Graph.Models.matchConfidenceLevel::0001-relaxed +Microsoft.Graph.Models.matchConfidenceLevel::0002-unknownFutureValue Microsoft.Graph.Models.maxWorkLocationDetails::0000-unknown Microsoft.Graph.Models.maxWorkLocationDetails::0001-none Microsoft.Graph.Models.maxWorkLocationDetails::0002-approximate @@ -113164,6 +113385,10 @@ Microsoft.Graph.Models.notificationTemplateBrandingOptions::0003-includeContactI Microsoft.Graph.Models.notificationTemplateBrandingOptions::0004-includeCompanyPortalLink Microsoft.Graph.Models.notificationTemplateBrandingOptions::0005-includeDeviceDetails Microsoft.Graph.Models.notificationTemplateBrandingOptions::0006-unknownFutureValue +Microsoft.Graph.Models.notifyMembers::0000-all +Microsoft.Graph.Models.notifyMembers::0001-allowSelected +Microsoft.Graph.Models.notifyMembers::0002-blockSelected +Microsoft.Graph.Models.notifyMembers::0003-unknownFutureValue Microsoft.Graph.Models.noTrainingNotificationSetting-->global.Microsoft.Graph.Models.EndUserNotificationSetting Microsoft.Graph.Models.noTrainingNotificationSetting::|public|constructor():void Microsoft.Graph.Models.noTrainingNotificationSetting::|public|GetFieldDeserializers():IDictionary> @@ -113599,6 +113824,18 @@ Microsoft.Graph.Models.onAuthenticationMethodLoadStartListener::|public|Handler: Microsoft.Graph.Models.onAuthenticationMethodLoadStartListener::|public|OdataType:string Microsoft.Graph.Models.onAuthenticationMethodLoadStartListener::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.onAuthenticationMethodLoadStartListener::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnAuthenticationMethodLoadStartListener +Microsoft.Graph.Models.oneDriveForBusinessBrowseSession-->global.Microsoft.Graph.Models.BrowseSessionBase +Microsoft.Graph.Models.oneDriveForBusinessBrowseSession::|public|constructor():void +Microsoft.Graph.Models.oneDriveForBusinessBrowseSession::|public|DirectoryObjectId:string +Microsoft.Graph.Models.oneDriveForBusinessBrowseSession::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.oneDriveForBusinessBrowseSession::|public|OdataType:string +Microsoft.Graph.Models.oneDriveForBusinessBrowseSession::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.oneDriveForBusinessBrowseSession::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSession +Microsoft.Graph.Models.oneDriveForBusinessBrowseSessionCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.oneDriveForBusinessBrowseSessionCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.oneDriveForBusinessBrowseSessionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.oneDriveForBusinessBrowseSessionCollectionResponse::|public|Value:List +Microsoft.Graph.Models.oneDriveForBusinessBrowseSessionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSessionCollectionResponse Microsoft.Graph.Models.oneDriveForBusinessProtectionPolicy-->global.Microsoft.Graph.Models.ProtectionPolicyBase Microsoft.Graph.Models.oneDriveForBusinessProtectionPolicy::|public|constructor():void Microsoft.Graph.Models.oneDriveForBusinessProtectionPolicy::|public|DriveInclusionRules:List @@ -113618,6 +113855,7 @@ Microsoft.Graph.Models.oneDriveForBusinessRestoreSession::|public|constructor(): Microsoft.Graph.Models.oneDriveForBusinessRestoreSession::|public|DriveRestoreArtifacts:List Microsoft.Graph.Models.oneDriveForBusinessRestoreSession::|public|DriveRestoreArtifactsBulkAdditionRequests:List Microsoft.Graph.Models.oneDriveForBusinessRestoreSession::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.oneDriveForBusinessRestoreSession::|public|GranularDriveRestoreArtifacts:List Microsoft.Graph.Models.oneDriveForBusinessRestoreSession::|public|OdataType:string Microsoft.Graph.Models.oneDriveForBusinessRestoreSession::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.oneDriveForBusinessRestoreSession::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OneDriveForBusinessRestoreSession @@ -114185,6 +114423,35 @@ Microsoft.Graph.Models.onUserCreateStartListener::|public|Handler:global.Microso Microsoft.Graph.Models.onUserCreateStartListener::|public|OdataType:string Microsoft.Graph.Models.onUserCreateStartListener::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.onUserCreateStartListener::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnUserCreateStartListener +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtension-->global.Microsoft.Graph.Models.CustomAuthenticationExtension +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtension::|public|constructor():void +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtension::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtension::|public|OdataType:string +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtension::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtension::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtensionHandler-->global.Microsoft.Graph.Models.OnVerifiedIdClaimValidationHandler +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtensionHandler::|public|Configuration:global.Microsoft.Graph.Models.CustomExtensionOverwriteConfiguration +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtensionHandler::|public|constructor():void +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtensionHandler::|public|CustomExtension:global.Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtension +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtensionHandler::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtensionHandler::|public|OdataType:string +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtensionHandler::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.onVerifiedIdClaimValidationCustomExtensionHandler::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnVerifiedIdClaimValidationCustomExtensionHandler +Microsoft.Graph.Models.onVerifiedIdClaimValidationHandler::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.onVerifiedIdClaimValidationHandler::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.onVerifiedIdClaimValidationHandler::|public|constructor():void +Microsoft.Graph.Models.onVerifiedIdClaimValidationHandler::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.onVerifiedIdClaimValidationHandler::|public|OdataType:string +Microsoft.Graph.Models.onVerifiedIdClaimValidationHandler::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.onVerifiedIdClaimValidationHandler::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnVerifiedIdClaimValidationHandler +Microsoft.Graph.Models.onVerifiedIdClaimValidationHandler~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.onVerifiedIdClaimValidationListener-->global.Microsoft.Graph.Models.AuthenticationEventListener +Microsoft.Graph.Models.onVerifiedIdClaimValidationListener::|public|constructor():void +Microsoft.Graph.Models.onVerifiedIdClaimValidationListener::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.onVerifiedIdClaimValidationListener::|public|Handler:global.Microsoft.Graph.Models.OnVerifiedIdClaimValidationHandler +Microsoft.Graph.Models.onVerifiedIdClaimValidationListener::|public|OdataType:string +Microsoft.Graph.Models.onVerifiedIdClaimValidationListener::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.onVerifiedIdClaimValidationListener::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OnVerifiedIdClaimValidationListener Microsoft.Graph.Models.openComplexDictionaryType-->global.Microsoft.Graph.Models.Dictionary Microsoft.Graph.Models.openComplexDictionaryType::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Models.openComplexDictionaryType::|public|OdataType:string @@ -114520,6 +114787,18 @@ Microsoft.Graph.Models.outOfOfficeSettings::|public|OdataType:string Microsoft.Graph.Models.outOfOfficeSettings::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.outOfOfficeSettings::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OutOfOfficeSettings Microsoft.Graph.Models.outOfOfficeSettings~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.ownerlessGroupPolicy-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|EmailInfo:global.Microsoft.Graph.Models.EmailDetails +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|EnabledGroupIds:List +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|IsEnabled:bool? +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|MaxMembersToNotify:long? +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|NotificationDurationInWeeks:long? +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|OdataType:string +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|PolicyWebUrl:string +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.ownerlessGroupPolicy::|public|TargetOwners:global.Microsoft.Graph.Models.TargetOwners +Microsoft.Graph.Models.ownerlessGroupPolicy::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.OwnerlessGroupPolicy Microsoft.Graph.Models.package::|public|AdditionalData:IDictionary Microsoft.Graph.Models.package::|public|BackingStore:IBackingStore Microsoft.Graph.Models.package::|public|constructor():void @@ -115604,6 +115883,7 @@ Microsoft.Graph.Models.policyRoot::|public|GetFieldDeserializers():IDictionary Microsoft.Graph.Models.policyRoot::|public|IdentitySecurityDefaultsEnforcementPolicy:global.Microsoft.Graph.Models.IdentitySecurityDefaultsEnforcementPolicy Microsoft.Graph.Models.policyRoot::|public|OdataType:string +Microsoft.Graph.Models.policyRoot::|public|OwnerlessGroupPolicy:global.Microsoft.Graph.Models.OwnerlessGroupPolicy Microsoft.Graph.Models.policyRoot::|public|PermissionGrantPolicies:List Microsoft.Graph.Models.policyRoot::|public|RoleManagementPolicies:List Microsoft.Graph.Models.policyRoot::|public|RoleManagementPolicyAssignments:List @@ -118864,6 +119144,7 @@ Microsoft.Graph.Models.restoreArtifactsBulkRequestStatus::0004-unknownFutureValu Microsoft.Graph.Models.restoreJobType::0000-standard Microsoft.Graph.Models.restoreJobType::0001-bulk Microsoft.Graph.Models.restoreJobType::0002-unknownFutureValue +Microsoft.Graph.Models.restoreJobType::0003-granular Microsoft.Graph.Models.restorePoint-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.restorePoint::|public|ExpirationDateTime:DateTimeOffset? Microsoft.Graph.Models.restorePoint::|public|GetFieldDeserializers():IDictionary> @@ -119050,6 +119331,7 @@ Microsoft.Graph.Models.riskDetail::0014-adminDismissedAllRiskForServicePrincipal Microsoft.Graph.Models.riskDetail::0015-userChangedPasswordOnPremises Microsoft.Graph.Models.riskDetail::0016-adminDismissedRiskForSignIn Microsoft.Graph.Models.riskDetail::0017-adminConfirmedAccountSafe +Microsoft.Graph.Models.riskDetail::0018-microsoftRevokedSessions Microsoft.Graph.Models.riskDetection-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.riskDetection::|public|Activity:global.Microsoft.Graph.Models.ActivityType? Microsoft.Graph.Models.riskDetection::|public|ActivityDateTime:DateTimeOffset? @@ -120034,6 +120316,7 @@ Microsoft.Graph.Models.Security.alert::|public|AdditionalDataProperty:global.Mic Microsoft.Graph.Models.Security.alert::|public|AlertPolicyId:string Microsoft.Graph.Models.Security.alert::|public|AlertWebUrl:string Microsoft.Graph.Models.Security.alert::|public|AssignedTo:string +Microsoft.Graph.Models.Security.alert::|public|Categories:List Microsoft.Graph.Models.Security.alert::|public|Category:string Microsoft.Graph.Models.Security.alert::|public|Classification:global.Microsoft.Graph.Models.Security.AlertClassification? Microsoft.Graph.Models.Security.alert::|public|Comments:List @@ -123351,6 +123634,18 @@ Microsoft.Graph.Models.sharepoint::|public|OdataType:string Microsoft.Graph.Models.sharepoint::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.sharepoint::|public|Settings:global.Microsoft.Graph.Models.SharepointSettings Microsoft.Graph.Models.sharepoint::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.Sharepoint +Microsoft.Graph.Models.sharePointBrowseSession-->global.Microsoft.Graph.Models.BrowseSessionBase +Microsoft.Graph.Models.sharePointBrowseSession::|public|constructor():void +Microsoft.Graph.Models.sharePointBrowseSession::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointBrowseSession::|public|OdataType:string +Microsoft.Graph.Models.sharePointBrowseSession::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointBrowseSession::|public|SiteId:string +Microsoft.Graph.Models.sharePointBrowseSession::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointBrowseSession +Microsoft.Graph.Models.sharePointBrowseSessionCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.sharePointBrowseSessionCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointBrowseSessionCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.sharePointBrowseSessionCollectionResponse::|public|Value:List +Microsoft.Graph.Models.sharePointBrowseSessionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.SharePointBrowseSessionCollectionResponse Microsoft.Graph.Models.sharePointGroup-->global.Microsoft.Graph.Models.Entity Microsoft.Graph.Models.sharePointGroup::|public|Description:string Microsoft.Graph.Models.sharePointGroup::|public|GetFieldDeserializers():IDictionary> @@ -123565,6 +123860,7 @@ Microsoft.Graph.Models.sharePointProtectionPolicyCollectionResponse::|static|pub Microsoft.Graph.Models.sharePointRestoreSession-->global.Microsoft.Graph.Models.RestoreSessionBase Microsoft.Graph.Models.sharePointRestoreSession::|public|constructor():void Microsoft.Graph.Models.sharePointRestoreSession::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.sharePointRestoreSession::|public|GranularSiteRestoreArtifacts:List Microsoft.Graph.Models.sharePointRestoreSession::|public|OdataType:string Microsoft.Graph.Models.sharePointRestoreSession::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.sharePointRestoreSession::|public|SiteRestoreArtifacts:List @@ -125078,6 +125374,16 @@ Microsoft.Graph.Models.targetManager::|public|ManagerLevel:int? Microsoft.Graph.Models.targetManager::|public|OdataType:string Microsoft.Graph.Models.targetManager::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Models.targetManager::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TargetManager +Microsoft.Graph.Models.targetOwners::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.targetOwners::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.targetOwners::|public|constructor():void +Microsoft.Graph.Models.targetOwners::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.targetOwners::|public|NotifyMembers:global.Microsoft.Graph.Models.NotifyMembers? +Microsoft.Graph.Models.targetOwners::|public|OdataType:string +Microsoft.Graph.Models.targetOwners::|public|SecurityGroups:List +Microsoft.Graph.Models.targetOwners::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.targetOwners::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.TargetOwners +Microsoft.Graph.Models.targetOwners~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.targetResource::|public|AdditionalData:IDictionary Microsoft.Graph.Models.targetResource::|public|BackingStore:IBackingStore Microsoft.Graph.Models.targetResource::|public|constructor():void @@ -128414,6 +128720,55 @@ Microsoft.Graph.Models.verifiedDomain::|public|Serialize(writer:ISerializationWr Microsoft.Graph.Models.verifiedDomain::|public|Type:string Microsoft.Graph.Models.verifiedDomain::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.VerifiedDomain Microsoft.Graph.Models.verifiedDomain~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.verifiedIdProfile-->global.Microsoft.Graph.Models.Entity +Microsoft.Graph.Models.verifiedIdProfile::|public|Description:string +Microsoft.Graph.Models.verifiedIdProfile::|public|FaceCheckConfiguration:global.Microsoft.Graph.Models.FaceCheckConfiguration +Microsoft.Graph.Models.verifiedIdProfile::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.verifiedIdProfile::|public|LastModifiedDateTime:DateTimeOffset? +Microsoft.Graph.Models.verifiedIdProfile::|public|Name:string +Microsoft.Graph.Models.verifiedIdProfile::|public|OdataType:string +Microsoft.Graph.Models.verifiedIdProfile::|public|Priority:int? +Microsoft.Graph.Models.verifiedIdProfile::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.verifiedIdProfile::|public|State:global.Microsoft.Graph.Models.VerifiedIdProfileState? +Microsoft.Graph.Models.verifiedIdProfile::|public|VerifiedIdProfileConfiguration:global.Microsoft.Graph.Models.VerifiedIdProfileConfiguration +Microsoft.Graph.Models.verifiedIdProfile::|public|VerifiedIdUsageConfigurations:List +Microsoft.Graph.Models.verifiedIdProfile::|public|VerifierDid:string +Microsoft.Graph.Models.verifiedIdProfile::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.VerifiedIdProfile +Microsoft.Graph.Models.verifiedIdProfileCollectionResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Models.verifiedIdProfileCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.verifiedIdProfileCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.verifiedIdProfileCollectionResponse::|public|Value:List +Microsoft.Graph.Models.verifiedIdProfileCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.VerifiedIdProfileCollectionResponse +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|AcceptedIssuer:string +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|ClaimBindings:List +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|ClaimBindingSource:global.Microsoft.Graph.Models.ClaimBindingSource? +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|ClaimValidation:global.Microsoft.Graph.Models.ClaimValidation +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|constructor():void +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|OdataType:string +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|public|Type:string +Microsoft.Graph.Models.verifiedIdProfileConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.VerifiedIdProfileConfiguration +Microsoft.Graph.Models.verifiedIdProfileConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.verifiedIdProfileState::0000-enabled +Microsoft.Graph.Models.verifiedIdProfileState::0001-disabled +Microsoft.Graph.Models.verifiedIdProfileState::0002-unknownFutureValue +Microsoft.Graph.Models.verifiedIdUsageConfiguration::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.verifiedIdUsageConfiguration::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.verifiedIdUsageConfiguration::|public|constructor():void +Microsoft.Graph.Models.verifiedIdUsageConfiguration::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.verifiedIdUsageConfiguration::|public|IsEnabledForTestOnly:bool? +Microsoft.Graph.Models.verifiedIdUsageConfiguration::|public|OdataType:string +Microsoft.Graph.Models.verifiedIdUsageConfiguration::|public|Purpose:global.Microsoft.Graph.Models.VerifiedIdUsageConfigurationPurpose? +Microsoft.Graph.Models.verifiedIdUsageConfiguration::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.verifiedIdUsageConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.VerifiedIdUsageConfiguration +Microsoft.Graph.Models.verifiedIdUsageConfigurationPurpose::0000-recovery +Microsoft.Graph.Models.verifiedIdUsageConfigurationPurpose::0001-onboarding +Microsoft.Graph.Models.verifiedIdUsageConfigurationPurpose::0002-all +Microsoft.Graph.Models.verifiedIdUsageConfigurationPurpose::0003-unknownFutureValue +Microsoft.Graph.Models.verifiedIdUsageConfiguration~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.verifiedPublisher::|public|AddedDateTime:DateTimeOffset? Microsoft.Graph.Models.verifiedPublisher::|public|AdditionalData:IDictionary Microsoft.Graph.Models.verifiedPublisher::|public|BackingStore:IBackingStore @@ -128888,6 +129243,123 @@ Microsoft.Graph.Models.webApplicationFirewallVerifiedDetails::|public|Serialize( Microsoft.Graph.Models.webApplicationFirewallVerifiedDetails::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebApplicationFirewallVerifiedDetails Microsoft.Graph.Models.webApplicationFirewallVerifiedDetails~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.webApplication~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientInputs::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientInputs::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientInputs::|public|constructor():void +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientInputs::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientInputs::|public|OdataType:string +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientInputs::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientInputs::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientInputs +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientInputs~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientOutputs::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientOutputs::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientOutputs::|public|constructor():void +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientOutputs::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientOutputs::|public|OdataType:string +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientOutputs::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientOutputs::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientOutputs +Microsoft.Graph.Models.webauthnAuthenticationExtensionsClientOutputs~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse::|public|AttestationObject:string +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse::|public|ClientDataJSON:string +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse::|public|constructor():void +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse::|public|OdataType:string +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnAuthenticatorAttestationResponse +Microsoft.Graph.Models.webauthnAuthenticatorAttestationResponse~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|public|AuthenticatorAttachment:string +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|public|constructor():void +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|public|OdataType:string +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|public|RequireResidentKey:bool? +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|public|UserVerification:string +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnAuthenticatorSelectionCriteria +Microsoft.Graph.Models.webauthnAuthenticatorSelectionCriteria~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnCredentialCreationOptions::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnCredentialCreationOptions::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnCredentialCreationOptions::|public|ChallengeTimeoutDateTime:DateTimeOffset? +Microsoft.Graph.Models.webauthnCredentialCreationOptions::|public|constructor():void +Microsoft.Graph.Models.webauthnCredentialCreationOptions::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnCredentialCreationOptions::|public|OdataType:string +Microsoft.Graph.Models.webauthnCredentialCreationOptions::|public|PublicKey:global.Microsoft.Graph.Models.WebauthnPublicKeyCredentialCreationOptions +Microsoft.Graph.Models.webauthnCredentialCreationOptions::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnCredentialCreationOptions::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnCredentialCreationOptions +Microsoft.Graph.Models.webauthnCredentialCreationOptions~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnPublicKeyCredential::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnPublicKeyCredential::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnPublicKeyCredential::|public|ClientExtensionResults:global.Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientOutputs +Microsoft.Graph.Models.webauthnPublicKeyCredential::|public|constructor():void +Microsoft.Graph.Models.webauthnPublicKeyCredential::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnPublicKeyCredential::|public|Id:string +Microsoft.Graph.Models.webauthnPublicKeyCredential::|public|OdataType:string +Microsoft.Graph.Models.webauthnPublicKeyCredential::|public|Response:global.Microsoft.Graph.Models.WebauthnAuthenticatorAttestationResponse +Microsoft.Graph.Models.webauthnPublicKeyCredential::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnPublicKeyCredential::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnPublicKeyCredential +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|Attestation:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|AuthenticatorSelection:global.Microsoft.Graph.Models.WebauthnAuthenticatorSelectionCriteria +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|Challenge:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|constructor():void +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|ExcludeCredentials:List +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|Extensions:global.Microsoft.Graph.Models.WebauthnAuthenticationExtensionsClientInputs +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|OdataType:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|PubKeyCredParams:List +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|Rp:global.Microsoft.Graph.Models.WebauthnPublicKeyCredentialRpEntity +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|Timeout:int? +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|public|User:global.Microsoft.Graph.Models.WebauthnPublicKeyCredentialUserEntity +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnPublicKeyCredentialCreationOptions +Microsoft.Graph.Models.webauthnPublicKeyCredentialCreationOptions~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|public|constructor():void +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|public|Id:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|public|OdataType:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|public|Transports:List +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|public|Type:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnPublicKeyCredentialDescriptor +Microsoft.Graph.Models.webauthnPublicKeyCredentialDescriptor~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters::|public|Alg:int? +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters::|public|constructor():void +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters::|public|OdataType:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters::|public|Type:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnPublicKeyCredentialParameters +Microsoft.Graph.Models.webauthnPublicKeyCredentialParameters~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity::|public|constructor():void +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity::|public|Id:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity::|public|Name:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity::|public|OdataType:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnPublicKeyCredentialRpEntity +Microsoft.Graph.Models.webauthnPublicKeyCredentialRpEntity~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|public|AdditionalData:IDictionary +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|public|BackingStore:IBackingStore +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|public|constructor():void +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|public|DisplayName:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|public|Id:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|public|Name:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|public|OdataType:string +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Models.WebauthnPublicKeyCredentialUserEntity +Microsoft.Graph.Models.webauthnPublicKeyCredentialUserEntity~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Models.webauthnPublicKeyCredential~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Models.webBrowserCookieSettings::0000-browserDefault Microsoft.Graph.Models.webBrowserCookieSettings::0001-blockAlways Microsoft.Graph.Models.webBrowserCookieSettings::0002-allowCurrentWebSite @@ -134757,6 +135229,18 @@ Microsoft.Graph.Policies.IdentitySecurityDefaultsEnforcementPolicy.identitySecur Microsoft.Graph.Policies.IdentitySecurityDefaultsEnforcementPolicy.identitySecurityDefaultsEnforcementPolicyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Policies.IdentitySecurityDefaultsEnforcementPolicy.identitySecurityDefaultsEnforcementPolicyRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.IdentitySecurityDefaultsEnforcementPolicy; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Policies.IdentitySecurityDefaultsEnforcementPolicy.identitySecurityDefaultsEnforcementPolicyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Policies.IdentitySecurityDefaultsEnforcementPolicy.IdentitySecurityDefaultsEnforcementPolicyRequestBuilder +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder.ownerlessGroupPolicyRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder.ownerlessGroupPolicyRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder.ownerlessGroupPolicyRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder.ownerlessGroupPolicyRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OwnerlessGroupPolicy +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OwnerlessGroupPolicy; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OwnerlessGroupPolicy +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OwnerlessGroupPolicy; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Policies.OwnerlessGroupPolicy.ownerlessGroupPolicyRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Policies.OwnerlessGroupPolicy.OwnerlessGroupPolicyRequestBuilder Microsoft.Graph.Policies.PermissionGrantPolicies.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Policies.PermissionGrantPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Policies.PermissionGrantPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -134914,6 +135398,7 @@ Microsoft.Graph.Policies.policiesRequestBuilder::|public|featureRolloutPolicies: 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 +Microsoft.Graph.Policies.policiesRequestBuilder::|public|ownerlessGroupPolicy:global.Microsoft.Graph.Policies.OwnerlessGroupPolicy.OwnerlessGroupPolicyRequestBuilder Microsoft.Graph.Policies.policiesRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.PolicyRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.PolicyRoot Microsoft.Graph.Policies.policiesRequestBuilder::|public|permissionGrantPolicies:global.Microsoft.Graph.Policies.PermissionGrantPolicies.PermissionGrantPoliciesRequestBuilder Microsoft.Graph.Policies.policiesRequestBuilder::|public|roleManagementPolicies:global.Microsoft.Graph.Policies.RoleManagementPolicies.RoleManagementPoliciesRequestBuilder @@ -158033,6 +158518,7 @@ Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder.backupRestor Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder.backupRestoreRequestBuilderGetQueryParameters::|public|Select:string[] Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder.backupRestoreRequestBuilderGetRequestConfiguration-->RequestConfiguration Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder.backupRestoreRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|browseSessions:global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.BrowseSessionsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void @@ -158046,6 +158532,7 @@ Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|Get Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|mailboxInclusionRules:global.Microsoft.Graph.Solutions.BackupRestore.MailboxInclusionRules.MailboxInclusionRulesRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|mailboxProtectionUnits:global.Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnits.MailboxProtectionUnitsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|mailboxProtectionUnitsBulkAdditionJobs:global.Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnitsBulkAdditionJobs.MailboxProtectionUnitsBulkAdditionJobsRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|oneDriveForBusinessBrowseSessions:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.OneDriveForBusinessBrowseSessionsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|oneDriveForBusinessProtectionPolicies:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessProtectionPolicies.OneDriveForBusinessProtectionPoliciesRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|oneDriveForBusinessRestoreSessions:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.OneDriveForBusinessRestoreSessionsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.BackupRestoreRoot; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.BackupRestoreRoot @@ -158054,6 +158541,7 @@ Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|pro Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|restorePoints:global.Microsoft.Graph.Solutions.BackupRestore.RestorePoints.RestorePointsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|restoreSessions:global.Microsoft.Graph.Solutions.BackupRestore.RestoreSessions.RestoreSessionsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|serviceApps:global.Microsoft.Graph.Solutions.BackupRestore.ServiceApps.ServiceAppsRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|sharePointBrowseSessions:global.Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.SharePointBrowseSessionsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|sharePointProtectionPolicies:global.Microsoft.Graph.Solutions.BackupRestore.SharePointProtectionPolicies.SharePointProtectionPoliciesRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|sharePointRestoreSessions:global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.SharePointRestoreSessionsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|siteInclusionRules:global.Microsoft.Graph.Solutions.BackupRestore.SiteInclusionRules.SiteInclusionRulesRequestBuilder @@ -158063,6 +158551,98 @@ Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|ToD Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.BackupRestoreRoot; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.backupRestoreRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.BackupRestoreRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder.browseSessionsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder::[BrowseSessionBaseId:string]:global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder::|public|Count:global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.BrowseSessionBaseCollectionResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.BrowseSessionBase; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.BrowseSessionBase +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.BrowseSessionBase; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.browseSessionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.BrowseSessionsRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|public|BrowseLocationItemKey:string +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|public|BrowseResourceType:global.Microsoft.Graph.Models.BrowsableResourceType? +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|public|constructor():void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|public|OrderBy:global.Microsoft.Graph.Models.BrowseQueryOrder? +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostResponse::|public|Value:List +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browsePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseRequestBuilder.browseRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseRequestBuilder::|public|PostAsBrowsePostResponseAsync(body:global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseResponse-->global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowsePostResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.browseResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder.BrowseSessionBaseItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder.BrowseSessionBaseItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder.BrowseSessionBaseItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder.BrowseSessionBaseItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder.BrowseSessionBaseItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|browse:global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.Browse.BrowseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|browseWithNextFetchToken(nextFetchToken:string):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.BrowseSessionBase +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.BrowseSessionBase; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.BrowseSessionBase +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.BrowseSessionBase; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseSessionBaseItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenGetResponse-->global.Microsoft.Graph.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenGetResponse::|public|Value:List +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenGetResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder.browseWithNextFetchTokenRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder.browseWithNextFetchTokenRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder.browseWithNextFetchTokenRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder.browseWithNextFetchTokenRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder.browseWithNextFetchTokenRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder.browseWithNextFetchTokenRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; nextFetchToken?:string):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder::|public|GetAsBrowseWithNextFetchTokenGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenGetResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenResponse-->global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenGetResponse +Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.browseWithNextFetchTokenResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Solutions.BackupRestore.BrowseSessions.Item.BrowseWithNextFetchToken.BrowseWithNextFetchTokenResponse Microsoft.Graph.Solutions.BackupRestore.DriveInclusionRules.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Solutions.BackupRestore.DriveInclusionRules.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Solutions.BackupRestore.DriveInclusionRules.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -158693,6 +159273,50 @@ Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnitsBulkAdditionJobs.m Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnitsBulkAdditionJobs.mailboxProtectionUnitsBulkAdditionJobsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnitsBulkAdditionJobs.mailboxProtectionUnitsBulkAdditionJobsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.MailboxProtectionUnitsBulkAdditionJob; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnitsBulkAdditionJobs.mailboxProtectionUnitsBulkAdditionJobsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.MailboxProtectionUnitsBulkAdditionJobs.MailboxProtectionUnitsBulkAdditionJobsRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder.OneDriveForBusinessBrowseSessionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder.OneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder.OneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder.OneDriveForBusinessBrowseSessionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder.OneDriveForBusinessBrowseSessionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSession +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSession; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSession +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSession; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder.oneDriveForBusinessBrowseSessionsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder::[OneDriveForBusinessBrowseSessionId:string]:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Item.OneDriveForBusinessBrowseSessionItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder::|public|Count:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSessionCollectionResponse +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSession; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSession +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.OneDriveForBusinessBrowseSession; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.oneDriveForBusinessBrowseSessionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessBrowseSessions.OneDriveForBusinessBrowseSessionsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessProtectionPolicies.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessProtectionPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessProtectionPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -158952,6 +159576,50 @@ Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item. Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifactsBulkAdditionRequests.Item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifactsBulkAdditionRequests.Item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.DriveRestoreArtifactsBulkAdditionRequest; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifactsBulkAdditionRequests.Item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifactsBulkAdditionRequests.Item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder.granularDriveRestoreArtifactsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder::[GranularDriveRestoreArtifactId:string]:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder::|public|Count:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GranularDriveRestoreArtifactCollectionResponse +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.GranularDriveRestoreArtifact; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GranularDriveRestoreArtifact +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.GranularDriveRestoreArtifact; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.granularDriveRestoreArtifactsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.GranularDriveRestoreArtifactsRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder.GranularDriveRestoreArtifactItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder.GranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder.GranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder.GranularDriveRestoreArtifactItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder.GranularDriveRestoreArtifactItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GranularDriveRestoreArtifact +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.GranularDriveRestoreArtifact; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GranularDriveRestoreArtifact +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.GranularDriveRestoreArtifact; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.Item.GranularDriveRestoreArtifactItemRequestBuilder Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder.OneDriveForBusinessRestoreSessionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder.OneDriveForBusinessRestoreSessionItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -158964,6 +159632,7 @@ Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item. Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|driveRestoreArtifacts:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifacts.DriveRestoreArtifactsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|driveRestoreArtifactsBulkAdditionRequests:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.DriveRestoreArtifactsBulkAdditionRequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OneDriveForBusinessRestoreSession +Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|granularDriveRestoreArtifacts:global.Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.GranularDriveRestoreArtifacts.GranularDriveRestoreArtifactsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.OneDriveForBusinessRestoreSession; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.OneDriveForBusinessRestoreSession Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.OneDriveForBusinessRestoreSessions.Item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation @@ -159402,6 +160071,50 @@ Microsoft.Graph.Solutions.BackupRestore.ServiceApps.serviceAppsRequestBuilder::| Microsoft.Graph.Solutions.BackupRestore.ServiceApps.serviceAppsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.ServiceApps.serviceAppsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.ServiceApp; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.ServiceApps.serviceAppsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.ServiceApps.ServiceAppsRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder.SharePointBrowseSessionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder.SharePointBrowseSessionItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder.SharePointBrowseSessionItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder.SharePointBrowseSessionItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder.SharePointBrowseSessionItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointBrowseSession +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SharePointBrowseSession; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointBrowseSession +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.SharePointBrowseSession; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder.sharePointBrowseSessionsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder::[SharePointBrowseSessionId:string]:global.Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Item.SharePointBrowseSessionItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder::|public|Count:global.Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointBrowseSessionCollectionResponse +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.SharePointBrowseSession; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointBrowseSession +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.SharePointBrowseSession; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.sharePointBrowseSessionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.SharePointBrowseSessions.SharePointBrowseSessionsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.SharePointProtectionPolicies.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Solutions.BackupRestore.SharePointProtectionPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Solutions.BackupRestore.SharePointProtectionPolicies.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -159563,6 +160276,50 @@ Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Count.CountReq Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder.granularSiteRestoreArtifactsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder::[GranularSiteRestoreArtifactId:string]:global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder::|public|Count:global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Count.CountRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GranularSiteRestoreArtifactCollectionResponse +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Models.GranularSiteRestoreArtifact; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GranularSiteRestoreArtifact +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Models.GranularSiteRestoreArtifact; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.granularSiteRestoreArtifactsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.GranularSiteRestoreArtifactsRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder.GranularSiteRestoreArtifactItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder.GranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder.GranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder.GranularSiteRestoreArtifactItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder.GranularSiteRestoreArtifactItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GranularSiteRestoreArtifact +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.GranularSiteRestoreArtifact; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.GranularSiteRestoreArtifact +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Models.GranularSiteRestoreArtifact; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.Item.GranularSiteRestoreArtifactItemRequestBuilder Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder.SharePointRestoreSessionItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder.SharePointRestoreSessionItemRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -159573,6 +160330,7 @@ Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePoin Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointRestoreSession +Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder::|public|granularSiteRestoreArtifacts:global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.GranularSiteRestoreArtifacts.GranularSiteRestoreArtifactsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Models.SharePointRestoreSession; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.SharePointRestoreSession Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder::|public|siteRestoreArtifacts:global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SiteRestoreArtifacts.SiteRestoreArtifactsRequestBuilder Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SharePointRestoreSessionItemRequestBuilder::|public|siteRestoreArtifactsBulkAdditionRequests:global.Microsoft.Graph.Solutions.BackupRestore.SharePointRestoreSessions.Item.SiteRestoreArtifactsBulkAdditionRequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder @@ -168340,6 +169098,13 @@ Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Count.CountRequestBuilder Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder.creationOptionsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.WebauthnCredentialCreationOptions +Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.creationOptionsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder.fido2MethodsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder.fido2MethodsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -168354,6 +169119,7 @@ Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilde Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Count.CountRequestBuilder +Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|creationOptions:global.Microsoft.Graph.Users.Item.Authentication.Fido2Methods.CreationOptions.CreationOptionsRequestBuilder Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Models.Fido2AuthenticationMethodCollectionResponse Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Users.Item.Authentication.Fido2Methods.fido2MethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Users.Item.Authentication.Fido2Methods.Fido2MethodsRequestBuilder diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index e6bff64dcad..7f56c38d165 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "E0F307664D6E422833C1FE38D410D3F01991B6802333E3AF7A5A360334ECF977B188746C2C662EB5049E41C65CAC8FC45543FB63EF485655562D99A3B7DCDD6D", + "descriptionHash": "142A73D967BD492449BF00EF7FB5D4D023BFD1C94FE7A2BB1A3825D22F97ACE689856C1522A18EF3B3243EEF627FB82E97482F5AFC5B372F09D5244A2F1FA435", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.31.1",