From 21bd96b37c1ae171dc1cbe6783e2034beca80631 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 5 May 2026 20:47:30 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 217716 --- .../item/restore/RestoreRequestBuilder.java | 8 +- .../item/restore/RestoreRequestBuilder.java | 8 +- .../item/restore/RestoreRequestBuilder.java | 8 +- .../UpdateAdDomainPasswordRequestBuilder.java | 10 +- .../item/restore/RestoreRequestBuilder.java | 8 +- .../DeletedItemsRequestBuilder.java | 10 +- .../graphgroup/GraphGroupRequestBuilder.java | 10 +- .../DirectoryObjectItemRequestBuilder.java | 18 +- .../graphgroup/GraphGroupRequestBuilder.java | 10 +- .../item/restore/RestoreRequestBuilder.java | 8 +- .../item/restore/RestoreRequestBuilder.java | 8 +- .../item/restore/RestoreRequestBuilder.java | 8 +- .../item/restore/RestoreRequestBuilder.java | 8 +- .../RetentionLabelRequestBuilder.java | 8 +- .../PermanentDeleteRequestBuilder.java | 10 +- .../item/restore/RestoreRequestBuilder.java | 8 +- .../item/restore/RestoreRequestBuilder.java | 8 +- .../identity/IdentityRequestBuilder.java | 9 + .../verifiedid/VerifiedIdRequestBuilder.java | 237 ++++ .../profiles/ProfilesRequestBuilder.java | 247 ++++ .../profiles/count/CountRequestBuilder.java | 128 ++ .../VerifiedIdProfileItemRequestBuilder.java | 234 ++++ .../graph/generated/kiota-dom-export.txt | 1117 +++++++++++++++++ .../microsoft/graph/generated/kiota-lock.json | 2 +- .../graph/generated/models/AiAgentInfo.java | 4 +- .../models/AuthenticationEventListener.java | 1 + .../generated/models/AzureADJoinPolicy.java | 12 +- .../models/AzureADRegistrationPolicy.java | 8 +- .../generated/models/BackupRestoreRoot.java | 51 + .../models/BrowsableResourceType.java | 31 + .../generated/models/BrowseQueryOrder.java | 31 + .../models/BrowseQueryResponseItem.java | 209 +++ .../models/BrowseQueryResponseItemType.java | 33 + .../generated/models/BrowseSessionBase.java | 172 +++ .../BrowseSessionBaseCollectionResponse.java | 61 + .../generated/models/BrowseSessionStatus.java | 29 + .../graph/generated/models/ClaimBinding.java | 158 +++ .../generated/models/ClaimBindingSource.java | 25 + .../generated/models/ClaimValidation.java | 141 +++ .../models/CloudPcOnPremisesConnection.java | 16 +- .../models/ConditionalAccessGrantControl.java | 4 +- .../ConditionalAccessGrantControls.java | 4 +- .../models/CustomAuthenticationExtension.java | 1 + .../models/CustomCalloutExtension.java | 1 + .../models/DeviceRegistrationPolicy.java | 24 +- .../graph/generated/models/EmailDetails.java | 158 +++ .../graph/generated/models/Entity.java | 41 +- ...numeratedDeviceRegistrationMembership.java | 8 +- .../models/FaceCheckConfiguration.java | 141 +++ .../models/Fido2AuthenticationMethod.java | 17 + .../models/FileStorageContainer.java | 4 +- .../models/GranularDriveRestoreArtifact.java | 61 + ...riveRestoreArtifactCollectionResponse.java | 61 + .../models/GranularRestoreArtifactBase.java | 206 +++ .../models/GranularSiteRestoreArtifact.java | 61 + ...SiteRestoreArtifactCollectionResponse.java | 61 + .../generated/models/IdentityContainer.java | 17 + .../models/IdentityVerifiedIdRoot.java | 61 + .../models/LicenseAssignmentState.java | 24 +- .../models/LocalAdminPasswordSettings.java | 4 +- .../generated/models/LocalAdminSettings.java | 8 +- .../models/MatchConfidenceLevel.java | 27 + .../graph/generated/models/NotifyMembers.java | 29 + ...ifiedIdClaimValidationCustomExtension.java | 45 + ...ClaimValidationCustomExtensionHandler.java | 79 ++ .../OnVerifiedIdClaimValidationHandler.java | 114 ++ .../OnVerifiedIdClaimValidationListener.java | 62 + .../OneDriveForBusinessBrowseSession.java | 62 + ...sinessBrowseSessionCollectionResponse.java | 61 + .../OneDriveForBusinessRestoreSession.java | 17 + .../models/OwnerlessGroupPolicy.java | 163 +++ .../graph/generated/models/PolicyRoot.java | 17 + .../generated/models/RestoreJobType.java | 4 +- .../graph/generated/models/RiskDetail.java | 4 +- .../models/SharePointBrowseSession.java | 62 + ...ePointBrowseSessionCollectionResponse.java | 61 + .../generated/models/SharePointGroup.java | 16 +- .../models/SharePointGroupIdentity.java | 8 +- .../models/SharePointGroupMember.java | 4 +- .../models/SharePointIdentitySet.java | 8 +- .../models/SharePointRestoreSession.java | 17 + .../graph/generated/models/TargetOwners.java | 141 +++ .../generated/models/VerifiedIdProfile.java | 198 +++ .../VerifiedIdProfileCollectionResponse.java | 61 + .../VerifiedIdProfileConfiguration.java | 192 +++ .../models/VerifiedIdProfileState.java | 27 + .../models/VerifiedIdUsageConfiguration.java | 141 +++ .../VerifiedIdUsageConfigurationPurpose.java | 29 + ...nAuthenticationExtensionsClientInputs.java | 107 ++ ...AuthenticationExtensionsClientOutputs.java | 107 ++ ...authnAuthenticatorAttestationResponse.java | 141 +++ ...ebauthnAuthenticatorSelectionCriteria.java | 158 +++ .../WebauthnCredentialCreationOptions.java | 142 +++ .../models/WebauthnPublicKeyCredential.java | 158 +++ ...thnPublicKeyCredentialCreationOptions.java | 260 ++++ ...WebauthnPublicKeyCredentialDescriptor.java | 158 +++ ...WebauthnPublicKeyCredentialParameters.java | 141 +++ .../WebauthnPublicKeyCredentialRpEntity.java | 141 +++ ...WebauthnPublicKeyCredentialUserEntity.java | 158 +++ .../models/externalconnectors/Label.java | 12 +- .../TaskProcessingResult.java | 17 + .../generated/models/security/Alert.java | 17 + .../generated/models/security/DataSource.java | 4 +- .../item/restore/RestoreRequestBuilder.java | 8 +- .../item/restore/RestoreRequestBuilder.java | 8 +- .../policies/PoliciesRequestBuilder.java | 9 + ...eviceRegistrationPolicyRequestBuilder.java | 12 +- .../OwnerlessGroupPolicyRequestBuilder.java | 184 +++ .../item/restore/RestoreRequestBuilder.java | 8 +- .../BackupRestoreRequestBuilder.java | 27 + .../BrowseSessionsRequestBuilder.java | 243 ++++ .../count/CountRequestBuilder.java | 128 ++ .../BrowseSessionBaseItemRequestBuilder.java | 248 ++++ .../item/browse/BrowsePostRequestBody.java | 160 +++ .../item/browse/BrowsePostResponse.java | 63 + .../item/browse/BrowseRequestBuilder.java | 102 ++ .../BrowseWithNextFetchTokenGetResponse.java | 63 + ...rowseWithNextFetchTokenRequestBuilder.java | 148 +++ ...rBusinessBrowseSessionsRequestBuilder.java | 243 ++++ .../count/CountRequestBuilder.java | 128 ++ ...sinessBrowseSessionItemRequestBuilder.java | 228 ++++ ...inessRestoreSessionItemRequestBuilder.java | 9 + ...arDriveRestoreArtifactsRequestBuilder.java | 243 ++++ .../count/CountRequestBuilder.java | 128 ++ ...riveRestoreArtifactItemRequestBuilder.java | 228 ++++ ...harePointBrowseSessionsRequestBuilder.java | 243 ++++ .../count/CountRequestBuilder.java | 128 ++ ...ePointBrowseSessionItemRequestBuilder.java | 228 ++++ ...PointRestoreSessionItemRequestBuilder.java | 9 + ...larSiteRestoreArtifactsRequestBuilder.java | 243 ++++ .../count/CountRequestBuilder.java | 128 ++ ...SiteRestoreArtifactItemRequestBuilder.java | 228 ++++ .../SharePointGroupsRequestBuilder.java | 10 +- .../SharePointGroupItemRequestBuilder.java | 10 +- .../item/members/MembersRequestBuilder.java | 10 +- ...arePointGroupMemberItemRequestBuilder.java | 10 +- .../SharePointGroupsRequestBuilder.java | 10 +- .../SharePointGroupItemRequestBuilder.java | 10 +- .../item/members/MembersRequestBuilder.java | 10 +- ...arePointGroupMemberItemRequestBuilder.java | 10 +- .../AppRoleAssignmentsRequestBuilder.java | 26 +- .../Fido2MethodsRequestBuilder.java | 9 + .../CreationOptionsRequestBuilder.java | 96 ++ .../PermanentDeleteRequestBuilder.java | 10 +- .../PermanentDeleteRequestBuilder.java | 10 +- .../PermanentDeleteRequestBuilder.java | 2 - .../DirectReportsRequestBuilder.java | 12 +- .../item/manager/ManagerRequestBuilder.java | 14 +- .../item/manager/ref/RefRequestBuilder.java | 24 +- .../item/memberof/MemberOfRequestBuilder.java | 14 +- .../OwnedObjectsRequestBuilder.java | 12 +- .../item/restore/RestoreRequestBuilder.java | 8 +- .../item/sponsors/SponsorsRequestBuilder.java | 14 +- .../sponsors/item/ref/RefRequestBuilder.java | 12 +- .../item/sponsors/ref/RefRequestBuilder.java | 40 +- .../TransitiveMemberOfRequestBuilder.java | 14 +- 156 files changed, 11331 insertions(+), 340 deletions(-) create mode 100644 src/main/java/com/microsoft/graph/generated/identity/verifiedid/VerifiedIdRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identity/verifiedid/profiles/ProfilesRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identity/verifiedid/profiles/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identity/verifiedid/profiles/item/VerifiedIdProfileItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/BrowsableResourceType.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/BrowseQueryOrder.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/BrowseQueryResponseItem.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/BrowseQueryResponseItemType.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/BrowseSessionBase.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/BrowseSessionBaseCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/BrowseSessionStatus.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/ClaimBinding.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/ClaimBindingSource.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/ClaimValidation.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/EmailDetails.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/FaceCheckConfiguration.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/GranularDriveRestoreArtifact.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/GranularDriveRestoreArtifactCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/GranularRestoreArtifactBase.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/GranularSiteRestoreArtifact.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/GranularSiteRestoreArtifactCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/IdentityVerifiedIdRoot.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/MatchConfidenceLevel.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/NotifyMembers.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/OnVerifiedIdClaimValidationCustomExtension.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/OnVerifiedIdClaimValidationCustomExtensionHandler.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/OnVerifiedIdClaimValidationHandler.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/OnVerifiedIdClaimValidationListener.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/OneDriveForBusinessBrowseSession.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/OneDriveForBusinessBrowseSessionCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/OwnerlessGroupPolicy.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/SharePointBrowseSession.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/SharePointBrowseSessionCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/TargetOwners.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/VerifiedIdProfile.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/VerifiedIdProfileCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/VerifiedIdProfileConfiguration.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/VerifiedIdProfileState.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/VerifiedIdUsageConfiguration.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/VerifiedIdUsageConfigurationPurpose.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/WebauthnAuthenticationExtensionsClientInputs.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/WebauthnAuthenticationExtensionsClientOutputs.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/WebauthnAuthenticatorAttestationResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/WebauthnAuthenticatorSelectionCriteria.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/WebauthnCredentialCreationOptions.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredential.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialCreationOptions.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialDescriptor.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialParameters.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialRpEntity.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialUserEntity.java create mode 100644 src/main/java/com/microsoft/graph/generated/policies/ownerlessgrouppolicy/OwnerlessGroupPolicyRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/BrowseSessionsRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/BrowseSessionBaseItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browse/BrowsePostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browse/BrowsePostResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browse/BrowseRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browsewithnextfetchtoken/BrowseWithNextFetchTokenGetResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browsewithnextfetchtoken/BrowseWithNextFetchTokenRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/OneDriveForBusinessBrowseSessionsRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/item/OneDriveForBusinessBrowseSessionItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/GranularDriveRestoreArtifactsRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/item/GranularDriveRestoreArtifactItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointbrowsesessions/SharePointBrowseSessionsRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointbrowsesessions/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointbrowsesessions/item/SharePointBrowseSessionItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/GranularSiteRestoreArtifactsRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/item/GranularSiteRestoreArtifactItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/users/item/authentication/fido2methods/creationoptions/CreationOptionsRequestBuilder.java diff --git a/src/main/java/com/microsoft/graph/generated/applications/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/restore/RestoreRequestBuilder.java index 6c87f64f7a4..de2062beb36 100644 --- a/src/main/java/com/microsoft/graph/generated/applications/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/applications/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/applications/{application%2Did}/restore", rawUrl); } /** - * 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. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/contacts/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/contacts/item/restore/RestoreRequestBuilder.java index a3b18e9bdac..15e775041d0 100644 --- a/src/main/java/com/microsoft/graph/generated/contacts/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/contacts/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/contacts/{orgContact%2Did}/restore", rawUrl); } /** - * 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. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/contracts/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/contracts/item/restore/RestoreRequestBuilder.java index 13de8a01d99..e5d75704b65 100644 --- a/src/main/java/com/microsoft/graph/generated/contracts/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/contracts/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/contracts/{contract%2Did}/restore", rawUrl); } /** - * 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. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/onpremisesconnections/item/updateaddomainpassword/UpdateAdDomainPasswordRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/onpremisesconnections/item/updateaddomainpassword/UpdateAdDomainPasswordRequestBuilder.java index 1eff6d4ab74..b7fd56ad0cc 100644 --- a/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/onpremisesconnections/item/updateaddomainpassword/UpdateAdDomainPasswordRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/onpremisesconnections/item/updateaddomainpassword/UpdateAdDomainPasswordRequestBuilder.java @@ -35,18 +35,20 @@ public UpdateAdDomainPasswordRequestBuilder(@jakarta.annotation.Nonnull final St super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/onPremisesConnections/{cloudPcOnPremisesConnection%2Did}/updateAdDomainPassword", rawUrl); } /** - * 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. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final UpdateAdDomainPasswordPostRequestBody body) { post(body, null); } /** - * 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. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final UpdateAdDomainPasswordPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); @@ -56,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final UpdateAdDomainPasswordPostReq this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * 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. * @param body The request body * @return a {@link RequestInformation} */ @@ -65,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * 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. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/generated/devices/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devices/item/restore/RestoreRequestBuilder.java index ad746cb95fb..7f060802c79 100644 --- a/src/main/java/com/microsoft/graph/generated/devices/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/devices/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/devices/{device%2Did}/restore", rawUrl); } /** - * 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. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/DeletedItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/DeletedItemsRequestBuilder.java index 54b138edf99..dd8ee759967 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/DeletedItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/DeletedItemsRequestBuilder.java @@ -140,7 +140,7 @@ public DeletedItemsRequestBuilder(@jakarta.annotation.Nonnull final String rawUr super(requestAdapter, "{+baseurl}/directory/deletedItems{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * 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 * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -149,7 +149,7 @@ public DirectoryObjectCollectionResponse get() { return get(null); } /** - * 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 * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -162,7 +162,7 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); } /** - * 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 * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -170,7 +170,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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 * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -192,7 +192,7 @@ public DeletedItemsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri return new DeletedItemsRequestBuilder(rawUrl, 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 */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/graphgroup/GraphGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/graphgroup/GraphGroupRequestBuilder.java index 7a99e3666bc..797aa99b61f 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/graphgroup/GraphGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/graphgroup/GraphGroupRequestBuilder.java @@ -46,7 +46,7 @@ public GraphGroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, super(requestAdapter, "{+baseurl}/directory/deletedItems/graph.group{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * 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 * @return a {@link GroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -56,7 +56,7 @@ public GroupCollectionResponse get() { return get(null); } /** - * 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 * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -70,7 +70,7 @@ public GroupCollectionResponse get(@jakarta.annotation.Nullable final java.util. return this.requestAdapter.send(requestInfo, errorMapping, GroupCollectionResponse::createFromDiscriminatorValue); } /** - * 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 * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -78,7 +78,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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 * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -100,7 +100,7 @@ public GraphGroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String return new GraphGroupRequestBuilder(rawUrl, 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 */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java index f824b7953cb..6343f206fb7 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java @@ -136,7 +136,7 @@ public DirectoryObjectItemRequestBuilder(@jakarta.annotation.Nonnull final Strin super(requestAdapter, "{+baseurl}/directory/deletedItems/{directoryObject%2Did}{?%24expand,%24select}", rawUrl); } /** - * 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. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -144,7 +144,7 @@ public void delete() { delete(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -156,7 +156,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * 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 * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -166,7 +166,7 @@ public DirectoryObject get() { return get(null); } /** - * 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 * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -180,7 +180,7 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -188,7 +188,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -200,7 +200,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * 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 * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -208,7 +208,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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 * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -236,7 +236,7 @@ public DirectoryObjectItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fin public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * 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 */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/graphgroup/GraphGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/graphgroup/GraphGroupRequestBuilder.java index 4a16dc5ada6..52a8904bdb9 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/graphgroup/GraphGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/graphgroup/GraphGroupRequestBuilder.java @@ -37,7 +37,7 @@ public GraphGroupRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, super(requestAdapter, "{+baseurl}/directory/deletedItems/{directoryObject%2Did}/graph.group{?%24expand,%24select}", rawUrl); } /** - * 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 * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -47,7 +47,7 @@ public Group get() { return get(null); } /** - * 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 * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code @@ -61,7 +61,7 @@ public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer< return this.requestAdapter.send(requestInfo, errorMapping, Group::createFromDiscriminatorValue); } /** - * 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 * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -69,7 +69,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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 * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -91,7 +91,7 @@ public GraphGroupRequestBuilder withUrl(@jakarta.annotation.Nonnull final String return new GraphGroupRequestBuilder(rawUrl, 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 */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/restore/RestoreRequestBuilder.java index 52bc067d185..a18ff43807c 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/deleteditems/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/directory/deletedItems/{directoryObject%2Did}/restore", rawUrl); } /** - * 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. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/directoryobjects/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directoryobjects/item/restore/RestoreRequestBuilder.java index 6a3862ebed0..c08c7c0f112 100644 --- a/src/main/java/com/microsoft/graph/generated/directoryobjects/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directoryobjects/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/directoryObjects/{directoryObject%2Did}/restore", rawUrl); } /** - * 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. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/directoryroles/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directoryroles/item/restore/RestoreRequestBuilder.java index bc1874783d9..7a4841a1af4 100644 --- a/src/main/java/com/microsoft/graph/generated/directoryroles/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directoryroles/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/restore", rawUrl); } /** - * 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. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/directoryroletemplates/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directoryroletemplates/item/restore/RestoreRequestBuilder.java index 5eaf6c8865d..db5408616b2 100644 --- a/src/main/java/com/microsoft/graph/generated/directoryroletemplates/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directoryroletemplates/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/directoryRoleTemplates/{directoryRoleTemplate%2Did}/restore", rawUrl); } /** - * 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. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java index ccde6a44e9d..b29b44d6ddf 100644 --- a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java @@ -37,7 +37,7 @@ public RetentionLabelRequestBuilder(@jakarta.annotation.Nonnull final String raw super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/retentionLabel{?%24expand,%24select}", rawUrl); } /** - * 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. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -45,7 +45,7 @@ public void delete() { delete(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -108,7 +108,7 @@ public ItemRetentionLabel patch(@jakarta.annotation.Nonnull final ItemRetentionL return this.requestAdapter.send(requestInfo, errorMapping, ItemRetentionLabel::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/permanentdelete/PermanentDeleteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/permanentdelete/PermanentDeleteRequestBuilder.java index afe138d70a7..7f100502ba7 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/calendar/permanentdelete/PermanentDeleteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/calendar/permanentdelete/PermanentDeleteRequestBuilder.java @@ -35,18 +35,16 @@ public PermanentDeleteRequestBuilder(@jakarta.annotation.Nonnull final String ra super(requestAdapter, "{+baseurl}/groups/{group%2Did}/calendar/permanentDelete", rawUrl); } /** - * 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 * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here */ public void post() { post(null); } /** - * 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 * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here */ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); @@ -55,7 +53,7 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * 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 * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -63,7 +61,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * 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 * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/restore/RestoreRequestBuilder.java index aabb3f4e3ff..e734467ef90 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/groups/{group%2Did}/restore", rawUrl); } /** - * 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. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/groupsettingtemplates/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groupsettingtemplates/item/restore/RestoreRequestBuilder.java index 04659f5bded..549f47b83f6 100644 --- a/src/main/java/com/microsoft/graph/generated/groupsettingtemplates/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groupsettingtemplates/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/groupSettingTemplates/{groupSettingTemplate%2Did}/restore", rawUrl); } /** - * 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. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/identity/IdentityRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identity/IdentityRequestBuilder.java index 5e3062f0f96..88e882ce0a0 100644 --- a/src/main/java/com/microsoft/graph/generated/identity/IdentityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identity/IdentityRequestBuilder.java @@ -9,6 +9,7 @@ import com.microsoft.graph.identity.identityproviders.IdentityProvidersRequestBuilder; import com.microsoft.graph.identity.riskprevention.RiskPreventionRequestBuilder; import com.microsoft.graph.identity.userflowattributes.UserFlowAttributesRequestBuilder; +import com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder; import com.microsoft.graph.models.IdentityContainer; import com.microsoft.graph.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -101,6 +102,14 @@ public RiskPreventionRequestBuilder riskPrevention() { public UserFlowAttributesRequestBuilder userFlowAttributes() { return new UserFlowAttributesRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the verifiedId property of the microsoft.graph.identityContainer entity. + * @return a {@link VerifiedIdRequestBuilder} + */ + @jakarta.annotation.Nonnull + public VerifiedIdRequestBuilder verifiedId() { + return new VerifiedIdRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link IdentityRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/generated/identity/verifiedid/VerifiedIdRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identity/verifiedid/VerifiedIdRequestBuilder.java new file mode 100644 index 00000000000..bd5a6affaf9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identity/verifiedid/VerifiedIdRequestBuilder.java @@ -0,0 +1,237 @@ +package com.microsoft.graph.identity.verifiedid; + +import com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder; +import com.microsoft.graph.models.IdentityVerifiedIdRoot; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the verifiedId property of the microsoft.graph.identityContainer entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class VerifiedIdRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the profiles property of the microsoft.graph.identityVerifiedIdRoot entity. + * @return a {@link ProfilesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProfilesRequestBuilder profiles() { + return new ProfilesRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link VerifiedIdRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public VerifiedIdRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identity/verifiedId{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link VerifiedIdRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public VerifiedIdRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identity/verifiedId{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property verifiedId for identity + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property verifiedId for identity + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Entry point for verified ID operations. + * @return a {@link IdentityVerifiedIdRoot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public IdentityVerifiedIdRoot get() { + return get(null); + } + /** + * Entry point for verified ID operations. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link IdentityVerifiedIdRoot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public IdentityVerifiedIdRoot get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, IdentityVerifiedIdRoot::createFromDiscriminatorValue); + } + /** + * Update the navigation property verifiedId in identity + * @param body The request body + * @return a {@link IdentityVerifiedIdRoot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public IdentityVerifiedIdRoot patch(@jakarta.annotation.Nonnull final IdentityVerifiedIdRoot body) { + return patch(body, null); + } + /** + * Update the navigation property verifiedId in identity + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link IdentityVerifiedIdRoot} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public IdentityVerifiedIdRoot patch(@jakarta.annotation.Nonnull final IdentityVerifiedIdRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, IdentityVerifiedIdRoot::createFromDiscriminatorValue); + } + /** + * Delete navigation property verifiedId for identity + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property verifiedId for identity + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Entry point for verified ID operations. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Entry point for verified ID operations. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property verifiedId in identity + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final IdentityVerifiedIdRoot body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property verifiedId in identity + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final IdentityVerifiedIdRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link VerifiedIdRequestBuilder} + */ + @jakarta.annotation.Nonnull + public VerifiedIdRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new VerifiedIdRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Entry point for verified ID operations. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/identity/verifiedid/profiles/ProfilesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identity/verifiedid/profiles/ProfilesRequestBuilder.java new file mode 100644 index 00000000000..9161b04576b --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identity/verifiedid/profiles/ProfilesRequestBuilder.java @@ -0,0 +1,247 @@ +package com.microsoft.graph.identity.verifiedid.profiles; + +import com.microsoft.graph.identity.verifiedid.profiles.count.CountRequestBuilder; +import com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.VerifiedIdProfile; +import com.microsoft.graph.models.VerifiedIdProfileCollectionResponse; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the profiles property of the microsoft.graph.identityVerifiedIdRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ProfilesRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the profiles property of the microsoft.graph.identityVerifiedIdRoot entity. + * @param verifiedIdProfileId The unique identifier of verifiedIdProfile + * @return a {@link VerifiedIdProfileItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public VerifiedIdProfileItemRequestBuilder byVerifiedIdProfileId(@jakarta.annotation.Nonnull final String verifiedIdProfileId) { + Objects.requireNonNull(verifiedIdProfileId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("verifiedIdProfile%2Did", verifiedIdProfileId); + return new VerifiedIdProfileItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link ProfilesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ProfilesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identity/verifiedId/profiles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ProfilesRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ProfilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identity/verifiedId/profiles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of the verifiedIdProfile objects and their properties. + * @return a {@link VerifiedIdProfileCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public VerifiedIdProfileCollectionResponse get() { + return get(null); + } + /** + * Get a list of the verifiedIdProfile objects and their properties. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link VerifiedIdProfileCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public VerifiedIdProfileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, VerifiedIdProfileCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create a new verifiedIdProfile object. + * @param body The request body + * @return a {@link VerifiedIdProfile} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public VerifiedIdProfile post(@jakarta.annotation.Nonnull final VerifiedIdProfile body) { + return post(body, null); + } + /** + * Create a new verifiedIdProfile object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link VerifiedIdProfile} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public VerifiedIdProfile post(@jakarta.annotation.Nonnull final VerifiedIdProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, VerifiedIdProfile::createFromDiscriminatorValue); + } + /** + * Get a list of the verifiedIdProfile objects and their properties. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of the verifiedIdProfile objects and their properties. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create a new verifiedIdProfile object. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VerifiedIdProfile body) { + return toPostRequestInformation(body, null); + } + /** + * Create a new verifiedIdProfile object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VerifiedIdProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ProfilesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProfilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ProfilesRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of the verifiedIdProfile objects and their properties. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/identity/verifiedid/profiles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identity/verifiedid/profiles/count/CountRequestBuilder.java new file mode 100644 index 00000000000..b59e6e6de3f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identity/verifiedid/profiles/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identity.verifiedid.profiles.count; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identity/verifiedId/profiles/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identity/verifiedId/profiles/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/identity/verifiedid/profiles/item/VerifiedIdProfileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identity/verifiedid/profiles/item/VerifiedIdProfileItemRequestBuilder.java new file mode 100644 index 00000000000..d9bd20fd42b --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identity/verifiedid/profiles/item/VerifiedIdProfileItemRequestBuilder.java @@ -0,0 +1,234 @@ +package com.microsoft.graph.identity.verifiedid.profiles.item; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.VerifiedIdProfile; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the profiles property of the microsoft.graph.identityVerifiedIdRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class VerifiedIdProfileItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link VerifiedIdProfileItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public VerifiedIdProfileItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identity/verifiedId/profiles/{verifiedIdProfile%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link VerifiedIdProfileItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public VerifiedIdProfileItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identity/verifiedId/profiles/{verifiedIdProfile%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete a verifiedIdProfile object. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete() { + delete(null); + } + /** + * Delete a verifiedIdProfile object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Read the properties and relationships of verifiedIdProfile object. + * @return a {@link VerifiedIdProfile} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public VerifiedIdProfile get() { + return get(null); + } + /** + * Read the properties and relationships of verifiedIdProfile object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link VerifiedIdProfile} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public VerifiedIdProfile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, VerifiedIdProfile::createFromDiscriminatorValue); + } + /** + * Update the properties of a verifiedIdProfile object. + * @param body The request body + * @return a {@link VerifiedIdProfile} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public VerifiedIdProfile patch(@jakarta.annotation.Nonnull final VerifiedIdProfile body) { + return patch(body, null); + } + /** + * Update the properties of a verifiedIdProfile object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link VerifiedIdProfile} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public VerifiedIdProfile patch(@jakarta.annotation.Nonnull final VerifiedIdProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, VerifiedIdProfile::createFromDiscriminatorValue); + } + /** + * Delete a verifiedIdProfile object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete a verifiedIdProfile object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Read the properties and relationships of verifiedIdProfile object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Read the properties and relationships of verifiedIdProfile object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the properties of a verifiedIdProfile object. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VerifiedIdProfile body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the properties of a verifiedIdProfile object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final VerifiedIdProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link VerifiedIdProfileItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public VerifiedIdProfileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new VerifiedIdProfileItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Read the properties and relationships of verifiedIdProfile object. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt b/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt index f642afbbbe5..790dab109d5 100644 --- a/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt +++ b/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt @@ -95709,6 +95709,7 @@ com.microsoft.graph.identity.IdentityRequestBuilder::|public|toGetRequestInforma com.microsoft.graph.identity.IdentityRequestBuilder::|public|toPatchRequestInformation(body:IdentityContainer):RequestInformation com.microsoft.graph.identity.IdentityRequestBuilder::|public|toPatchRequestInformation(body:IdentityContainer; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identity.IdentityRequestBuilder::|public|userFlowAttributes:UserFlowAttributesRequestBuilder +com.microsoft.graph.identity.IdentityRequestBuilder::|public|verifiedId:VerifiedIdRequestBuilder com.microsoft.graph.identity.IdentityRequestBuilder::|public|withUrl(rawUrl:String):IdentityRequestBuilder com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identity.riskprevention.fraudprotectionproviders.count.CountRequestBuilder.GetQueryParameters::|public|filter:String @@ -96034,6 +96035,96 @@ com.microsoft.graph.identity.userflowattributes.UserFlowAttributesRequestBuilder com.microsoft.graph.identity.userflowattributes.UserFlowAttributesRequestBuilder::|public|toPostRequestInformation(body:IdentityUserFlowAttribute):RequestInformation com.microsoft.graph.identity.userflowattributes.UserFlowAttributesRequestBuilder::|public|toPostRequestInformation(body:IdentityUserFlowAttribute; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identity.userflowattributes.UserFlowAttributesRequestBuilder::|public|withUrl(rawUrl:String):UserFlowAttributesRequestBuilder +com.microsoft.graph.identity.verifiedid.profiles.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identity.verifiedid.profiles.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identity.verifiedid.profiles.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identity.verifiedid.profiles.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identity.verifiedid.profiles.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identity.verifiedid.profiles.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identity.verifiedid.profiles.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identity.verifiedid.profiles.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identity.verifiedid.profiles.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identity.verifiedid.profiles.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identity.verifiedid.profiles.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identity.verifiedid.profiles.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identity.verifiedid.profiles.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identity.verifiedid.profiles.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder::|public|delete():Void +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder::|public|get():VerifiedIdProfile +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):VerifiedIdProfile +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder::|public|patch(body:VerifiedIdProfile):VerifiedIdProfile +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder::|public|patch(body:VerifiedIdProfile; requestConfiguration?:java.util.function.Consumer):VerifiedIdProfile +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder::|public|toPatchRequestInformation(body:VerifiedIdProfile):RequestInformation +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder::|public|toPatchRequestInformation(body:VerifiedIdProfile; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identity.verifiedid.profiles.item.VerifiedIdProfileItemRequestBuilder::|public|withUrl(rawUrl:String):VerifiedIdProfileItemRequestBuilder +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder::|public|byVerifiedIdProfileId(verifiedIdProfileId:String):VerifiedIdProfileItemRequestBuilder +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder::|public|get():VerifiedIdProfileCollectionResponse +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):VerifiedIdProfileCollectionResponse +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder::|public|post(body:VerifiedIdProfile):VerifiedIdProfile +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder::|public|post(body:VerifiedIdProfile; requestConfiguration?:java.util.function.Consumer):VerifiedIdProfile +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder::|public|toPostRequestInformation(body:VerifiedIdProfile):RequestInformation +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder::|public|toPostRequestInformation(body:VerifiedIdProfile; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identity.verifiedid.profiles.ProfilesRequestBuilder::|public|withUrl(rawUrl:String):ProfilesRequestBuilder +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder::|public|delete():Void +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder::|public|get():IdentityVerifiedIdRoot +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):IdentityVerifiedIdRoot +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder::|public|patch(body:IdentityVerifiedIdRoot):IdentityVerifiedIdRoot +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder::|public|patch(body:IdentityVerifiedIdRoot; requestConfiguration?:java.util.function.Consumer):IdentityVerifiedIdRoot +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder::|public|profiles:ProfilesRequestBuilder +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder::|public|toPatchRequestInformation(body:IdentityVerifiedIdRoot):RequestInformation +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder::|public|toPatchRequestInformation(body:IdentityVerifiedIdRoot; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identity.verifiedid.VerifiedIdRequestBuilder::|public|withUrl(rawUrl:String):VerifiedIdRequestBuilder com.microsoft.graph.identitygovernance.accessreviews.AccessReviewsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.accessreviews.AccessReviewsRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.identitygovernance.accessreviews.AccessReviewsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -118381,6 +118472,7 @@ com.microsoft.graph.models.B2xIdentityUserFlowCollectionResponse::|public|setVal com.microsoft.graph.models.B2xIdentityUserFlowCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):B2xIdentityUserFlowCollectionResponse com.microsoft.graph.models.BackupRestoreRoot-->Entity com.microsoft.graph.models.BackupRestoreRoot::|public|constructor():void +com.microsoft.graph.models.BackupRestoreRoot::|public|getBrowseSessions():java.util.List com.microsoft.graph.models.BackupRestoreRoot::|public|getDriveInclusionRules():java.util.List com.microsoft.graph.models.BackupRestoreRoot::|public|getDriveProtectionUnits():java.util.List com.microsoft.graph.models.BackupRestoreRoot::|public|getDriveProtectionUnitsBulkAdditionJobs():java.util.List @@ -118390,6 +118482,7 @@ com.microsoft.graph.models.BackupRestoreRoot::|public|getFieldDeserializers():Ma com.microsoft.graph.models.BackupRestoreRoot::|public|getMailboxInclusionRules():java.util.List com.microsoft.graph.models.BackupRestoreRoot::|public|getMailboxProtectionUnits():java.util.List com.microsoft.graph.models.BackupRestoreRoot::|public|getMailboxProtectionUnitsBulkAdditionJobs():java.util.List +com.microsoft.graph.models.BackupRestoreRoot::|public|getOneDriveForBusinessBrowseSessions():java.util.List com.microsoft.graph.models.BackupRestoreRoot::|public|getOneDriveForBusinessProtectionPolicies():java.util.List com.microsoft.graph.models.BackupRestoreRoot::|public|getOneDriveForBusinessRestoreSessions():java.util.List com.microsoft.graph.models.BackupRestoreRoot::|public|getProtectionPolicies():java.util.List @@ -118398,6 +118491,7 @@ com.microsoft.graph.models.BackupRestoreRoot::|public|getRestorePoints():java.ut com.microsoft.graph.models.BackupRestoreRoot::|public|getRestoreSessions():java.util.List com.microsoft.graph.models.BackupRestoreRoot::|public|getServiceApps():java.util.List com.microsoft.graph.models.BackupRestoreRoot::|public|getServiceStatus():ServiceStatus +com.microsoft.graph.models.BackupRestoreRoot::|public|getSharePointBrowseSessions():java.util.List com.microsoft.graph.models.BackupRestoreRoot::|public|getSharePointProtectionPolicies():java.util.List com.microsoft.graph.models.BackupRestoreRoot::|public|getSharePointRestoreSessions():java.util.List com.microsoft.graph.models.BackupRestoreRoot::|public|getSiteInclusionRules():java.util.List @@ -118405,6 +118499,7 @@ com.microsoft.graph.models.BackupRestoreRoot::|public|getSiteProtectionUnits():j com.microsoft.graph.models.BackupRestoreRoot::|public|getSiteProtectionUnitsBulkAdditionJobs():java.util.List com.microsoft.graph.models.BackupRestoreRoot::|public|OdataType:String com.microsoft.graph.models.BackupRestoreRoot::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.BackupRestoreRoot::|public|setBrowseSessions(value?:java.util.List):void com.microsoft.graph.models.BackupRestoreRoot::|public|setDriveInclusionRules(value?:java.util.List):void com.microsoft.graph.models.BackupRestoreRoot::|public|setDriveProtectionUnits(value?:java.util.List):void com.microsoft.graph.models.BackupRestoreRoot::|public|setDriveProtectionUnitsBulkAdditionJobs(value?:java.util.List):void @@ -118413,6 +118508,7 @@ com.microsoft.graph.models.BackupRestoreRoot::|public|setExchangeRestoreSessions com.microsoft.graph.models.BackupRestoreRoot::|public|setMailboxInclusionRules(value?:java.util.List):void com.microsoft.graph.models.BackupRestoreRoot::|public|setMailboxProtectionUnits(value?:java.util.List):void com.microsoft.graph.models.BackupRestoreRoot::|public|setMailboxProtectionUnitsBulkAdditionJobs(value?:java.util.List):void +com.microsoft.graph.models.BackupRestoreRoot::|public|setOneDriveForBusinessBrowseSessions(value?:java.util.List):void com.microsoft.graph.models.BackupRestoreRoot::|public|setOneDriveForBusinessProtectionPolicies(value?:java.util.List):void com.microsoft.graph.models.BackupRestoreRoot::|public|setOneDriveForBusinessRestoreSessions(value?:java.util.List):void com.microsoft.graph.models.BackupRestoreRoot::|public|setProtectionPolicies(value?:java.util.List):void @@ -118421,6 +118517,7 @@ com.microsoft.graph.models.BackupRestoreRoot::|public|setRestorePoints(value?:ja com.microsoft.graph.models.BackupRestoreRoot::|public|setRestoreSessions(value?:java.util.List):void com.microsoft.graph.models.BackupRestoreRoot::|public|setServiceApps(value?:java.util.List):void com.microsoft.graph.models.BackupRestoreRoot::|public|setServiceStatus(value?:ServiceStatus):void +com.microsoft.graph.models.BackupRestoreRoot::|public|setSharePointBrowseSessions(value?:java.util.List):void com.microsoft.graph.models.BackupRestoreRoot::|public|setSharePointProtectionPolicies(value?:java.util.List):void com.microsoft.graph.models.BackupRestoreRoot::|public|setSharePointRestoreSessions(value?:java.util.List):void com.microsoft.graph.models.BackupRestoreRoot::|public|setSiteInclusionRules(value?:java.util.List):void @@ -119295,6 +119392,46 @@ com.microsoft.graph.models.BroadcastMeetingSettings::|public|setIsVideoOnDemandE com.microsoft.graph.models.BroadcastMeetingSettings::|public|setOdataType(value?:String):void com.microsoft.graph.models.BroadcastMeetingSettings::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BroadcastMeetingSettings com.microsoft.graph.models.BroadcastMeetingSettings~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.BrowsableResourceType::0000-None +com.microsoft.graph.models.BrowsableResourceType::0001-Site +com.microsoft.graph.models.BrowsableResourceType::0002-DocumentLibrary +com.microsoft.graph.models.BrowsableResourceType::0003-Folder +com.microsoft.graph.models.BrowsableResourceType::0004-UnknownFutureValue +com.microsoft.graph.models.BrowseQueryOrder::0000-PathAsc +com.microsoft.graph.models.BrowseQueryOrder::0001-PathDsc +com.microsoft.graph.models.BrowseQueryOrder::0002-NameAsc +com.microsoft.graph.models.BrowseQueryOrder::0003-NameDsc +com.microsoft.graph.models.BrowseQueryOrder::0004-UnknownFutureValue +com.microsoft.graph.models.BrowseQueryResponseItem::|protected|backingStore:BackingStore +com.microsoft.graph.models.BrowseQueryResponseItem::|public|constructor():void +com.microsoft.graph.models.BrowseQueryResponseItem::|public|getAdditionalData():Map +com.microsoft.graph.models.BrowseQueryResponseItem::|public|getBackingStore():BackingStore +com.microsoft.graph.models.BrowseQueryResponseItem::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.BrowseQueryResponseItem::|public|getItemKey():String +com.microsoft.graph.models.BrowseQueryResponseItem::|public|getItemsCount():Integer +com.microsoft.graph.models.BrowseQueryResponseItem::|public|getName():String +com.microsoft.graph.models.BrowseQueryResponseItem::|public|getOdataType():String +com.microsoft.graph.models.BrowseQueryResponseItem::|public|getSizeInBytes():String +com.microsoft.graph.models.BrowseQueryResponseItem::|public|getType():BrowseQueryResponseItemType +com.microsoft.graph.models.BrowseQueryResponseItem::|public|getWebUrl():String +com.microsoft.graph.models.BrowseQueryResponseItem::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.BrowseQueryResponseItem::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.BrowseQueryResponseItem::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.BrowseQueryResponseItem::|public|setItemKey(value?:String):void +com.microsoft.graph.models.BrowseQueryResponseItem::|public|setItemsCount(value?:Integer):void +com.microsoft.graph.models.BrowseQueryResponseItem::|public|setName(value?:String):void +com.microsoft.graph.models.BrowseQueryResponseItem::|public|setOdataType(value?:String):void +com.microsoft.graph.models.BrowseQueryResponseItem::|public|setSizeInBytes(value?:String):void +com.microsoft.graph.models.BrowseQueryResponseItem::|public|setType(value?:BrowseQueryResponseItemType):void +com.microsoft.graph.models.BrowseQueryResponseItem::|public|setWebUrl(value?:String):void +com.microsoft.graph.models.BrowseQueryResponseItem::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BrowseQueryResponseItem +com.microsoft.graph.models.BrowseQueryResponseItemType::0000-None +com.microsoft.graph.models.BrowseQueryResponseItemType::0001-Site +com.microsoft.graph.models.BrowseQueryResponseItemType::0002-DocumentLibrary +com.microsoft.graph.models.BrowseQueryResponseItemType::0003-Folder +com.microsoft.graph.models.BrowseQueryResponseItemType::0004-File +com.microsoft.graph.models.BrowseQueryResponseItemType::0005-UnknownFutureValue +com.microsoft.graph.models.BrowseQueryResponseItem~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.BrowserSharedCookie-->Entity com.microsoft.graph.models.BrowserSharedCookie::|public|constructor():void com.microsoft.graph.models.BrowserSharedCookie::|public|getComment():String @@ -119493,6 +119630,37 @@ com.microsoft.graph.models.BrowserSiteTargetEnvironment::0002-MicrosoftEdge com.microsoft.graph.models.BrowserSiteTargetEnvironment::0003-Configurable com.microsoft.graph.models.BrowserSiteTargetEnvironment::0004-None com.microsoft.graph.models.BrowserSiteTargetEnvironment::0005-UnknownFutureValue +com.microsoft.graph.models.BrowseSessionBase-->Entity +com.microsoft.graph.models.BrowseSessionBase::|public|constructor():void +com.microsoft.graph.models.BrowseSessionBase::|public|getBackupSizeInBytes():String +com.microsoft.graph.models.BrowseSessionBase::|public|getCreatedDateTime():OffsetDateTime +com.microsoft.graph.models.BrowseSessionBase::|public|getError():PublicError +com.microsoft.graph.models.BrowseSessionBase::|public|getExpirationDateTime():OffsetDateTime +com.microsoft.graph.models.BrowseSessionBase::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.BrowseSessionBase::|public|getRestorePointDateTime():OffsetDateTime +com.microsoft.graph.models.BrowseSessionBase::|public|getRestorePointId():String +com.microsoft.graph.models.BrowseSessionBase::|public|getStatus():BrowseSessionStatus +com.microsoft.graph.models.BrowseSessionBase::|public|OdataType:String +com.microsoft.graph.models.BrowseSessionBase::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.BrowseSessionBase::|public|setBackupSizeInBytes(value?:String):void +com.microsoft.graph.models.BrowseSessionBase::|public|setCreatedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.BrowseSessionBase::|public|setError(value?:PublicError):void +com.microsoft.graph.models.BrowseSessionBase::|public|setExpirationDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.BrowseSessionBase::|public|setRestorePointDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.BrowseSessionBase::|public|setRestorePointId(value?:String):void +com.microsoft.graph.models.BrowseSessionBase::|public|setStatus(value?:BrowseSessionStatus):void +com.microsoft.graph.models.BrowseSessionBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BrowseSessionBase +com.microsoft.graph.models.BrowseSessionBaseCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.BrowseSessionBaseCollectionResponse::|public|constructor():void +com.microsoft.graph.models.BrowseSessionBaseCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.BrowseSessionBaseCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.BrowseSessionBaseCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.BrowseSessionBaseCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.BrowseSessionBaseCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BrowseSessionBaseCollectionResponse +com.microsoft.graph.models.BrowseSessionStatus::0000-Creating +com.microsoft.graph.models.BrowseSessionStatus::0001-Created +com.microsoft.graph.models.BrowseSessionStatus::0002-Failed +com.microsoft.graph.models.BrowseSessionStatus::0003-UnknownFutureValue com.microsoft.graph.models.BucketAggregationDefinition::|protected|backingStore:BackingStore com.microsoft.graph.models.BucketAggregationDefinition::|public|constructor():void com.microsoft.graph.models.BucketAggregationDefinition::|public|getAdditionalData():Map @@ -121677,6 +121845,26 @@ com.microsoft.graph.models.ChoiceColumn::|public|setDisplayAs(value?:String):voi com.microsoft.graph.models.ChoiceColumn::|public|setOdataType(value?:String):void com.microsoft.graph.models.ChoiceColumn::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ChoiceColumn com.microsoft.graph.models.ChoiceColumn~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.ClaimBinding::|protected|backingStore:BackingStore +com.microsoft.graph.models.ClaimBinding::|public|constructor():void +com.microsoft.graph.models.ClaimBinding::|public|getAdditionalData():Map +com.microsoft.graph.models.ClaimBinding::|public|getBackingStore():BackingStore +com.microsoft.graph.models.ClaimBinding::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.ClaimBinding::|public|getMatchConfidenceLevel():MatchConfidenceLevel +com.microsoft.graph.models.ClaimBinding::|public|getOdataType():String +com.microsoft.graph.models.ClaimBinding::|public|getSourceAttribute():String +com.microsoft.graph.models.ClaimBinding::|public|getVerifiedIdClaim():String +com.microsoft.graph.models.ClaimBinding::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.ClaimBinding::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.ClaimBinding::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.ClaimBinding::|public|setMatchConfidenceLevel(value?:MatchConfidenceLevel):void +com.microsoft.graph.models.ClaimBinding::|public|setOdataType(value?:String):void +com.microsoft.graph.models.ClaimBinding::|public|setSourceAttribute(value?:String):void +com.microsoft.graph.models.ClaimBinding::|public|setVerifiedIdClaim(value?:String):void +com.microsoft.graph.models.ClaimBinding::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ClaimBinding +com.microsoft.graph.models.ClaimBindingSource::0000-Directory +com.microsoft.graph.models.ClaimBindingSource::0001-UnknownFutureValue +com.microsoft.graph.models.ClaimBinding~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.ClaimsMappingPolicy-->StsPolicy com.microsoft.graph.models.ClaimsMappingPolicy::|public|constructor():void com.microsoft.graph.models.ClaimsMappingPolicy::|public|getFieldDeserializers():Map> @@ -121690,6 +121878,22 @@ com.microsoft.graph.models.ClaimsMappingPolicyCollectionResponse::|public|getVal com.microsoft.graph.models.ClaimsMappingPolicyCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.ClaimsMappingPolicyCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.models.ClaimsMappingPolicyCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ClaimsMappingPolicyCollectionResponse +com.microsoft.graph.models.ClaimValidation::|protected|backingStore:BackingStore +com.microsoft.graph.models.ClaimValidation::|public|constructor():void +com.microsoft.graph.models.ClaimValidation::|public|getAdditionalData():Map +com.microsoft.graph.models.ClaimValidation::|public|getBackingStore():BackingStore +com.microsoft.graph.models.ClaimValidation::|public|getCustomExtensionId():String +com.microsoft.graph.models.ClaimValidation::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.ClaimValidation::|public|getIsEnabled():Boolean +com.microsoft.graph.models.ClaimValidation::|public|getOdataType():String +com.microsoft.graph.models.ClaimValidation::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.ClaimValidation::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.ClaimValidation::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.ClaimValidation::|public|setCustomExtensionId(value?:String):void +com.microsoft.graph.models.ClaimValidation::|public|setIsEnabled(value?:Boolean):void +com.microsoft.graph.models.ClaimValidation::|public|setOdataType(value?:String):void +com.microsoft.graph.models.ClaimValidation::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ClaimValidation +com.microsoft.graph.models.ClaimValidation~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.ClassifcationErrorBase::|protected|backingStore:BackingStore com.microsoft.graph.models.ClassifcationErrorBase::|public|constructor():void com.microsoft.graph.models.ClassifcationErrorBase::|public|getAdditionalData():Map @@ -123239,6 +123443,7 @@ com.microsoft.graph.models.ConditionalAccessGrantControl::0004-ApprovedApplicati com.microsoft.graph.models.ConditionalAccessGrantControl::0005-CompliantApplication com.microsoft.graph.models.ConditionalAccessGrantControl::0006-PasswordChange com.microsoft.graph.models.ConditionalAccessGrantControl::0007-UnknownFutureValue +com.microsoft.graph.models.ConditionalAccessGrantControl::0008-RiskRemediation com.microsoft.graph.models.ConditionalAccessGrantControls::|protected|backingStore:BackingStore com.microsoft.graph.models.ConditionalAccessGrantControls::|public|constructor():void com.microsoft.graph.models.ConditionalAccessGrantControls::|public|getAdditionalData():Map @@ -129290,6 +129495,24 @@ com.microsoft.graph.models.EmailAuthenticationMethodConfiguration::|public|seria com.microsoft.graph.models.EmailAuthenticationMethodConfiguration::|public|setAllowExternalIdToUseEmailOtp(value?:ExternalEmailOtpState):void com.microsoft.graph.models.EmailAuthenticationMethodConfiguration::|public|setIncludeTargets(value?:java.util.List):void com.microsoft.graph.models.EmailAuthenticationMethodConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EmailAuthenticationMethodConfiguration +com.microsoft.graph.models.EmailDetails::|protected|backingStore:BackingStore +com.microsoft.graph.models.EmailDetails::|public|constructor():void +com.microsoft.graph.models.EmailDetails::|public|getAdditionalData():Map +com.microsoft.graph.models.EmailDetails::|public|getBackingStore():BackingStore +com.microsoft.graph.models.EmailDetails::|public|getBody():String +com.microsoft.graph.models.EmailDetails::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.EmailDetails::|public|getOdataType():String +com.microsoft.graph.models.EmailDetails::|public|getSenderEmailAddress():String +com.microsoft.graph.models.EmailDetails::|public|getSubject():String +com.microsoft.graph.models.EmailDetails::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.EmailDetails::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.EmailDetails::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.EmailDetails::|public|setBody(value?:String):void +com.microsoft.graph.models.EmailDetails::|public|setOdataType(value?:String):void +com.microsoft.graph.models.EmailDetails::|public|setSenderEmailAddress(value?:String):void +com.microsoft.graph.models.EmailDetails::|public|setSubject(value?:String):void +com.microsoft.graph.models.EmailDetails::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):EmailDetails +com.microsoft.graph.models.EmailDetails~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.EmailFileAssessmentRequest-->ThreatAssessmentRequest com.microsoft.graph.models.EmailFileAssessmentRequest::|public|constructor():void com.microsoft.graph.models.EmailFileAssessmentRequest::|public|getContentData():String @@ -130726,6 +130949,11 @@ com.microsoft.graph.models.externalconnectors.Label::0045-PersonColleagues com.microsoft.graph.models.externalconnectors.Label::0046-PersonManager com.microsoft.graph.models.externalconnectors.Label::0047-PersonAlternateContacts com.microsoft.graph.models.externalconnectors.Label::0048-PersonEmergencyContacts +com.microsoft.graph.models.externalconnectors.Label::0049-PersonEducationalActivities +com.microsoft.graph.models.externalconnectors.Label::0050-PersonInterests +com.microsoft.graph.models.externalconnectors.Label::0051-PersonLanguages +com.microsoft.graph.models.externalconnectors.Label::0052-PersonPublications +com.microsoft.graph.models.externalconnectors.Label::0053-PersonPatents com.microsoft.graph.models.externalconnectors.Properties::|protected|backingStore:BackingStore com.microsoft.graph.models.externalconnectors.Properties::|public|constructor():void com.microsoft.graph.models.externalconnectors.Properties::|public|getAdditionalData():Map @@ -130944,6 +131172,22 @@ com.microsoft.graph.models.ExtractSensitivityLabelsResult::|public|setLabels(val com.microsoft.graph.models.ExtractSensitivityLabelsResult::|public|setOdataType(value?:String):void com.microsoft.graph.models.ExtractSensitivityLabelsResult::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ExtractSensitivityLabelsResult com.microsoft.graph.models.ExtractSensitivityLabelsResult~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.FaceCheckConfiguration::|protected|backingStore:BackingStore +com.microsoft.graph.models.FaceCheckConfiguration::|public|constructor():void +com.microsoft.graph.models.FaceCheckConfiguration::|public|getAdditionalData():Map +com.microsoft.graph.models.FaceCheckConfiguration::|public|getBackingStore():BackingStore +com.microsoft.graph.models.FaceCheckConfiguration::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.FaceCheckConfiguration::|public|getIsEnabled():Boolean +com.microsoft.graph.models.FaceCheckConfiguration::|public|getOdataType():String +com.microsoft.graph.models.FaceCheckConfiguration::|public|getSourcePhotoClaimName():String +com.microsoft.graph.models.FaceCheckConfiguration::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.FaceCheckConfiguration::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.FaceCheckConfiguration::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.FaceCheckConfiguration::|public|setIsEnabled(value?:Boolean):void +com.microsoft.graph.models.FaceCheckConfiguration::|public|setOdataType(value?:String):void +com.microsoft.graph.models.FaceCheckConfiguration::|public|setSourcePhotoClaimName(value?:String):void +com.microsoft.graph.models.FaceCheckConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):FaceCheckConfiguration +com.microsoft.graph.models.FaceCheckConfiguration~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.FallbackToMicrosoftProviderOnError-->CustomExtensionBehaviorOnError com.microsoft.graph.models.FallbackToMicrosoftProviderOnError::|public|constructor():void com.microsoft.graph.models.FallbackToMicrosoftProviderOnError::|public|getFieldDeserializers():Map> @@ -131031,6 +131275,7 @@ com.microsoft.graph.models.Fido2AuthenticationMethod::|public|getDisplayName():S com.microsoft.graph.models.Fido2AuthenticationMethod::|public|getFieldDeserializers():Map> com.microsoft.graph.models.Fido2AuthenticationMethod::|public|getModel():String com.microsoft.graph.models.Fido2AuthenticationMethod::|public|getPasskeyType():PasskeyType +com.microsoft.graph.models.Fido2AuthenticationMethod::|public|getPublicKeyCredential():WebauthnPublicKeyCredential com.microsoft.graph.models.Fido2AuthenticationMethod::|public|OdataType:String com.microsoft.graph.models.Fido2AuthenticationMethod::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.Fido2AuthenticationMethod::|public|setAaGuid(value?:String):void @@ -131039,6 +131284,7 @@ com.microsoft.graph.models.Fido2AuthenticationMethod::|public|setAttestationLeve com.microsoft.graph.models.Fido2AuthenticationMethod::|public|setDisplayName(value?:String):void com.microsoft.graph.models.Fido2AuthenticationMethod::|public|setModel(value?:String):void com.microsoft.graph.models.Fido2AuthenticationMethod::|public|setPasskeyType(value?:PasskeyType):void +com.microsoft.graph.models.Fido2AuthenticationMethod::|public|setPublicKeyCredential(value?:WebauthnPublicKeyCredential):void com.microsoft.graph.models.Fido2AuthenticationMethod::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):Fido2AuthenticationMethod com.microsoft.graph.models.Fido2AuthenticationMethodCollectionResponse-->BaseCollectionPaginationCountResponse com.microsoft.graph.models.Fido2AuthenticationMethodCollectionResponse::|public|constructor():void @@ -131821,6 +132067,21 @@ com.microsoft.graph.models.GovernanceInsightCollectionResponse::|public|getValue com.microsoft.graph.models.GovernanceInsightCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.GovernanceInsightCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.models.GovernanceInsightCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GovernanceInsightCollectionResponse +com.microsoft.graph.models.GranularDriveRestoreArtifact-->GranularRestoreArtifactBase +com.microsoft.graph.models.GranularDriveRestoreArtifact::|public|constructor():void +com.microsoft.graph.models.GranularDriveRestoreArtifact::|public|getDirectoryObjectId():String +com.microsoft.graph.models.GranularDriveRestoreArtifact::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.GranularDriveRestoreArtifact::|public|OdataType:String +com.microsoft.graph.models.GranularDriveRestoreArtifact::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.GranularDriveRestoreArtifact::|public|setDirectoryObjectId(value?:String):void +com.microsoft.graph.models.GranularDriveRestoreArtifact::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GranularDriveRestoreArtifact +com.microsoft.graph.models.GranularDriveRestoreArtifactCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.GranularDriveRestoreArtifactCollectionResponse::|public|constructor():void +com.microsoft.graph.models.GranularDriveRestoreArtifactCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.GranularDriveRestoreArtifactCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.GranularDriveRestoreArtifactCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.GranularDriveRestoreArtifactCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.GranularDriveRestoreArtifactCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GranularDriveRestoreArtifactCollectionResponse com.microsoft.graph.models.GranularMailboxRestoreArtifact-->MailboxRestoreArtifact com.microsoft.graph.models.GranularMailboxRestoreArtifact::|public|constructor():void com.microsoft.graph.models.GranularMailboxRestoreArtifact::|public|getArtifactCount():Integer @@ -131838,6 +132099,45 @@ com.microsoft.graph.models.GranularMailboxRestoreArtifactCollectionResponse::|pu com.microsoft.graph.models.GranularMailboxRestoreArtifactCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.GranularMailboxRestoreArtifactCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.models.GranularMailboxRestoreArtifactCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GranularMailboxRestoreArtifactCollectionResponse +com.microsoft.graph.models.GranularRestoreArtifactBase-->Entity +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|constructor():void +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|getBrowseSessionId():String +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|getCompletionDateTime():OffsetDateTime +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|getRestoredItemKey():String +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|getRestoredItemPath():String +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|getRestoredItemWebUrl():String +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|getRestorePointDateTime():OffsetDateTime +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|getStartDateTime():OffsetDateTime +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|getStatus():ArtifactRestoreStatus +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|getWebUrl():String +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|OdataType:String +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|setBrowseSessionId(value?:String):void +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|setCompletionDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|setRestoredItemKey(value?:String):void +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|setRestoredItemPath(value?:String):void +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|setRestoredItemWebUrl(value?:String):void +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|setRestorePointDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|setStartDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|setStatus(value?:ArtifactRestoreStatus):void +com.microsoft.graph.models.GranularRestoreArtifactBase::|public|setWebUrl(value?:String):void +com.microsoft.graph.models.GranularRestoreArtifactBase::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GranularRestoreArtifactBase +com.microsoft.graph.models.GranularSiteRestoreArtifact-->GranularRestoreArtifactBase +com.microsoft.graph.models.GranularSiteRestoreArtifact::|public|constructor():void +com.microsoft.graph.models.GranularSiteRestoreArtifact::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.GranularSiteRestoreArtifact::|public|getSiteId():String +com.microsoft.graph.models.GranularSiteRestoreArtifact::|public|OdataType:String +com.microsoft.graph.models.GranularSiteRestoreArtifact::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.GranularSiteRestoreArtifact::|public|setSiteId(value?:String):void +com.microsoft.graph.models.GranularSiteRestoreArtifact::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GranularSiteRestoreArtifact +com.microsoft.graph.models.GranularSiteRestoreArtifactCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.GranularSiteRestoreArtifactCollectionResponse::|public|constructor():void +com.microsoft.graph.models.GranularSiteRestoreArtifactCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.GranularSiteRestoreArtifactCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.GranularSiteRestoreArtifactCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.GranularSiteRestoreArtifactCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.GranularSiteRestoreArtifactCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GranularSiteRestoreArtifactCollectionResponse com.microsoft.graph.models.Group-->DirectoryObject com.microsoft.graph.models.Group::|public|constructor():void com.microsoft.graph.models.Group::|public|getAcceptedSenders():java.util.List @@ -132290,6 +132590,7 @@ com.microsoft.graph.models.IdentityContainer::|public|getFieldDeserializers():Ma com.microsoft.graph.models.IdentityContainer::|public|getIdentityProviders():java.util.List com.microsoft.graph.models.IdentityContainer::|public|getRiskPrevention():RiskPreventionContainer com.microsoft.graph.models.IdentityContainer::|public|getUserFlowAttributes():java.util.List +com.microsoft.graph.models.IdentityContainer::|public|getVerifiedId():IdentityVerifiedIdRoot com.microsoft.graph.models.IdentityContainer::|public|OdataType:String com.microsoft.graph.models.IdentityContainer::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.IdentityContainer::|public|setApiConnectors(value?:java.util.List):void @@ -132301,6 +132602,7 @@ com.microsoft.graph.models.IdentityContainer::|public|setCustomAuthenticationExt com.microsoft.graph.models.IdentityContainer::|public|setIdentityProviders(value?:java.util.List):void com.microsoft.graph.models.IdentityContainer::|public|setRiskPrevention(value?:RiskPreventionContainer):void com.microsoft.graph.models.IdentityContainer::|public|setUserFlowAttributes(value?:java.util.List):void +com.microsoft.graph.models.IdentityContainer::|public|setVerifiedId(value?:IdentityVerifiedIdRoot):void com.microsoft.graph.models.IdentityContainer::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):IdentityContainer com.microsoft.graph.models.IdentityCustomUserFlowAttribute-->IdentityUserFlowAttribute com.microsoft.graph.models.IdentityCustomUserFlowAttribute::|public|constructor():void @@ -132661,6 +132963,7 @@ com.microsoft.graph.models.identitygovernance.TaskProcessingResult::|public|getC com.microsoft.graph.models.identitygovernance.TaskProcessingResult::|public|getCreatedDateTime():OffsetDateTime com.microsoft.graph.models.identitygovernance.TaskProcessingResult::|public|getFailureReason():String com.microsoft.graph.models.identitygovernance.TaskProcessingResult::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.identitygovernance.TaskProcessingResult::|public|getProcessingInfo():String com.microsoft.graph.models.identitygovernance.TaskProcessingResult::|public|getProcessingStatus():LifecycleWorkflowProcessingStatus com.microsoft.graph.models.identitygovernance.TaskProcessingResult::|public|getStartedDateTime():OffsetDateTime com.microsoft.graph.models.identitygovernance.TaskProcessingResult::|public|getSubject():User @@ -132670,6 +132973,7 @@ com.microsoft.graph.models.identitygovernance.TaskProcessingResult::|public|seri com.microsoft.graph.models.identitygovernance.TaskProcessingResult::|public|setCompletedDateTime(value?:OffsetDateTime):void com.microsoft.graph.models.identitygovernance.TaskProcessingResult::|public|setCreatedDateTime(value?:OffsetDateTime):void com.microsoft.graph.models.identitygovernance.TaskProcessingResult::|public|setFailureReason(value?:String):void +com.microsoft.graph.models.identitygovernance.TaskProcessingResult::|public|setProcessingInfo(value?:String):void com.microsoft.graph.models.identitygovernance.TaskProcessingResult::|public|setProcessingStatus(value?:LifecycleWorkflowProcessingStatus):void com.microsoft.graph.models.identitygovernance.TaskProcessingResult::|public|setStartedDateTime(value?:OffsetDateTime):void com.microsoft.graph.models.identitygovernance.TaskProcessingResult::|public|setSubject(value?:User):void @@ -133292,6 +133596,14 @@ com.microsoft.graph.models.IdentityUserFlowAttributeType::0000-BuiltIn com.microsoft.graph.models.IdentityUserFlowAttributeType::0001-Custom com.microsoft.graph.models.IdentityUserFlowAttributeType::0002-Required com.microsoft.graph.models.IdentityUserFlowAttributeType::0003-UnknownFutureValue +com.microsoft.graph.models.IdentityVerifiedIdRoot-->Entity +com.microsoft.graph.models.IdentityVerifiedIdRoot::|public|constructor():void +com.microsoft.graph.models.IdentityVerifiedIdRoot::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.IdentityVerifiedIdRoot::|public|getProfiles():java.util.List +com.microsoft.graph.models.IdentityVerifiedIdRoot::|public|OdataType:String +com.microsoft.graph.models.IdentityVerifiedIdRoot::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.IdentityVerifiedIdRoot::|public|setProfiles(value?:java.util.List):void +com.microsoft.graph.models.IdentityVerifiedIdRoot::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):IdentityVerifiedIdRoot com.microsoft.graph.models.Identity~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.IdleSessionSignOut::|protected|backingStore:BackingStore com.microsoft.graph.models.IdleSessionSignOut::|public|constructor():void @@ -137227,6 +137539,9 @@ com.microsoft.graph.models.ManagementState::0009-WipeCanceled com.microsoft.graph.models.ManagementState::0010-RetireCanceled com.microsoft.graph.models.ManagementState::0011-Discovered com.microsoft.graph.models.ManagementState::0012-UnknownFutureValue +com.microsoft.graph.models.MatchConfidenceLevel::0000-Exact +com.microsoft.graph.models.MatchConfidenceLevel::0001-Relaxed +com.microsoft.graph.models.MatchConfidenceLevel::0002-UnknownFutureValue com.microsoft.graph.models.MaxWorkLocationDetails::0000-Unknown com.microsoft.graph.models.MaxWorkLocationDetails::0001-None com.microsoft.graph.models.MaxWorkLocationDetails::0002-Approximate @@ -138924,6 +139239,10 @@ com.microsoft.graph.models.NotificationTemplateBrandingOptions::0003-IncludeCont com.microsoft.graph.models.NotificationTemplateBrandingOptions::0004-IncludeCompanyPortalLink com.microsoft.graph.models.NotificationTemplateBrandingOptions::0005-IncludeDeviceDetails com.microsoft.graph.models.NotificationTemplateBrandingOptions::0006-UnknownFutureValue +com.microsoft.graph.models.NotifyMembers::0000-All +com.microsoft.graph.models.NotifyMembers::0001-AllowSelected +com.microsoft.graph.models.NotifyMembers::0002-BlockSelected +com.microsoft.graph.models.NotifyMembers::0003-UnknownFutureValue com.microsoft.graph.models.NoTrainingNotificationSetting-->EndUserNotificationSetting com.microsoft.graph.models.NoTrainingNotificationSetting::|public|constructor():void com.microsoft.graph.models.NoTrainingNotificationSetting::|public|getFieldDeserializers():Map> @@ -139534,6 +139853,21 @@ com.microsoft.graph.models.OnAuthenticationMethodLoadStartListener::|public|Odat com.microsoft.graph.models.OnAuthenticationMethodLoadStartListener::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.OnAuthenticationMethodLoadStartListener::|public|setHandler(value?:OnAuthenticationMethodLoadStartHandler):void com.microsoft.graph.models.OnAuthenticationMethodLoadStartListener::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OnAuthenticationMethodLoadStartListener +com.microsoft.graph.models.OneDriveForBusinessBrowseSession-->BrowseSessionBase +com.microsoft.graph.models.OneDriveForBusinessBrowseSession::|public|constructor():void +com.microsoft.graph.models.OneDriveForBusinessBrowseSession::|public|getDirectoryObjectId():String +com.microsoft.graph.models.OneDriveForBusinessBrowseSession::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.OneDriveForBusinessBrowseSession::|public|OdataType:String +com.microsoft.graph.models.OneDriveForBusinessBrowseSession::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.OneDriveForBusinessBrowseSession::|public|setDirectoryObjectId(value?:String):void +com.microsoft.graph.models.OneDriveForBusinessBrowseSession::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OneDriveForBusinessBrowseSession +com.microsoft.graph.models.OneDriveForBusinessBrowseSessionCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.OneDriveForBusinessBrowseSessionCollectionResponse::|public|constructor():void +com.microsoft.graph.models.OneDriveForBusinessBrowseSessionCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.OneDriveForBusinessBrowseSessionCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.OneDriveForBusinessBrowseSessionCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.OneDriveForBusinessBrowseSessionCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.OneDriveForBusinessBrowseSessionCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OneDriveForBusinessBrowseSessionCollectionResponse com.microsoft.graph.models.OneDriveForBusinessProtectionPolicy-->ProtectionPolicyBase com.microsoft.graph.models.OneDriveForBusinessProtectionPolicy::|public|constructor():void com.microsoft.graph.models.OneDriveForBusinessProtectionPolicy::|public|getDriveInclusionRules():java.util.List @@ -139558,10 +139892,12 @@ com.microsoft.graph.models.OneDriveForBusinessRestoreSession::|public|constructo com.microsoft.graph.models.OneDriveForBusinessRestoreSession::|public|getDriveRestoreArtifacts():java.util.List com.microsoft.graph.models.OneDriveForBusinessRestoreSession::|public|getDriveRestoreArtifactsBulkAdditionRequests():java.util.List com.microsoft.graph.models.OneDriveForBusinessRestoreSession::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.OneDriveForBusinessRestoreSession::|public|getGranularDriveRestoreArtifacts():java.util.List com.microsoft.graph.models.OneDriveForBusinessRestoreSession::|public|OdataType:String com.microsoft.graph.models.OneDriveForBusinessRestoreSession::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.OneDriveForBusinessRestoreSession::|public|setDriveRestoreArtifacts(value?:java.util.List):void com.microsoft.graph.models.OneDriveForBusinessRestoreSession::|public|setDriveRestoreArtifactsBulkAdditionRequests(value?:java.util.List):void +com.microsoft.graph.models.OneDriveForBusinessRestoreSession::|public|setGranularDriveRestoreArtifacts(value?:java.util.List):void com.microsoft.graph.models.OneDriveForBusinessRestoreSession::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OneDriveForBusinessRestoreSession com.microsoft.graph.models.OneDriveForBusinessRestoreSessionCollectionResponse-->BaseCollectionPaginationCountResponse com.microsoft.graph.models.OneDriveForBusinessRestoreSessionCollectionResponse::|public|constructor():void @@ -140394,6 +140730,42 @@ com.microsoft.graph.models.OnUserCreateStartListener::|public|OdataType:String com.microsoft.graph.models.OnUserCreateStartListener::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.OnUserCreateStartListener::|public|setHandler(value?:OnUserCreateStartHandler):void com.microsoft.graph.models.OnUserCreateStartListener::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OnUserCreateStartListener +com.microsoft.graph.models.OnVerifiedIdClaimValidationCustomExtension-->CustomAuthenticationExtension +com.microsoft.graph.models.OnVerifiedIdClaimValidationCustomExtension::|public|constructor():void +com.microsoft.graph.models.OnVerifiedIdClaimValidationCustomExtension::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.OnVerifiedIdClaimValidationCustomExtension::|public|OdataType:String +com.microsoft.graph.models.OnVerifiedIdClaimValidationCustomExtension::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.OnVerifiedIdClaimValidationCustomExtension::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OnVerifiedIdClaimValidationCustomExtension +com.microsoft.graph.models.OnVerifiedIdClaimValidationCustomExtensionHandler-->OnVerifiedIdClaimValidationHandler +com.microsoft.graph.models.OnVerifiedIdClaimValidationCustomExtensionHandler::|public|constructor():void +com.microsoft.graph.models.OnVerifiedIdClaimValidationCustomExtensionHandler::|public|getConfiguration():CustomExtensionOverwriteConfiguration +com.microsoft.graph.models.OnVerifiedIdClaimValidationCustomExtensionHandler::|public|getCustomExtension():OnVerifiedIdClaimValidationCustomExtension +com.microsoft.graph.models.OnVerifiedIdClaimValidationCustomExtensionHandler::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.OnVerifiedIdClaimValidationCustomExtensionHandler::|public|OdataType:String +com.microsoft.graph.models.OnVerifiedIdClaimValidationCustomExtensionHandler::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.OnVerifiedIdClaimValidationCustomExtensionHandler::|public|setConfiguration(value?:CustomExtensionOverwriteConfiguration):void +com.microsoft.graph.models.OnVerifiedIdClaimValidationCustomExtensionHandler::|public|setCustomExtension(value?:OnVerifiedIdClaimValidationCustomExtension):void +com.microsoft.graph.models.OnVerifiedIdClaimValidationCustomExtensionHandler::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OnVerifiedIdClaimValidationCustomExtensionHandler +com.microsoft.graph.models.OnVerifiedIdClaimValidationHandler::|protected|backingStore:BackingStore +com.microsoft.graph.models.OnVerifiedIdClaimValidationHandler::|public|constructor():void +com.microsoft.graph.models.OnVerifiedIdClaimValidationHandler::|public|getAdditionalData():Map +com.microsoft.graph.models.OnVerifiedIdClaimValidationHandler::|public|getBackingStore():BackingStore +com.microsoft.graph.models.OnVerifiedIdClaimValidationHandler::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.OnVerifiedIdClaimValidationHandler::|public|getOdataType():String +com.microsoft.graph.models.OnVerifiedIdClaimValidationHandler::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.OnVerifiedIdClaimValidationHandler::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.OnVerifiedIdClaimValidationHandler::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.OnVerifiedIdClaimValidationHandler::|public|setOdataType(value?:String):void +com.microsoft.graph.models.OnVerifiedIdClaimValidationHandler::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OnVerifiedIdClaimValidationHandler +com.microsoft.graph.models.OnVerifiedIdClaimValidationHandler~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.OnVerifiedIdClaimValidationListener-->AuthenticationEventListener +com.microsoft.graph.models.OnVerifiedIdClaimValidationListener::|public|constructor():void +com.microsoft.graph.models.OnVerifiedIdClaimValidationListener::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.OnVerifiedIdClaimValidationListener::|public|getHandler():OnVerifiedIdClaimValidationHandler +com.microsoft.graph.models.OnVerifiedIdClaimValidationListener::|public|OdataType:String +com.microsoft.graph.models.OnVerifiedIdClaimValidationListener::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.OnVerifiedIdClaimValidationListener::|public|setHandler(value?:OnVerifiedIdClaimValidationHandler):void +com.microsoft.graph.models.OnVerifiedIdClaimValidationListener::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OnVerifiedIdClaimValidationListener com.microsoft.graph.models.OpenComplexDictionaryType-->Dictionary com.microsoft.graph.models.OpenComplexDictionaryType::|public|constructor():void com.microsoft.graph.models.OpenComplexDictionaryType::|public|getFieldDeserializers():Map> @@ -140909,6 +141281,26 @@ com.microsoft.graph.models.OutOfOfficeSettings::|public|setMessage(value?:String com.microsoft.graph.models.OutOfOfficeSettings::|public|setOdataType(value?:String):void com.microsoft.graph.models.OutOfOfficeSettings::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OutOfOfficeSettings com.microsoft.graph.models.OutOfOfficeSettings~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.OwnerlessGroupPolicy-->Entity +com.microsoft.graph.models.OwnerlessGroupPolicy::|public|constructor():void +com.microsoft.graph.models.OwnerlessGroupPolicy::|public|getEmailInfo():EmailDetails +com.microsoft.graph.models.OwnerlessGroupPolicy::|public|getEnabledGroupIds():java.util.List +com.microsoft.graph.models.OwnerlessGroupPolicy::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.OwnerlessGroupPolicy::|public|getIsEnabled():Boolean +com.microsoft.graph.models.OwnerlessGroupPolicy::|public|getMaxMembersToNotify():Long +com.microsoft.graph.models.OwnerlessGroupPolicy::|public|getNotificationDurationInWeeks():Long +com.microsoft.graph.models.OwnerlessGroupPolicy::|public|getPolicyWebUrl():String +com.microsoft.graph.models.OwnerlessGroupPolicy::|public|getTargetOwners():TargetOwners +com.microsoft.graph.models.OwnerlessGroupPolicy::|public|OdataType:String +com.microsoft.graph.models.OwnerlessGroupPolicy::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.OwnerlessGroupPolicy::|public|setEmailInfo(value?:EmailDetails):void +com.microsoft.graph.models.OwnerlessGroupPolicy::|public|setEnabledGroupIds(value?:java.util.List):void +com.microsoft.graph.models.OwnerlessGroupPolicy::|public|setIsEnabled(value?:Boolean):void +com.microsoft.graph.models.OwnerlessGroupPolicy::|public|setMaxMembersToNotify(value?:Long):void +com.microsoft.graph.models.OwnerlessGroupPolicy::|public|setNotificationDurationInWeeks(value?:Long):void +com.microsoft.graph.models.OwnerlessGroupPolicy::|public|setPolicyWebUrl(value?:String):void +com.microsoft.graph.models.OwnerlessGroupPolicy::|public|setTargetOwners(value?:TargetOwners):void +com.microsoft.graph.models.OwnerlessGroupPolicy::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OwnerlessGroupPolicy com.microsoft.graph.models.PackageEscaped::|protected|backingStore:BackingStore com.microsoft.graph.models.PackageEscaped::|public|constructor():void com.microsoft.graph.models.PackageEscaped::|public|getAdditionalData():Map @@ -142505,6 +142897,7 @@ com.microsoft.graph.models.PolicyRoot::|public|getFeatureRolloutPolicies():java. com.microsoft.graph.models.PolicyRoot::|public|getFieldDeserializers():Map> com.microsoft.graph.models.PolicyRoot::|public|getHomeRealmDiscoveryPolicies():java.util.List com.microsoft.graph.models.PolicyRoot::|public|getIdentitySecurityDefaultsEnforcementPolicy():IdentitySecurityDefaultsEnforcementPolicy +com.microsoft.graph.models.PolicyRoot::|public|getOwnerlessGroupPolicy():OwnerlessGroupPolicy com.microsoft.graph.models.PolicyRoot::|public|getPermissionGrantPolicies():java.util.List com.microsoft.graph.models.PolicyRoot::|public|getRoleManagementPolicies():java.util.List com.microsoft.graph.models.PolicyRoot::|public|getRoleManagementPolicyAssignments():java.util.List @@ -142527,6 +142920,7 @@ com.microsoft.graph.models.PolicyRoot::|public|setDeviceRegistrationPolicy(value com.microsoft.graph.models.PolicyRoot::|public|setFeatureRolloutPolicies(value?:java.util.List):void com.microsoft.graph.models.PolicyRoot::|public|setHomeRealmDiscoveryPolicies(value?:java.util.List):void com.microsoft.graph.models.PolicyRoot::|public|setIdentitySecurityDefaultsEnforcementPolicy(value?:IdentitySecurityDefaultsEnforcementPolicy):void +com.microsoft.graph.models.PolicyRoot::|public|setOwnerlessGroupPolicy(value?:OwnerlessGroupPolicy):void com.microsoft.graph.models.PolicyRoot::|public|setPermissionGrantPolicies(value?:java.util.List):void com.microsoft.graph.models.PolicyRoot::|public|setRoleManagementPolicies(value?:java.util.List):void com.microsoft.graph.models.PolicyRoot::|public|setRoleManagementPolicyAssignments(value?:java.util.List):void @@ -146913,6 +147307,7 @@ com.microsoft.graph.models.RestoreArtifactsBulkRequestStatus::0004-UnknownFuture com.microsoft.graph.models.RestoreJobType::0000-Standard com.microsoft.graph.models.RestoreJobType::0001-Bulk com.microsoft.graph.models.RestoreJobType::0002-UnknownFutureValue +com.microsoft.graph.models.RestoreJobType::0003-Granular com.microsoft.graph.models.RestorePoint-->Entity com.microsoft.graph.models.RestorePoint::|public|constructor():void com.microsoft.graph.models.RestorePoint::|public|getExpirationDateTime():OffsetDateTime @@ -147184,6 +147579,7 @@ com.microsoft.graph.models.RiskDetail::0014-AdminDismissedAllRiskForServicePrinc com.microsoft.graph.models.RiskDetail::0015-UserChangedPasswordOnPremises com.microsoft.graph.models.RiskDetail::0016-AdminDismissedRiskForSignIn com.microsoft.graph.models.RiskDetail::0017-AdminConfirmedAccountSafe +com.microsoft.graph.models.RiskDetail::0018-MicrosoftRevokedSessions com.microsoft.graph.models.RiskDetection-->Entity com.microsoft.graph.models.RiskDetection::|public|constructor():void com.microsoft.graph.models.RiskDetection::|public|getActivity():ActivityType @@ -148664,6 +149060,7 @@ com.microsoft.graph.models.security.Alert::|public|getAdditionalDataProperty():D com.microsoft.graph.models.security.Alert::|public|getAlertPolicyId():String com.microsoft.graph.models.security.Alert::|public|getAlertWebUrl():String com.microsoft.graph.models.security.Alert::|public|getAssignedTo():String +com.microsoft.graph.models.security.Alert::|public|getCategories():java.util.List com.microsoft.graph.models.security.Alert::|public|getCategory():String com.microsoft.graph.models.security.Alert::|public|getClassification():AlertClassification com.microsoft.graph.models.security.Alert::|public|getComments():java.util.List @@ -148701,6 +149098,7 @@ com.microsoft.graph.models.security.Alert::|public|setAdditionalDataProperty(val com.microsoft.graph.models.security.Alert::|public|setAlertPolicyId(value?:String):void com.microsoft.graph.models.security.Alert::|public|setAlertWebUrl(value?:String):void com.microsoft.graph.models.security.Alert::|public|setAssignedTo(value?:String):void +com.microsoft.graph.models.security.Alert::|public|setCategories(value?:java.util.List):void com.microsoft.graph.models.security.Alert::|public|setCategory(value?:String):void com.microsoft.graph.models.security.Alert::|public|setClassification(value?:AlertClassification):void com.microsoft.graph.models.security.Alert::|public|setComments(value?:java.util.List):void @@ -153544,6 +153942,21 @@ com.microsoft.graph.models.Sharepoint::|public|OdataType:String com.microsoft.graph.models.Sharepoint::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.Sharepoint::|public|setSettings(value?:SharepointSettings):void com.microsoft.graph.models.Sharepoint::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):Sharepoint +com.microsoft.graph.models.SharePointBrowseSession-->BrowseSessionBase +com.microsoft.graph.models.SharePointBrowseSession::|public|constructor():void +com.microsoft.graph.models.SharePointBrowseSession::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.SharePointBrowseSession::|public|getSiteId():String +com.microsoft.graph.models.SharePointBrowseSession::|public|OdataType:String +com.microsoft.graph.models.SharePointBrowseSession::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.SharePointBrowseSession::|public|setSiteId(value?:String):void +com.microsoft.graph.models.SharePointBrowseSession::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SharePointBrowseSession +com.microsoft.graph.models.SharePointBrowseSessionCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.SharePointBrowseSessionCollectionResponse::|public|constructor():void +com.microsoft.graph.models.SharePointBrowseSessionCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.SharePointBrowseSessionCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.SharePointBrowseSessionCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.SharePointBrowseSessionCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.SharePointBrowseSessionCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SharePointBrowseSessionCollectionResponse com.microsoft.graph.models.SharePointGroup-->Entity com.microsoft.graph.models.SharePointGroup::|public|constructor():void com.microsoft.graph.models.SharePointGroup::|public|getDescription():String @@ -153855,10 +154268,12 @@ com.microsoft.graph.models.SharePointProtectionPolicyCollectionResponse::|static com.microsoft.graph.models.SharePointRestoreSession-->RestoreSessionBase com.microsoft.graph.models.SharePointRestoreSession::|public|constructor():void com.microsoft.graph.models.SharePointRestoreSession::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.SharePointRestoreSession::|public|getGranularSiteRestoreArtifacts():java.util.List com.microsoft.graph.models.SharePointRestoreSession::|public|getSiteRestoreArtifacts():java.util.List com.microsoft.graph.models.SharePointRestoreSession::|public|getSiteRestoreArtifactsBulkAdditionRequests():java.util.List com.microsoft.graph.models.SharePointRestoreSession::|public|OdataType:String com.microsoft.graph.models.SharePointRestoreSession::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.SharePointRestoreSession::|public|setGranularSiteRestoreArtifacts(value?:java.util.List):void com.microsoft.graph.models.SharePointRestoreSession::|public|setSiteRestoreArtifacts(value?:java.util.List):void com.microsoft.graph.models.SharePointRestoreSession::|public|setSiteRestoreArtifactsBulkAdditionRequests(value?:java.util.List):void com.microsoft.graph.models.SharePointRestoreSession::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SharePointRestoreSession @@ -156113,6 +156528,22 @@ com.microsoft.graph.models.TargetManager::|public|OdataType:String com.microsoft.graph.models.TargetManager::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.TargetManager::|public|setManagerLevel(value?:Integer):void com.microsoft.graph.models.TargetManager::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TargetManager +com.microsoft.graph.models.TargetOwners::|protected|backingStore:BackingStore +com.microsoft.graph.models.TargetOwners::|public|constructor():void +com.microsoft.graph.models.TargetOwners::|public|getAdditionalData():Map +com.microsoft.graph.models.TargetOwners::|public|getBackingStore():BackingStore +com.microsoft.graph.models.TargetOwners::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.TargetOwners::|public|getNotifyMembers():NotifyMembers +com.microsoft.graph.models.TargetOwners::|public|getOdataType():String +com.microsoft.graph.models.TargetOwners::|public|getSecurityGroups():java.util.List +com.microsoft.graph.models.TargetOwners::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.TargetOwners::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.TargetOwners::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.TargetOwners::|public|setNotifyMembers(value?:NotifyMembers):void +com.microsoft.graph.models.TargetOwners::|public|setOdataType(value?:String):void +com.microsoft.graph.models.TargetOwners::|public|setSecurityGroups(value?:java.util.List):void +com.microsoft.graph.models.TargetOwners::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):TargetOwners +com.microsoft.graph.models.TargetOwners~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.TargetResource::|protected|backingStore:BackingStore com.microsoft.graph.models.TargetResource::|public|constructor():void com.microsoft.graph.models.TargetResource::|public|getAdditionalData():Map @@ -161164,6 +161595,82 @@ com.microsoft.graph.models.VerifiedDomain::|public|setOdataType(value?:String):v com.microsoft.graph.models.VerifiedDomain::|public|setType(value?:String):void com.microsoft.graph.models.VerifiedDomain::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):VerifiedDomain com.microsoft.graph.models.VerifiedDomain~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.VerifiedIdProfile-->Entity +com.microsoft.graph.models.VerifiedIdProfile::|public|constructor():void +com.microsoft.graph.models.VerifiedIdProfile::|public|getDescription():String +com.microsoft.graph.models.VerifiedIdProfile::|public|getFaceCheckConfiguration():FaceCheckConfiguration +com.microsoft.graph.models.VerifiedIdProfile::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.VerifiedIdProfile::|public|getLastModifiedDateTime():OffsetDateTime +com.microsoft.graph.models.VerifiedIdProfile::|public|getName():String +com.microsoft.graph.models.VerifiedIdProfile::|public|getPriority():Integer +com.microsoft.graph.models.VerifiedIdProfile::|public|getState():VerifiedIdProfileState +com.microsoft.graph.models.VerifiedIdProfile::|public|getVerifiedIdProfileConfiguration():VerifiedIdProfileConfiguration +com.microsoft.graph.models.VerifiedIdProfile::|public|getVerifiedIdUsageConfigurations():java.util.List +com.microsoft.graph.models.VerifiedIdProfile::|public|getVerifierDid():String +com.microsoft.graph.models.VerifiedIdProfile::|public|OdataType:String +com.microsoft.graph.models.VerifiedIdProfile::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.VerifiedIdProfile::|public|setDescription(value?:String):void +com.microsoft.graph.models.VerifiedIdProfile::|public|setFaceCheckConfiguration(value?:FaceCheckConfiguration):void +com.microsoft.graph.models.VerifiedIdProfile::|public|setLastModifiedDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.VerifiedIdProfile::|public|setName(value?:String):void +com.microsoft.graph.models.VerifiedIdProfile::|public|setPriority(value?:Integer):void +com.microsoft.graph.models.VerifiedIdProfile::|public|setState(value?:VerifiedIdProfileState):void +com.microsoft.graph.models.VerifiedIdProfile::|public|setVerifiedIdProfileConfiguration(value?:VerifiedIdProfileConfiguration):void +com.microsoft.graph.models.VerifiedIdProfile::|public|setVerifiedIdUsageConfigurations(value?:java.util.List):void +com.microsoft.graph.models.VerifiedIdProfile::|public|setVerifierDid(value?:String):void +com.microsoft.graph.models.VerifiedIdProfile::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):VerifiedIdProfile +com.microsoft.graph.models.VerifiedIdProfileCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.VerifiedIdProfileCollectionResponse::|public|constructor():void +com.microsoft.graph.models.VerifiedIdProfileCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.VerifiedIdProfileCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.VerifiedIdProfileCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.VerifiedIdProfileCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.VerifiedIdProfileCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):VerifiedIdProfileCollectionResponse +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|protected|backingStore:BackingStore +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|constructor():void +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|getAcceptedIssuer():String +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|getAdditionalData():Map +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|getBackingStore():BackingStore +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|getClaimBindings():java.util.List +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|getClaimBindingSource():ClaimBindingSource +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|getClaimValidation():ClaimValidation +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|getOdataType():String +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|getType():String +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|setAcceptedIssuer(value?:String):void +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|setClaimBindings(value?:java.util.List):void +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|setClaimBindingSource(value?:ClaimBindingSource):void +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|setClaimValidation(value?:ClaimValidation):void +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|setOdataType(value?:String):void +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|public|setType(value?:String):void +com.microsoft.graph.models.VerifiedIdProfileConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):VerifiedIdProfileConfiguration +com.microsoft.graph.models.VerifiedIdProfileConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.VerifiedIdProfileState::0000-Enabled +com.microsoft.graph.models.VerifiedIdProfileState::0001-Disabled +com.microsoft.graph.models.VerifiedIdProfileState::0002-UnknownFutureValue +com.microsoft.graph.models.VerifiedIdUsageConfiguration::|protected|backingStore:BackingStore +com.microsoft.graph.models.VerifiedIdUsageConfiguration::|public|constructor():void +com.microsoft.graph.models.VerifiedIdUsageConfiguration::|public|getAdditionalData():Map +com.microsoft.graph.models.VerifiedIdUsageConfiguration::|public|getBackingStore():BackingStore +com.microsoft.graph.models.VerifiedIdUsageConfiguration::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.VerifiedIdUsageConfiguration::|public|getIsEnabledForTestOnly():Boolean +com.microsoft.graph.models.VerifiedIdUsageConfiguration::|public|getOdataType():String +com.microsoft.graph.models.VerifiedIdUsageConfiguration::|public|getPurpose():VerifiedIdUsageConfigurationPurpose +com.microsoft.graph.models.VerifiedIdUsageConfiguration::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.VerifiedIdUsageConfiguration::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.VerifiedIdUsageConfiguration::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.VerifiedIdUsageConfiguration::|public|setIsEnabledForTestOnly(value?:Boolean):void +com.microsoft.graph.models.VerifiedIdUsageConfiguration::|public|setOdataType(value?:String):void +com.microsoft.graph.models.VerifiedIdUsageConfiguration::|public|setPurpose(value?:VerifiedIdUsageConfigurationPurpose):void +com.microsoft.graph.models.VerifiedIdUsageConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):VerifiedIdUsageConfiguration +com.microsoft.graph.models.VerifiedIdUsageConfigurationPurpose::0000-Recovery +com.microsoft.graph.models.VerifiedIdUsageConfigurationPurpose::0001-Onboarding +com.microsoft.graph.models.VerifiedIdUsageConfigurationPurpose::0002-All +com.microsoft.graph.models.VerifiedIdUsageConfigurationPurpose::0003-UnknownFutureValue +com.microsoft.graph.models.VerifiedIdUsageConfiguration~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.VerifiedPublisher::|protected|backingStore:BackingStore com.microsoft.graph.models.VerifiedPublisher::|public|constructor():void com.microsoft.graph.models.VerifiedPublisher::|public|getAddedDateTime():OffsetDateTime @@ -161868,6 +162375,196 @@ com.microsoft.graph.models.WebApplicationFirewallVerifiedDetails::|public|setOda com.microsoft.graph.models.WebApplicationFirewallVerifiedDetails::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):WebApplicationFirewallVerifiedDetails com.microsoft.graph.models.WebApplicationFirewallVerifiedDetails~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.WebApplication~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientInputs::|protected|backingStore:BackingStore +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientInputs::|public|constructor():void +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientInputs::|public|getAdditionalData():Map +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientInputs::|public|getBackingStore():BackingStore +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientInputs::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientInputs::|public|getOdataType():String +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientInputs::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientInputs::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientInputs::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientInputs::|public|setOdataType(value?:String):void +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientInputs::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):WebauthnAuthenticationExtensionsClientInputs +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientInputs~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientOutputs::|protected|backingStore:BackingStore +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientOutputs::|public|constructor():void +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientOutputs::|public|getAdditionalData():Map +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientOutputs::|public|getBackingStore():BackingStore +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientOutputs::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientOutputs::|public|getOdataType():String +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientOutputs::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientOutputs::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientOutputs::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientOutputs::|public|setOdataType(value?:String):void +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientOutputs::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):WebauthnAuthenticationExtensionsClientOutputs +com.microsoft.graph.models.WebauthnAuthenticationExtensionsClientOutputs~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.WebauthnAuthenticatorAttestationResponse::|protected|backingStore:BackingStore +com.microsoft.graph.models.WebauthnAuthenticatorAttestationResponse::|public|constructor():void +com.microsoft.graph.models.WebauthnAuthenticatorAttestationResponse::|public|getAdditionalData():Map +com.microsoft.graph.models.WebauthnAuthenticatorAttestationResponse::|public|getAttestationObject():String +com.microsoft.graph.models.WebauthnAuthenticatorAttestationResponse::|public|getBackingStore():BackingStore +com.microsoft.graph.models.WebauthnAuthenticatorAttestationResponse::|public|getClientDataJSON():String +com.microsoft.graph.models.WebauthnAuthenticatorAttestationResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.WebauthnAuthenticatorAttestationResponse::|public|getOdataType():String +com.microsoft.graph.models.WebauthnAuthenticatorAttestationResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.WebauthnAuthenticatorAttestationResponse::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.WebauthnAuthenticatorAttestationResponse::|public|setAttestationObject(value?:String):void +com.microsoft.graph.models.WebauthnAuthenticatorAttestationResponse::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.WebauthnAuthenticatorAttestationResponse::|public|setClientDataJSON(value?:String):void +com.microsoft.graph.models.WebauthnAuthenticatorAttestationResponse::|public|setOdataType(value?:String):void +com.microsoft.graph.models.WebauthnAuthenticatorAttestationResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):WebauthnAuthenticatorAttestationResponse +com.microsoft.graph.models.WebauthnAuthenticatorAttestationResponse~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.WebauthnAuthenticatorSelectionCriteria::|protected|backingStore:BackingStore +com.microsoft.graph.models.WebauthnAuthenticatorSelectionCriteria::|public|constructor():void +com.microsoft.graph.models.WebauthnAuthenticatorSelectionCriteria::|public|getAdditionalData():Map +com.microsoft.graph.models.WebauthnAuthenticatorSelectionCriteria::|public|getAuthenticatorAttachment():String +com.microsoft.graph.models.WebauthnAuthenticatorSelectionCriteria::|public|getBackingStore():BackingStore +com.microsoft.graph.models.WebauthnAuthenticatorSelectionCriteria::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.WebauthnAuthenticatorSelectionCriteria::|public|getOdataType():String +com.microsoft.graph.models.WebauthnAuthenticatorSelectionCriteria::|public|getRequireResidentKey():Boolean +com.microsoft.graph.models.WebauthnAuthenticatorSelectionCriteria::|public|getUserVerification():String +com.microsoft.graph.models.WebauthnAuthenticatorSelectionCriteria::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.WebauthnAuthenticatorSelectionCriteria::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.WebauthnAuthenticatorSelectionCriteria::|public|setAuthenticatorAttachment(value?:String):void +com.microsoft.graph.models.WebauthnAuthenticatorSelectionCriteria::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.WebauthnAuthenticatorSelectionCriteria::|public|setOdataType(value?:String):void +com.microsoft.graph.models.WebauthnAuthenticatorSelectionCriteria::|public|setRequireResidentKey(value?:Boolean):void +com.microsoft.graph.models.WebauthnAuthenticatorSelectionCriteria::|public|setUserVerification(value?:String):void +com.microsoft.graph.models.WebauthnAuthenticatorSelectionCriteria::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):WebauthnAuthenticatorSelectionCriteria +com.microsoft.graph.models.WebauthnAuthenticatorSelectionCriteria~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.WebauthnCredentialCreationOptions::|protected|backingStore:BackingStore +com.microsoft.graph.models.WebauthnCredentialCreationOptions::|public|constructor():void +com.microsoft.graph.models.WebauthnCredentialCreationOptions::|public|getAdditionalData():Map +com.microsoft.graph.models.WebauthnCredentialCreationOptions::|public|getBackingStore():BackingStore +com.microsoft.graph.models.WebauthnCredentialCreationOptions::|public|getChallengeTimeoutDateTime():OffsetDateTime +com.microsoft.graph.models.WebauthnCredentialCreationOptions::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.WebauthnCredentialCreationOptions::|public|getOdataType():String +com.microsoft.graph.models.WebauthnCredentialCreationOptions::|public|getPublicKey():WebauthnPublicKeyCredentialCreationOptions +com.microsoft.graph.models.WebauthnCredentialCreationOptions::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.WebauthnCredentialCreationOptions::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.WebauthnCredentialCreationOptions::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.WebauthnCredentialCreationOptions::|public|setChallengeTimeoutDateTime(value?:OffsetDateTime):void +com.microsoft.graph.models.WebauthnCredentialCreationOptions::|public|setOdataType(value?:String):void +com.microsoft.graph.models.WebauthnCredentialCreationOptions::|public|setPublicKey(value?:WebauthnPublicKeyCredentialCreationOptions):void +com.microsoft.graph.models.WebauthnCredentialCreationOptions::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):WebauthnCredentialCreationOptions +com.microsoft.graph.models.WebauthnCredentialCreationOptions~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.WebauthnPublicKeyCredential::|protected|backingStore:BackingStore +com.microsoft.graph.models.WebauthnPublicKeyCredential::|public|constructor():void +com.microsoft.graph.models.WebauthnPublicKeyCredential::|public|getAdditionalData():Map +com.microsoft.graph.models.WebauthnPublicKeyCredential::|public|getBackingStore():BackingStore +com.microsoft.graph.models.WebauthnPublicKeyCredential::|public|getClientExtensionResults():WebauthnAuthenticationExtensionsClientOutputs +com.microsoft.graph.models.WebauthnPublicKeyCredential::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.WebauthnPublicKeyCredential::|public|getId():String +com.microsoft.graph.models.WebauthnPublicKeyCredential::|public|getOdataType():String +com.microsoft.graph.models.WebauthnPublicKeyCredential::|public|getResponse():WebauthnAuthenticatorAttestationResponse +com.microsoft.graph.models.WebauthnPublicKeyCredential::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.WebauthnPublicKeyCredential::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.WebauthnPublicKeyCredential::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.WebauthnPublicKeyCredential::|public|setClientExtensionResults(value?:WebauthnAuthenticationExtensionsClientOutputs):void +com.microsoft.graph.models.WebauthnPublicKeyCredential::|public|setId(value?:String):void +com.microsoft.graph.models.WebauthnPublicKeyCredential::|public|setOdataType(value?:String):void +com.microsoft.graph.models.WebauthnPublicKeyCredential::|public|setResponse(value?:WebauthnAuthenticatorAttestationResponse):void +com.microsoft.graph.models.WebauthnPublicKeyCredential::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):WebauthnPublicKeyCredential +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|protected|backingStore:BackingStore +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|constructor():void +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|getAdditionalData():Map +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|getAttestation():String +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|getAuthenticatorSelection():WebauthnAuthenticatorSelectionCriteria +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|getBackingStore():BackingStore +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|getChallenge():String +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|getExcludeCredentials():java.util.List +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|getExtensions():WebauthnAuthenticationExtensionsClientInputs +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|getOdataType():String +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|getPubKeyCredParams():java.util.List +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|getRp():WebauthnPublicKeyCredentialRpEntity +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|getTimeout():Integer +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|getUser():WebauthnPublicKeyCredentialUserEntity +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|setAttestation(value?:String):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|setAuthenticatorSelection(value?:WebauthnAuthenticatorSelectionCriteria):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|setChallenge(value?:String):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|setExcludeCredentials(value?:java.util.List):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|setExtensions(value?:WebauthnAuthenticationExtensionsClientInputs):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|setOdataType(value?:String):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|setPubKeyCredParams(value?:java.util.List):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|setRp(value?:WebauthnPublicKeyCredentialRpEntity):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|setTimeout(value?:Integer):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|public|setUser(value?:WebauthnPublicKeyCredentialUserEntity):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):WebauthnPublicKeyCredentialCreationOptions +com.microsoft.graph.models.WebauthnPublicKeyCredentialCreationOptions~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.WebauthnPublicKeyCredentialDescriptor::|protected|backingStore:BackingStore +com.microsoft.graph.models.WebauthnPublicKeyCredentialDescriptor::|public|constructor():void +com.microsoft.graph.models.WebauthnPublicKeyCredentialDescriptor::|public|getAdditionalData():Map +com.microsoft.graph.models.WebauthnPublicKeyCredentialDescriptor::|public|getBackingStore():BackingStore +com.microsoft.graph.models.WebauthnPublicKeyCredentialDescriptor::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.WebauthnPublicKeyCredentialDescriptor::|public|getId():String +com.microsoft.graph.models.WebauthnPublicKeyCredentialDescriptor::|public|getOdataType():String +com.microsoft.graph.models.WebauthnPublicKeyCredentialDescriptor::|public|getTransports():java.util.List +com.microsoft.graph.models.WebauthnPublicKeyCredentialDescriptor::|public|getType():String +com.microsoft.graph.models.WebauthnPublicKeyCredentialDescriptor::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.WebauthnPublicKeyCredentialDescriptor::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialDescriptor::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialDescriptor::|public|setId(value?:String):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialDescriptor::|public|setOdataType(value?:String):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialDescriptor::|public|setTransports(value?:java.util.List):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialDescriptor::|public|setType(value?:String):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialDescriptor::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):WebauthnPublicKeyCredentialDescriptor +com.microsoft.graph.models.WebauthnPublicKeyCredentialDescriptor~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.WebauthnPublicKeyCredentialParameters::|protected|backingStore:BackingStore +com.microsoft.graph.models.WebauthnPublicKeyCredentialParameters::|public|constructor():void +com.microsoft.graph.models.WebauthnPublicKeyCredentialParameters::|public|getAdditionalData():Map +com.microsoft.graph.models.WebauthnPublicKeyCredentialParameters::|public|getAlg():Integer +com.microsoft.graph.models.WebauthnPublicKeyCredentialParameters::|public|getBackingStore():BackingStore +com.microsoft.graph.models.WebauthnPublicKeyCredentialParameters::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.WebauthnPublicKeyCredentialParameters::|public|getOdataType():String +com.microsoft.graph.models.WebauthnPublicKeyCredentialParameters::|public|getType():String +com.microsoft.graph.models.WebauthnPublicKeyCredentialParameters::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.WebauthnPublicKeyCredentialParameters::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialParameters::|public|setAlg(value?:Integer):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialParameters::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialParameters::|public|setOdataType(value?:String):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialParameters::|public|setType(value?:String):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialParameters::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):WebauthnPublicKeyCredentialParameters +com.microsoft.graph.models.WebauthnPublicKeyCredentialParameters~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.WebauthnPublicKeyCredentialRpEntity::|protected|backingStore:BackingStore +com.microsoft.graph.models.WebauthnPublicKeyCredentialRpEntity::|public|constructor():void +com.microsoft.graph.models.WebauthnPublicKeyCredentialRpEntity::|public|getAdditionalData():Map +com.microsoft.graph.models.WebauthnPublicKeyCredentialRpEntity::|public|getBackingStore():BackingStore +com.microsoft.graph.models.WebauthnPublicKeyCredentialRpEntity::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.WebauthnPublicKeyCredentialRpEntity::|public|getId():String +com.microsoft.graph.models.WebauthnPublicKeyCredentialRpEntity::|public|getName():String +com.microsoft.graph.models.WebauthnPublicKeyCredentialRpEntity::|public|getOdataType():String +com.microsoft.graph.models.WebauthnPublicKeyCredentialRpEntity::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.WebauthnPublicKeyCredentialRpEntity::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialRpEntity::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialRpEntity::|public|setId(value?:String):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialRpEntity::|public|setName(value?:String):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialRpEntity::|public|setOdataType(value?:String):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialRpEntity::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):WebauthnPublicKeyCredentialRpEntity +com.microsoft.graph.models.WebauthnPublicKeyCredentialRpEntity~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.WebauthnPublicKeyCredentialUserEntity::|protected|backingStore:BackingStore +com.microsoft.graph.models.WebauthnPublicKeyCredentialUserEntity::|public|constructor():void +com.microsoft.graph.models.WebauthnPublicKeyCredentialUserEntity::|public|getAdditionalData():Map +com.microsoft.graph.models.WebauthnPublicKeyCredentialUserEntity::|public|getBackingStore():BackingStore +com.microsoft.graph.models.WebauthnPublicKeyCredentialUserEntity::|public|getDisplayName():String +com.microsoft.graph.models.WebauthnPublicKeyCredentialUserEntity::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.WebauthnPublicKeyCredentialUserEntity::|public|getId():String +com.microsoft.graph.models.WebauthnPublicKeyCredentialUserEntity::|public|getName():String +com.microsoft.graph.models.WebauthnPublicKeyCredentialUserEntity::|public|getOdataType():String +com.microsoft.graph.models.WebauthnPublicKeyCredentialUserEntity::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.WebauthnPublicKeyCredentialUserEntity::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialUserEntity::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialUserEntity::|public|setDisplayName(value?:String):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialUserEntity::|public|setId(value?:String):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialUserEntity::|public|setName(value?:String):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialUserEntity::|public|setOdataType(value?:String):void +com.microsoft.graph.models.WebauthnPublicKeyCredentialUserEntity::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):WebauthnPublicKeyCredentialUserEntity +com.microsoft.graph.models.WebauthnPublicKeyCredentialUserEntity~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.WebauthnPublicKeyCredential~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.WebBrowserCookieSettings::0000-BrowserDefault com.microsoft.graph.models.WebBrowserCookieSettings::0001-BlockAlways com.microsoft.graph.models.WebBrowserCookieSettings::0002-AllowCurrentWebSite @@ -170544,6 +171241,25 @@ com.microsoft.graph.policies.identitysecuritydefaultsenforcementpolicy.IdentityS com.microsoft.graph.policies.identitysecuritydefaultsenforcementpolicy.IdentitySecurityDefaultsEnforcementPolicyRequestBuilder::|public|toPatchRequestInformation(body:IdentitySecurityDefaultsEnforcementPolicy):RequestInformation com.microsoft.graph.policies.identitysecuritydefaultsenforcementpolicy.IdentitySecurityDefaultsEnforcementPolicyRequestBuilder::|public|toPatchRequestInformation(body:IdentitySecurityDefaultsEnforcementPolicy; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.policies.identitysecuritydefaultsenforcementpolicy.IdentitySecurityDefaultsEnforcementPolicyRequestBuilder::|public|withUrl(rawUrl:String):IdentitySecurityDefaultsEnforcementPolicyRequestBuilder +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder::|public|get():OwnerlessGroupPolicy +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):OwnerlessGroupPolicy +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder::|public|patch(body:OwnerlessGroupPolicy):OwnerlessGroupPolicy +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder::|public|patch(body:OwnerlessGroupPolicy; requestConfiguration?:java.util.function.Consumer):OwnerlessGroupPolicy +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder::|public|toPatchRequestInformation(body:OwnerlessGroupPolicy):RequestInformation +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder::|public|toPatchRequestInformation(body:OwnerlessGroupPolicy; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder::|public|withUrl(rawUrl:String):OwnerlessGroupPolicyRequestBuilder com.microsoft.graph.policies.permissiongrantpolicies.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.policies.permissiongrantpolicies.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.policies.permissiongrantpolicies.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -170768,6 +171484,7 @@ com.microsoft.graph.policies.PoliciesRequestBuilder::|public|get():PolicyRoot com.microsoft.graph.policies.PoliciesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):PolicyRoot com.microsoft.graph.policies.PoliciesRequestBuilder::|public|homeRealmDiscoveryPolicies:HomeRealmDiscoveryPoliciesRequestBuilder com.microsoft.graph.policies.PoliciesRequestBuilder::|public|identitySecurityDefaultsEnforcementPolicy:IdentitySecurityDefaultsEnforcementPolicyRequestBuilder +com.microsoft.graph.policies.PoliciesRequestBuilder::|public|ownerlessGroupPolicy:OwnerlessGroupPolicyRequestBuilder com.microsoft.graph.policies.PoliciesRequestBuilder::|public|patch(body:PolicyRoot):PolicyRoot com.microsoft.graph.policies.PoliciesRequestBuilder::|public|patch(body:PolicyRoot; requestConfiguration?:java.util.function.Consumer):PolicyRoot com.microsoft.graph.policies.PoliciesRequestBuilder::|public|permissionGrantPolicies:PermissionGrantPoliciesRequestBuilder @@ -203951,6 +204668,7 @@ com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder.GetQuery com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|browseSessions:BrowseSessionsRequestBuilder com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|delete():Void @@ -203966,6 +204684,7 @@ com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|mailboxInclusionRules:MailboxInclusionRulesRequestBuilder com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|mailboxProtectionUnits:MailboxProtectionUnitsRequestBuilder com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|mailboxProtectionUnitsBulkAdditionJobs:MailboxProtectionUnitsBulkAdditionJobsRequestBuilder +com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|oneDriveForBusinessBrowseSessions:OneDriveForBusinessBrowseSessionsRequestBuilder com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|oneDriveForBusinessProtectionPolicies:OneDriveForBusinessProtectionPoliciesRequestBuilder com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|oneDriveForBusinessRestoreSessions:OneDriveForBusinessRestoreSessionsRequestBuilder com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|patch(body:BackupRestoreRoot):BackupRestoreRoot @@ -203975,6 +204694,7 @@ com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|restorePoints:RestorePointsRequestBuilder com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|restoreSessions:RestoreSessionsRequestBuilder com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|serviceApps:ServiceAppsRequestBuilder +com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|sharePointBrowseSessions:SharePointBrowseSessionsRequestBuilder com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|sharePointProtectionPolicies:SharePointProtectionPoliciesRequestBuilder com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|sharePointRestoreSessions:SharePointRestoreSessionsRequestBuilder com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|siteInclusionRules:SiteInclusionRulesRequestBuilder @@ -203987,6 +204707,131 @@ com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|toPatchRequestInformation(body:BackupRestoreRoot):RequestInformation com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|toPatchRequestInformation(body:BackupRestoreRoot; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder::|public|withUrl(rawUrl:String):BackupRestoreRequestBuilder +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder::|public|byBrowseSessionBaseId(browseSessionBaseId:String):BrowseSessionBaseItemRequestBuilder +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder::|public|get():BrowseSessionBaseCollectionResponse +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):BrowseSessionBaseCollectionResponse +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder::|public|post(body:BrowseSessionBase):BrowseSessionBase +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder::|public|post(body:BrowseSessionBase; requestConfiguration?:java.util.function.Consumer):BrowseSessionBase +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder::|public|toPostRequestInformation(body:BrowseSessionBase):RequestInformation +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder::|public|toPostRequestInformation(body:BrowseSessionBase; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder::|public|withUrl(rawUrl:String):BrowseSessionsRequestBuilder +com.microsoft.graph.solutions.backuprestore.browsesessions.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.solutions.backuprestore.browsesessions.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.solutions.backuprestore.browsesessions.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.solutions.backuprestore.browsesessions.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.solutions.backuprestore.browsesessions.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.solutions.backuprestore.browsesessions.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.browsesessions.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.solutions.backuprestore.browsesessions.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.browsesessions.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.browsesessions.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.solutions.backuprestore.browsesessions.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.solutions.backuprestore.browsesessions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.browsesessions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.browsesessions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostRequestBody::|public|constructor():void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostRequestBody::|public|getBrowseLocationItemKey():String +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostRequestBody::|public|getBrowseResourceType():BrowsableResourceType +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostRequestBody::|public|getFilter():String +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostRequestBody::|public|getOrderBy():BrowseQueryOrder +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostRequestBody::|public|setBrowseLocationItemKey(value?:String):void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostRequestBody::|public|setBrowseResourceType(value?:BrowsableResourceType):void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostRequestBody::|public|setFilter(value?:String):void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostRequestBody::|public|setOrderBy(value?:BrowseQueryOrder):void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BrowsePostRequestBody +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostResponse::|public|constructor():void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostResponse::|public|getValue():java.util.List +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowsePostResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BrowsePostResponse +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowseRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowseRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowseRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowseRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowseRequestBuilder::|public|post(body:BrowsePostRequestBody):BrowsePostResponse +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowseRequestBuilder::|public|post(body:BrowsePostRequestBody; requestConfiguration?:java.util.function.Consumer):BrowsePostResponse +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowseRequestBuilder::|public|toPostRequestInformation(body:BrowsePostRequestBody):RequestInformation +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowseRequestBuilder::|public|toPostRequestInformation(body:BrowsePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowseRequestBuilder::|public|withUrl(rawUrl:String):BrowseRequestBuilder +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder::|public|browse:BrowseRequestBuilder +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder::|public|browseWithNextFetchToken(nextFetchToken:String):BrowseWithNextFetchTokenRequestBuilder +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder::|public|delete():Void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder::|public|get():BrowseSessionBase +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):BrowseSessionBase +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder::|public|patch(body:BrowseSessionBase):BrowseSessionBase +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder::|public|patch(body:BrowseSessionBase; requestConfiguration?:java.util.function.Consumer):BrowseSessionBase +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder::|public|toPatchRequestInformation(body:BrowseSessionBase):RequestInformation +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder::|public|toPatchRequestInformation(body:BrowseSessionBase; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder::|public|withUrl(rawUrl:String):BrowseSessionBaseItemRequestBuilder +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenGetResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenGetResponse::|public|constructor():void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenGetResponse::|public|getValue():java.util.List +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenGetResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):BrowseWithNextFetchTokenGetResponse +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter; nextFetchToken?:String):Void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenRequestBuilder::|public|get():BrowseWithNextFetchTokenGetResponse +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):BrowseWithNextFetchTokenGetResponse +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenRequestBuilder::|public|withUrl(rawUrl:String):BrowseWithNextFetchTokenRequestBuilder com.microsoft.graph.solutions.backuprestore.driveinclusionrules.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.solutions.backuprestore.driveinclusionrules.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.solutions.backuprestore.driveinclusionrules.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -204909,6 +205754,71 @@ com.microsoft.graph.solutions.backuprestore.mailboxprotectionunitsbulkadditionjo com.microsoft.graph.solutions.backuprestore.mailboxprotectionunitsbulkadditionjobs.MailboxProtectionUnitsBulkAdditionJobsRequestBuilder::|public|toPostRequestInformation(body:MailboxProtectionUnitsBulkAdditionJob):RequestInformation com.microsoft.graph.solutions.backuprestore.mailboxprotectionunitsbulkadditionjobs.MailboxProtectionUnitsBulkAdditionJobsRequestBuilder::|public|toPostRequestInformation(body:MailboxProtectionUnitsBulkAdditionJob; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.solutions.backuprestore.mailboxprotectionunitsbulkadditionjobs.MailboxProtectionUnitsBulkAdditionJobsRequestBuilder::|public|withUrl(rawUrl:String):MailboxProtectionUnitsBulkAdditionJobsRequestBuilder +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|delete():Void +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|get():OneDriveForBusinessBrowseSession +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):OneDriveForBusinessBrowseSession +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|patch(body:OneDriveForBusinessBrowseSession):OneDriveForBusinessBrowseSession +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|patch(body:OneDriveForBusinessBrowseSession; requestConfiguration?:java.util.function.Consumer):OneDriveForBusinessBrowseSession +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|toPatchRequestInformation(body:OneDriveForBusinessBrowseSession):RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|toPatchRequestInformation(body:OneDriveForBusinessBrowseSession; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder::|public|withUrl(rawUrl:String):OneDriveForBusinessBrowseSessionItemRequestBuilder +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder::|public|byOneDriveForBusinessBrowseSessionId(oneDriveForBusinessBrowseSessionId:String):OneDriveForBusinessBrowseSessionItemRequestBuilder +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder::|public|get():OneDriveForBusinessBrowseSessionCollectionResponse +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):OneDriveForBusinessBrowseSessionCollectionResponse +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder::|public|post(body:OneDriveForBusinessBrowseSession):OneDriveForBusinessBrowseSession +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder::|public|post(body:OneDriveForBusinessBrowseSession; requestConfiguration?:java.util.function.Consumer):OneDriveForBusinessBrowseSession +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder::|public|toPostRequestInformation(body:OneDriveForBusinessBrowseSession):RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder::|public|toPostRequestInformation(body:OneDriveForBusinessBrowseSession; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder::|public|withUrl(rawUrl:String):OneDriveForBusinessBrowseSessionsRequestBuilder com.microsoft.graph.solutions.backuprestore.onedriveforbusinessprotectionpolicies.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.solutions.backuprestore.onedriveforbusinessprotectionpolicies.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.solutions.backuprestore.onedriveforbusinessprotectionpolicies.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -205286,6 +206196,71 @@ com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.i com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.driverestoreartifactsbulkadditionrequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|toPatchRequestInformation(body:DriveRestoreArtifactsBulkAdditionRequest):RequestInformation com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.driverestoreartifactsbulkadditionrequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|toPatchRequestInformation(body:DriveRestoreArtifactsBulkAdditionRequest; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.driverestoreartifactsbulkadditionrequests.item.DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder::|public|withUrl(rawUrl:String):DriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder::|public|byGranularDriveRestoreArtifactId(granularDriveRestoreArtifactId:String):GranularDriveRestoreArtifactItemRequestBuilder +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder::|public|get():GranularDriveRestoreArtifactCollectionResponse +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GranularDriveRestoreArtifactCollectionResponse +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder::|public|post(body:GranularDriveRestoreArtifact):GranularDriveRestoreArtifact +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder::|public|post(body:GranularDriveRestoreArtifact; requestConfiguration?:java.util.function.Consumer):GranularDriveRestoreArtifact +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder::|public|toPostRequestInformation(body:GranularDriveRestoreArtifact):RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder::|public|toPostRequestInformation(body:GranularDriveRestoreArtifact; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder::|public|withUrl(rawUrl:String):GranularDriveRestoreArtifactsRequestBuilder +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder::|public|delete():Void +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder::|public|get():GranularDriveRestoreArtifact +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GranularDriveRestoreArtifact +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder::|public|patch(body:GranularDriveRestoreArtifact):GranularDriveRestoreArtifact +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder::|public|patch(body:GranularDriveRestoreArtifact; requestConfiguration?:java.util.function.Consumer):GranularDriveRestoreArtifact +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder::|public|toPatchRequestInformation(body:GranularDriveRestoreArtifact):RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder::|public|toPatchRequestInformation(body:GranularDriveRestoreArtifact; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder::|public|withUrl(rawUrl:String):GranularDriveRestoreArtifactItemRequestBuilder com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -205303,6 +206278,7 @@ com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.i com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|driveRestoreArtifactsBulkAdditionRequests:DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|get():OneDriveForBusinessRestoreSession com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):OneDriveForBusinessRestoreSession +com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|granularDriveRestoreArtifacts:GranularDriveRestoreArtifactsRequestBuilder com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|patch(body:OneDriveForBusinessRestoreSession):OneDriveForBusinessRestoreSession com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|patch(body:OneDriveForBusinessRestoreSession; requestConfiguration?:java.util.function.Consumer):OneDriveForBusinessRestoreSession com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.OneDriveForBusinessRestoreSessionItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation @@ -205929,6 +206905,71 @@ com.microsoft.graph.solutions.backuprestore.serviceapps.ServiceAppsRequestBuilde com.microsoft.graph.solutions.backuprestore.serviceapps.ServiceAppsRequestBuilder::|public|toPostRequestInformation(body:ServiceApp):RequestInformation com.microsoft.graph.solutions.backuprestore.serviceapps.ServiceAppsRequestBuilder::|public|toPostRequestInformation(body:ServiceApp; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.solutions.backuprestore.serviceapps.ServiceAppsRequestBuilder::|public|withUrl(rawUrl:String):ServiceAppsRequestBuilder +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder::|public|delete():Void +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder::|public|get():SharePointBrowseSession +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SharePointBrowseSession +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder::|public|patch(body:SharePointBrowseSession):SharePointBrowseSession +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder::|public|patch(body:SharePointBrowseSession; requestConfiguration?:java.util.function.Consumer):SharePointBrowseSession +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder::|public|toPatchRequestInformation(body:SharePointBrowseSession):RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder::|public|toPatchRequestInformation(body:SharePointBrowseSession; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder::|public|withUrl(rawUrl:String):SharePointBrowseSessionItemRequestBuilder +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder::|public|bySharePointBrowseSessionId(sharePointBrowseSessionId:String):SharePointBrowseSessionItemRequestBuilder +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder::|public|get():SharePointBrowseSessionCollectionResponse +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SharePointBrowseSessionCollectionResponse +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder::|public|post(body:SharePointBrowseSession):SharePointBrowseSession +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder::|public|post(body:SharePointBrowseSession; requestConfiguration?:java.util.function.Consumer):SharePointBrowseSession +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder::|public|toPostRequestInformation(body:SharePointBrowseSession):RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder::|public|toPostRequestInformation(body:SharePointBrowseSession; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder::|public|withUrl(rawUrl:String):SharePointBrowseSessionsRequestBuilder com.microsoft.graph.solutions.backuprestore.sharepointprotectionpolicies.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.solutions.backuprestore.sharepointprotectionpolicies.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.solutions.backuprestore.sharepointprotectionpolicies.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -206161,6 +207202,71 @@ com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.count.Coun com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder::|public|byGranularSiteRestoreArtifactId(granularSiteRestoreArtifactId:String):GranularSiteRestoreArtifactItemRequestBuilder +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder::|public|get():GranularSiteRestoreArtifactCollectionResponse +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GranularSiteRestoreArtifactCollectionResponse +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder::|public|post(body:GranularSiteRestoreArtifact):GranularSiteRestoreArtifact +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder::|public|post(body:GranularSiteRestoreArtifact; requestConfiguration?:java.util.function.Consumer):GranularSiteRestoreArtifact +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder::|public|toPostRequestInformation(body:GranularSiteRestoreArtifact):RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder::|public|toPostRequestInformation(body:GranularSiteRestoreArtifact; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder::|public|withUrl(rawUrl:String):GranularSiteRestoreArtifactsRequestBuilder +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder::|public|delete():Void +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder::|public|get():GranularSiteRestoreArtifact +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GranularSiteRestoreArtifact +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder::|public|patch(body:GranularSiteRestoreArtifact):GranularSiteRestoreArtifact +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder::|public|patch(body:GranularSiteRestoreArtifact; requestConfiguration?:java.util.function.Consumer):GranularSiteRestoreArtifact +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder::|public|toPatchRequestInformation(body:GranularSiteRestoreArtifact):RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder::|public|toPatchRequestInformation(body:GranularSiteRestoreArtifact; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder::|public|withUrl(rawUrl:String):GranularSiteRestoreArtifactItemRequestBuilder com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.SharePointRestoreSessionItemRequestBuilder-->BaseRequestBuilder com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.SharePointRestoreSessionItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.SharePointRestoreSessionItemRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -206176,6 +207282,7 @@ com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.Share com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.SharePointRestoreSessionItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.SharePointRestoreSessionItemRequestBuilder::|public|get():SharePointRestoreSession com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.SharePointRestoreSessionItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SharePointRestoreSession +com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.SharePointRestoreSessionItemRequestBuilder::|public|granularSiteRestoreArtifacts:GranularSiteRestoreArtifactsRequestBuilder com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.SharePointRestoreSessionItemRequestBuilder::|public|patch(body:SharePointRestoreSession):SharePointRestoreSession com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.SharePointRestoreSessionItemRequestBuilder::|public|patch(body:SharePointRestoreSession; requestConfiguration?:java.util.function.Consumer):SharePointRestoreSession com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.SharePointRestoreSessionItemRequestBuilder::|public|siteRestoreArtifacts:SiteRestoreArtifactsRequestBuilder @@ -218628,6 +219735,15 @@ com.microsoft.graph.users.item.authentication.fido2methods.count.CountRequestBui com.microsoft.graph.users.item.authentication.fido2methods.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.users.item.authentication.fido2methods.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.users.item.authentication.fido2methods.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.users.item.authentication.fido2methods.creationoptions.CreationOptionsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.users.item.authentication.fido2methods.creationoptions.CreationOptionsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.users.item.authentication.fido2methods.creationoptions.CreationOptionsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.authentication.fido2methods.creationoptions.CreationOptionsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.users.item.authentication.fido2methods.creationoptions.CreationOptionsRequestBuilder::|public|get():WebauthnCredentialCreationOptions +com.microsoft.graph.users.item.authentication.fido2methods.creationoptions.CreationOptionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):WebauthnCredentialCreationOptions +com.microsoft.graph.users.item.authentication.fido2methods.creationoptions.CreationOptionsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.users.item.authentication.fido2methods.creationoptions.CreationOptionsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.users.item.authentication.fido2methods.creationoptions.CreationOptionsRequestBuilder::|public|withUrl(rawUrl:String):CreationOptionsRequestBuilder com.microsoft.graph.users.item.authentication.fido2methods.Fido2MethodsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.users.item.authentication.fido2methods.Fido2MethodsRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.users.item.authentication.fido2methods.Fido2MethodsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -218645,6 +219761,7 @@ com.microsoft.graph.users.item.authentication.fido2methods.Fido2MethodsRequestBu com.microsoft.graph.users.item.authentication.fido2methods.Fido2MethodsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.users.item.authentication.fido2methods.Fido2MethodsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.users.item.authentication.fido2methods.Fido2MethodsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.users.item.authentication.fido2methods.Fido2MethodsRequestBuilder::|public|creationOptions:CreationOptionsRequestBuilder com.microsoft.graph.users.item.authentication.fido2methods.Fido2MethodsRequestBuilder::|public|get():Fido2AuthenticationMethodCollectionResponse com.microsoft.graph.users.item.authentication.fido2methods.Fido2MethodsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Fido2AuthenticationMethodCollectionResponse com.microsoft.graph.users.item.authentication.fido2methods.Fido2MethodsRequestBuilder::|public|toGetRequestInformation():RequestInformation diff --git a/src/main/java/com/microsoft/graph/generated/kiota-lock.json b/src/main/java/com/microsoft/graph/generated/kiota-lock.json index 164802b7aee..414c2e928e4 100644 --- a/src/main/java/com/microsoft/graph/generated/kiota-lock.json +++ b/src/main/java/com/microsoft/graph/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "825CC676956528F1A5A721FFB5B54AB4AFBEC1CF365C3CC2A2B3EAE89FED71E3B38224EB3A5AFD3D1981BA2C3204662E132B491ABD0D37558E8604FB9869D753", + "descriptionHash": "B0174C0FF35E104EE6846D7A9ED44062903FB3CD8CEAD669E6AB392DFAC6C17788F8E650539758EB965F9708BC48B0F590D49FBF8C3260BD1FF1B8BC893AB5D8", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.31.1", diff --git a/src/main/java/com/microsoft/graph/generated/models/AiAgentInfo.java b/src/main/java/com/microsoft/graph/generated/models/AiAgentInfo.java index 01da9113a3e..4c673a5adc7 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AiAgentInfo.java +++ b/src/main/java/com/microsoft/graph/generated/models/AiAgentInfo.java @@ -25,7 +25,7 @@ public static AiAgentInfo createFromDiscriminatorValue(@jakarta.annotation.Nonnu return new AiAgentInfo(); } /** - * Gets the blueprintId property value. The unique identifier of the parent agent blueprint that defines the identity and configuration of this agent instance. + * Gets the blueprintId property value. 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. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -52,7 +52,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("blueprintId", this.getBlueprintId()); } /** - * Sets the blueprintId property value. The unique identifier of the parent agent blueprint that defines the identity and configuration of this agent instance. + * Sets the blueprintId property value. 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. * @param value Value to set for the blueprintId property. */ public void setBlueprintId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/AuthenticationEventListener.java b/src/main/java/com/microsoft/graph/generated/models/AuthenticationEventListener.java index 795b4cc152c..c6086154d08 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AuthenticationEventListener.java +++ b/src/main/java/com/microsoft/graph/generated/models/AuthenticationEventListener.java @@ -36,6 +36,7 @@ public static AuthenticationEventListener createFromDiscriminatorValue(@jakarta. case "#microsoft.graph.onPasswordSubmitListener": return new OnPasswordSubmitListener(); case "#microsoft.graph.onTokenIssuanceStartListener": return new OnTokenIssuanceStartListener(); case "#microsoft.graph.onUserCreateStartListener": return new OnUserCreateStartListener(); + case "#microsoft.graph.onVerifiedIdClaimValidationListener": return new OnVerifiedIdClaimValidationListener(); } } return new AuthenticationEventListener(); diff --git a/src/main/java/com/microsoft/graph/generated/models/AzureADJoinPolicy.java b/src/main/java/com/microsoft/graph/generated/models/AzureADJoinPolicy.java index 39578e0e205..8342cd0c7ea 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AzureADJoinPolicy.java +++ b/src/main/java/com/microsoft/graph/generated/models/AzureADJoinPolicy.java @@ -48,7 +48,7 @@ public Map getAdditionalData() { return value; } /** - * Gets the allowedToJoin property value. The allowedToJoin property + * Gets the allowedToJoin property value. Determines if Microsoft Entra join is allowed. * @return a {@link DeviceRegistrationMembership} */ @jakarta.annotation.Nullable @@ -77,7 +77,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isAdminConfigurable property value. The isAdminConfigurable property + * Gets the isAdminConfigurable property value. Determines if administrators can modify this policy. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -85,7 +85,7 @@ public Boolean getIsAdminConfigurable() { return this.backingStore.get("isAdminConfigurable"); } /** - * Gets the localAdmins property value. The localAdmins property + * Gets the localAdmins property value. Determines who becomes a local administrator on joined devices. * @return a {@link LocalAdminSettings} */ @jakarta.annotation.Nullable @@ -120,7 +120,7 @@ public void setAdditionalData(@jakarta.annotation.Nullable final Map getAdditionalData() { return value; } /** - * Gets the allowedToRegister property value. The allowedToRegister property + * Gets the allowedToRegister property value. Determines if Microsoft Entra registered is allowed. * @return a {@link DeviceRegistrationMembership} */ @jakarta.annotation.Nullable @@ -76,7 +76,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isAdminConfigurable property value. The isAdminConfigurable property + * Gets the isAdminConfigurable property value. Determines if administrators can modify this policy. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -110,7 +110,7 @@ public void setAdditionalData(@jakarta.annotation.Nullable final Map} + */ + @jakarta.annotation.Nullable + public java.util.List getBrowseSessions() { + return this.backingStore.get("browseSessions"); + } /** * Gets the driveInclusionRules property value. The list of drive inclusion rules applied to the tenant. * @return a {@link java.util.List} @@ -71,6 +79,7 @@ public java.util.List getExchangeRestoreSessions() { @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("browseSessions", (n) -> { this.setBrowseSessions(n.getCollectionOfObjectValues(BrowseSessionBase::createFromDiscriminatorValue)); }); deserializerMap.put("driveInclusionRules", (n) -> { this.setDriveInclusionRules(n.getCollectionOfObjectValues(DriveProtectionRule::createFromDiscriminatorValue)); }); deserializerMap.put("driveProtectionUnits", (n) -> { this.setDriveProtectionUnits(n.getCollectionOfObjectValues(DriveProtectionUnit::createFromDiscriminatorValue)); }); deserializerMap.put("driveProtectionUnitsBulkAdditionJobs", (n) -> { this.setDriveProtectionUnitsBulkAdditionJobs(n.getCollectionOfObjectValues(DriveProtectionUnitsBulkAdditionJob::createFromDiscriminatorValue)); }); @@ -79,6 +88,7 @@ public Map> getFieldDeserializers deserializerMap.put("mailboxInclusionRules", (n) -> { this.setMailboxInclusionRules(n.getCollectionOfObjectValues(MailboxProtectionRule::createFromDiscriminatorValue)); }); deserializerMap.put("mailboxProtectionUnits", (n) -> { this.setMailboxProtectionUnits(n.getCollectionOfObjectValues(MailboxProtectionUnit::createFromDiscriminatorValue)); }); deserializerMap.put("mailboxProtectionUnitsBulkAdditionJobs", (n) -> { this.setMailboxProtectionUnitsBulkAdditionJobs(n.getCollectionOfObjectValues(MailboxProtectionUnitsBulkAdditionJob::createFromDiscriminatorValue)); }); + deserializerMap.put("oneDriveForBusinessBrowseSessions", (n) -> { this.setOneDriveForBusinessBrowseSessions(n.getCollectionOfObjectValues(OneDriveForBusinessBrowseSession::createFromDiscriminatorValue)); }); deserializerMap.put("oneDriveForBusinessProtectionPolicies", (n) -> { this.setOneDriveForBusinessProtectionPolicies(n.getCollectionOfObjectValues(OneDriveForBusinessProtectionPolicy::createFromDiscriminatorValue)); }); deserializerMap.put("oneDriveForBusinessRestoreSessions", (n) -> { this.setOneDriveForBusinessRestoreSessions(n.getCollectionOfObjectValues(OneDriveForBusinessRestoreSession::createFromDiscriminatorValue)); }); deserializerMap.put("protectionPolicies", (n) -> { this.setProtectionPolicies(n.getCollectionOfObjectValues(ProtectionPolicyBase::createFromDiscriminatorValue)); }); @@ -87,6 +97,7 @@ public Map> getFieldDeserializers deserializerMap.put("restoreSessions", (n) -> { this.setRestoreSessions(n.getCollectionOfObjectValues(RestoreSessionBase::createFromDiscriminatorValue)); }); deserializerMap.put("serviceApps", (n) -> { this.setServiceApps(n.getCollectionOfObjectValues(ServiceApp::createFromDiscriminatorValue)); }); deserializerMap.put("serviceStatus", (n) -> { this.setServiceStatus(n.getObjectValue(ServiceStatus::createFromDiscriminatorValue)); }); + deserializerMap.put("sharePointBrowseSessions", (n) -> { this.setSharePointBrowseSessions(n.getCollectionOfObjectValues(SharePointBrowseSession::createFromDiscriminatorValue)); }); deserializerMap.put("sharePointProtectionPolicies", (n) -> { this.setSharePointProtectionPolicies(n.getCollectionOfObjectValues(SharePointProtectionPolicy::createFromDiscriminatorValue)); }); deserializerMap.put("sharePointRestoreSessions", (n) -> { this.setSharePointRestoreSessions(n.getCollectionOfObjectValues(SharePointRestoreSession::createFromDiscriminatorValue)); }); deserializerMap.put("siteInclusionRules", (n) -> { this.setSiteInclusionRules(n.getCollectionOfObjectValues(SiteProtectionRule::createFromDiscriminatorValue)); }); @@ -118,6 +129,14 @@ public java.util.List getMailboxProtectionUnits() { public java.util.List getMailboxProtectionUnitsBulkAdditionJobs() { return this.backingStore.get("mailboxProtectionUnitsBulkAdditionJobs"); } + /** + * Gets the oneDriveForBusinessBrowseSessions property value. The oneDriveForBusinessBrowseSessions property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getOneDriveForBusinessBrowseSessions() { + return this.backingStore.get("oneDriveForBusinessBrowseSessions"); + } /** * Gets the oneDriveForBusinessProtectionPolicies property value. The list of OneDrive for Business protection policies in the tenant. * @return a {@link java.util.List} @@ -182,6 +201,14 @@ public java.util.List getServiceApps() { public ServiceStatus getServiceStatus() { return this.backingStore.get("serviceStatus"); } + /** + * Gets the sharePointBrowseSessions property value. The sharePointBrowseSessions property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSharePointBrowseSessions() { + return this.backingStore.get("sharePointBrowseSessions"); + } /** * Gets the sharePointProtectionPolicies property value. The list of SharePoint protection policies in the tenant. * @return a {@link java.util.List} @@ -229,6 +256,7 @@ public java.util.List getSiteProtectionUnits public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); super.serialize(writer); + writer.writeCollectionOfObjectValues("browseSessions", this.getBrowseSessions()); writer.writeCollectionOfObjectValues("driveInclusionRules", this.getDriveInclusionRules()); writer.writeCollectionOfObjectValues("driveProtectionUnits", this.getDriveProtectionUnits()); writer.writeCollectionOfObjectValues("driveProtectionUnitsBulkAdditionJobs", this.getDriveProtectionUnitsBulkAdditionJobs()); @@ -237,6 +265,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("mailboxInclusionRules", this.getMailboxInclusionRules()); writer.writeCollectionOfObjectValues("mailboxProtectionUnits", this.getMailboxProtectionUnits()); writer.writeCollectionOfObjectValues("mailboxProtectionUnitsBulkAdditionJobs", this.getMailboxProtectionUnitsBulkAdditionJobs()); + writer.writeCollectionOfObjectValues("oneDriveForBusinessBrowseSessions", this.getOneDriveForBusinessBrowseSessions()); writer.writeCollectionOfObjectValues("oneDriveForBusinessProtectionPolicies", this.getOneDriveForBusinessProtectionPolicies()); writer.writeCollectionOfObjectValues("oneDriveForBusinessRestoreSessions", this.getOneDriveForBusinessRestoreSessions()); writer.writeCollectionOfObjectValues("protectionPolicies", this.getProtectionPolicies()); @@ -245,12 +274,20 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("restoreSessions", this.getRestoreSessions()); writer.writeCollectionOfObjectValues("serviceApps", this.getServiceApps()); writer.writeObjectValue("serviceStatus", this.getServiceStatus()); + writer.writeCollectionOfObjectValues("sharePointBrowseSessions", this.getSharePointBrowseSessions()); writer.writeCollectionOfObjectValues("sharePointProtectionPolicies", this.getSharePointProtectionPolicies()); writer.writeCollectionOfObjectValues("sharePointRestoreSessions", this.getSharePointRestoreSessions()); writer.writeCollectionOfObjectValues("siteInclusionRules", this.getSiteInclusionRules()); writer.writeCollectionOfObjectValues("siteProtectionUnits", this.getSiteProtectionUnits()); writer.writeCollectionOfObjectValues("siteProtectionUnitsBulkAdditionJobs", this.getSiteProtectionUnitsBulkAdditionJobs()); } + /** + * Sets the browseSessions property value. The browseSessions property + * @param value Value to set for the browseSessions property. + */ + public void setBrowseSessions(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("browseSessions", value); + } /** * Sets the driveInclusionRules property value. The list of drive inclusion rules applied to the tenant. * @param value Value to set for the driveInclusionRules property. @@ -307,6 +344,13 @@ public void setMailboxProtectionUnits(@jakarta.annotation.Nullable final java.ut public void setMailboxProtectionUnitsBulkAdditionJobs(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("mailboxProtectionUnitsBulkAdditionJobs", value); } + /** + * Sets the oneDriveForBusinessBrowseSessions property value. The oneDriveForBusinessBrowseSessions property + * @param value Value to set for the oneDriveForBusinessBrowseSessions property. + */ + public void setOneDriveForBusinessBrowseSessions(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("oneDriveForBusinessBrowseSessions", value); + } /** * Sets the oneDriveForBusinessProtectionPolicies property value. The list of OneDrive for Business protection policies in the tenant. * @param value Value to set for the oneDriveForBusinessProtectionPolicies property. @@ -363,6 +407,13 @@ public void setServiceApps(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("sharePointBrowseSessions", value); + } /** * Sets the sharePointProtectionPolicies property value. The list of SharePoint protection policies in the tenant. * @param value Value to set for the sharePointProtectionPolicies property. diff --git a/src/main/java/com/microsoft/graph/generated/models/BrowsableResourceType.java b/src/main/java/com/microsoft/graph/generated/models/BrowsableResourceType.java new file mode 100644 index 00000000000..f01c7d8c867 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/BrowsableResourceType.java @@ -0,0 +1,31 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum BrowsableResourceType implements ValuedEnum { + None("none"), + Site("site"), + DocumentLibrary("documentLibrary"), + Folder("folder"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + BrowsableResourceType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static BrowsableResourceType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "none": return None; + case "site": return Site; + case "documentLibrary": return DocumentLibrary; + case "folder": return Folder; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/BrowseQueryOrder.java b/src/main/java/com/microsoft/graph/generated/models/BrowseQueryOrder.java new file mode 100644 index 00000000000..91acf2cd2e4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/BrowseQueryOrder.java @@ -0,0 +1,31 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum BrowseQueryOrder implements ValuedEnum { + PathAsc("pathAsc"), + PathDsc("pathDsc"), + NameAsc("nameAsc"), + NameDsc("nameDsc"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + BrowseQueryOrder(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static BrowseQueryOrder forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "pathAsc": return PathAsc; + case "pathDsc": return PathDsc; + case "nameAsc": return NameAsc; + case "nameDsc": return NameDsc; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/BrowseQueryResponseItem.java b/src/main/java/com/microsoft/graph/generated/models/BrowseQueryResponseItem.java new file mode 100644 index 00000000000..61018d341eb --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/BrowseQueryResponseItem.java @@ -0,0 +1,209 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class BrowseQueryResponseItem implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link BrowseQueryResponseItem} and sets the default values. + */ + public BrowseQueryResponseItem() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link BrowseQueryResponseItem} + */ + @jakarta.annotation.Nonnull + public static BrowseQueryResponseItem createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new BrowseQueryResponseItem(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(7); + deserializerMap.put("itemKey", (n) -> { this.setItemKey(n.getStringValue()); }); + deserializerMap.put("itemsCount", (n) -> { this.setItemsCount(n.getIntegerValue()); }); + deserializerMap.put("name", (n) -> { this.setName(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("sizeInBytes", (n) -> { this.setSizeInBytes(n.getStringValue()); }); + deserializerMap.put("type", (n) -> { this.setType(n.getEnumValue(BrowseQueryResponseItemType::forValue)); }); + deserializerMap.put("webUrl", (n) -> { this.setWebUrl(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the itemKey property value. The itemKey property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getItemKey() { + return this.backingStore.get("itemKey"); + } + /** + * Gets the itemsCount property value. The itemsCount property + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getItemsCount() { + return this.backingStore.get("itemsCount"); + } + /** + * Gets the name property value. The name property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getName() { + return this.backingStore.get("name"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the sizeInBytes property value. The sizeInBytes property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSizeInBytes() { + return this.backingStore.get("sizeInBytes"); + } + /** + * Gets the type property value. The type property + * @return a {@link BrowseQueryResponseItemType} + */ + @jakarta.annotation.Nullable + public BrowseQueryResponseItemType getType() { + return this.backingStore.get("type"); + } + /** + * Gets the webUrl property value. The webUrl property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getWebUrl() { + return this.backingStore.get("webUrl"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("itemKey", this.getItemKey()); + writer.writeIntegerValue("itemsCount", this.getItemsCount()); + writer.writeStringValue("name", this.getName()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("sizeInBytes", this.getSizeInBytes()); + writer.writeEnumValue("type", this.getType()); + writer.writeStringValue("webUrl", this.getWebUrl()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the itemKey property value. The itemKey property + * @param value Value to set for the itemKey property. + */ + public void setItemKey(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("itemKey", value); + } + /** + * Sets the itemsCount property value. The itemsCount property + * @param value Value to set for the itemsCount property. + */ + public void setItemsCount(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("itemsCount", value); + } + /** + * Sets the name property value. The name property + * @param value Value to set for the name property. + */ + public void setName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("name", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the sizeInBytes property value. The sizeInBytes property + * @param value Value to set for the sizeInBytes property. + */ + public void setSizeInBytes(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("sizeInBytes", value); + } + /** + * Sets the type property value. The type property + * @param value Value to set for the type property. + */ + public void setType(@jakarta.annotation.Nullable final BrowseQueryResponseItemType value) { + this.backingStore.set("type", value); + } + /** + * Sets the webUrl property value. The webUrl property + * @param value Value to set for the webUrl property. + */ + public void setWebUrl(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("webUrl", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/BrowseQueryResponseItemType.java b/src/main/java/com/microsoft/graph/generated/models/BrowseQueryResponseItemType.java new file mode 100644 index 00000000000..9ee27307cd8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/BrowseQueryResponseItemType.java @@ -0,0 +1,33 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum BrowseQueryResponseItemType implements ValuedEnum { + None("none"), + Site("site"), + DocumentLibrary("documentLibrary"), + Folder("folder"), + File("file"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + BrowseQueryResponseItemType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static BrowseQueryResponseItemType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "none": return None; + case "site": return Site; + case "documentLibrary": return DocumentLibrary; + case "folder": return Folder; + case "file": return File; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/BrowseSessionBase.java b/src/main/java/com/microsoft/graph/generated/models/BrowseSessionBase.java new file mode 100644 index 00000000000..2f7719a5824 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/BrowseSessionBase.java @@ -0,0 +1,172 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class BrowseSessionBase extends Entity implements Parsable { + /** + * Instantiates a new {@link BrowseSessionBase} and sets the default values. + */ + public BrowseSessionBase() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link BrowseSessionBase} + */ + @jakarta.annotation.Nonnull + public static BrowseSessionBase createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.oneDriveForBusinessBrowseSession": return new OneDriveForBusinessBrowseSession(); + case "#microsoft.graph.sharePointBrowseSession": return new SharePointBrowseSession(); + } + } + return new BrowseSessionBase(); + } + /** + * Gets the backupSizeInBytes property value. The backupSizeInBytes property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getBackupSizeInBytes() { + return this.backingStore.get("backupSizeInBytes"); + } + /** + * Gets the createdDateTime property value. The createdDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreatedDateTime() { + return this.backingStore.get("createdDateTime"); + } + /** + * Gets the error property value. The error property + * @return a {@link PublicError} + */ + @jakarta.annotation.Nullable + public PublicError getError() { + return this.backingStore.get("error"); + } + /** + * Gets the expirationDateTime property value. The expirationDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getExpirationDateTime() { + return this.backingStore.get("expirationDateTime"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("backupSizeInBytes", (n) -> { this.setBackupSizeInBytes(n.getStringValue()); }); + deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("error", (n) -> { this.setError(n.getObjectValue(PublicError::createFromDiscriminatorValue)); }); + deserializerMap.put("expirationDateTime", (n) -> { this.setExpirationDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("restorePointDateTime", (n) -> { this.setRestorePointDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("restorePointId", (n) -> { this.setRestorePointId(n.getStringValue()); }); + deserializerMap.put("status", (n) -> { this.setStatus(n.getEnumValue(BrowseSessionStatus::forValue)); }); + return deserializerMap; + } + /** + * Gets the restorePointDateTime property value. The restorePointDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getRestorePointDateTime() { + return this.backingStore.get("restorePointDateTime"); + } + /** + * Gets the restorePointId property value. The restorePointId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getRestorePointId() { + return this.backingStore.get("restorePointId"); + } + /** + * Gets the status property value. The status property + * @return a {@link BrowseSessionStatus} + */ + @jakarta.annotation.Nullable + public BrowseSessionStatus getStatus() { + return this.backingStore.get("status"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeStringValue("backupSizeInBytes", this.getBackupSizeInBytes()); + writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); + writer.writeObjectValue("error", this.getError()); + writer.writeOffsetDateTimeValue("expirationDateTime", this.getExpirationDateTime()); + writer.writeOffsetDateTimeValue("restorePointDateTime", this.getRestorePointDateTime()); + writer.writeStringValue("restorePointId", this.getRestorePointId()); + writer.writeEnumValue("status", this.getStatus()); + } + /** + * Sets the backupSizeInBytes property value. The backupSizeInBytes property + * @param value Value to set for the backupSizeInBytes property. + */ + public void setBackupSizeInBytes(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("backupSizeInBytes", value); + } + /** + * Sets the createdDateTime property value. The createdDateTime property + * @param value Value to set for the createdDateTime property. + */ + public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("createdDateTime", value); + } + /** + * Sets the error property value. The error property + * @param value Value to set for the error property. + */ + public void setError(@jakarta.annotation.Nullable final PublicError value) { + this.backingStore.set("error", value); + } + /** + * Sets the expirationDateTime property value. The expirationDateTime property + * @param value Value to set for the expirationDateTime property. + */ + public void setExpirationDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("expirationDateTime", value); + } + /** + * Sets the restorePointDateTime property value. The restorePointDateTime property + * @param value Value to set for the restorePointDateTime property. + */ + public void setRestorePointDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("restorePointDateTime", value); + } + /** + * Sets the restorePointId property value. The restorePointId property + * @param value Value to set for the restorePointId property. + */ + public void setRestorePointId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("restorePointId", value); + } + /** + * Sets the status property value. The status property + * @param value Value to set for the status property. + */ + public void setStatus(@jakarta.annotation.Nullable final BrowseSessionStatus value) { + this.backingStore.set("status", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/BrowseSessionBaseCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/BrowseSessionBaseCollectionResponse.java new file mode 100644 index 00000000000..beff7f16606 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/BrowseSessionBaseCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class BrowseSessionBaseCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link BrowseSessionBaseCollectionResponse} and sets the default values. + */ + public BrowseSessionBaseCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link BrowseSessionBaseCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static BrowseSessionBaseCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new BrowseSessionBaseCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(BrowseSessionBase::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/BrowseSessionStatus.java b/src/main/java/com/microsoft/graph/generated/models/BrowseSessionStatus.java new file mode 100644 index 00000000000..383d47afbfb --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/BrowseSessionStatus.java @@ -0,0 +1,29 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum BrowseSessionStatus implements ValuedEnum { + Creating("creating"), + Created("created"), + Failed("failed"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + BrowseSessionStatus(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static BrowseSessionStatus forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "creating": return Creating; + case "created": return Created; + case "failed": return Failed; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/ClaimBinding.java b/src/main/java/com/microsoft/graph/generated/models/ClaimBinding.java new file mode 100644 index 00000000000..231f1371981 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/ClaimBinding.java @@ -0,0 +1,158 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ClaimBinding implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ClaimBinding} and sets the default values. + */ + public ClaimBinding() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ClaimBinding} + */ + @jakarta.annotation.Nonnull + public static ClaimBinding createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ClaimBinding(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("matchConfidenceLevel", (n) -> { this.setMatchConfidenceLevel(n.getEnumValue(MatchConfidenceLevel::forValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("sourceAttribute", (n) -> { this.setSourceAttribute(n.getStringValue()); }); + deserializerMap.put("verifiedIdClaim", (n) -> { this.setVerifiedIdClaim(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the matchConfidenceLevel property value. The matchConfidenceLevel property + * @return a {@link MatchConfidenceLevel} + */ + @jakarta.annotation.Nullable + public MatchConfidenceLevel getMatchConfidenceLevel() { + return this.backingStore.get("matchConfidenceLevel"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the sourceAttribute property value. Source attribute name from the source system, for example a directory attribute. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSourceAttribute() { + return this.backingStore.get("sourceAttribute"); + } + /** + * Gets the verifiedIdClaim property value. Verified ID claim name or path, for example vc.credentialSubject.firstName. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getVerifiedIdClaim() { + return this.backingStore.get("verifiedIdClaim"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeEnumValue("matchConfidenceLevel", this.getMatchConfidenceLevel()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("sourceAttribute", this.getSourceAttribute()); + writer.writeStringValue("verifiedIdClaim", this.getVerifiedIdClaim()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the matchConfidenceLevel property value. The matchConfidenceLevel property + * @param value Value to set for the matchConfidenceLevel property. + */ + public void setMatchConfidenceLevel(@jakarta.annotation.Nullable final MatchConfidenceLevel value) { + this.backingStore.set("matchConfidenceLevel", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the sourceAttribute property value. Source attribute name from the source system, for example a directory attribute. + * @param value Value to set for the sourceAttribute property. + */ + public void setSourceAttribute(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("sourceAttribute", value); + } + /** + * Sets the verifiedIdClaim property value. Verified ID claim name or path, for example vc.credentialSubject.firstName. + * @param value Value to set for the verifiedIdClaim property. + */ + public void setVerifiedIdClaim(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("verifiedIdClaim", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/ClaimBindingSource.java b/src/main/java/com/microsoft/graph/generated/models/ClaimBindingSource.java new file mode 100644 index 00000000000..e9751e1af8b --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/ClaimBindingSource.java @@ -0,0 +1,25 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum ClaimBindingSource implements ValuedEnum { + Directory("directory"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + ClaimBindingSource(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static ClaimBindingSource forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "directory": return Directory; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/ClaimValidation.java b/src/main/java/com/microsoft/graph/generated/models/ClaimValidation.java new file mode 100644 index 00000000000..6efeac380ce --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/ClaimValidation.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ClaimValidation implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ClaimValidation} and sets the default values. + */ + public ClaimValidation() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ClaimValidation} + */ + @jakarta.annotation.Nonnull + public static ClaimValidation createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ClaimValidation(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the customExtensionId property value. The identifier of a custom extension for claim validation. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getCustomExtensionId() { + return this.backingStore.get("customExtensionId"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("customExtensionId", (n) -> { this.setCustomExtensionId(n.getStringValue()); }); + deserializerMap.put("isEnabled", (n) -> { this.setIsEnabled(n.getBooleanValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the isEnabled property value. Indicates whether claim validation is enabled. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsEnabled() { + return this.backingStore.get("isEnabled"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("customExtensionId", this.getCustomExtensionId()); + writer.writeBooleanValue("isEnabled", this.getIsEnabled()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the customExtensionId property value. The identifier of a custom extension for claim validation. + * @param value Value to set for the customExtensionId property. + */ + public void setCustomExtensionId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("customExtensionId", value); + } + /** + * Sets the isEnabled property value. Indicates whether claim validation is enabled. + * @param value Value to set for the isEnabled property. + */ + public void setIsEnabled(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isEnabled", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/CloudPcOnPremisesConnection.java b/src/main/java/com/microsoft/graph/generated/models/CloudPcOnPremisesConnection.java index b6c5fee0fcf..28db082ed3b 100644 --- a/src/main/java/com/microsoft/graph/generated/models/CloudPcOnPremisesConnection.java +++ b/src/main/java/com/microsoft/graph/generated/models/CloudPcOnPremisesConnection.java @@ -101,7 +101,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the healthCheckPaused property value. The healthCheckPaused property + * Gets the healthCheckPaused property value. 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. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -125,7 +125,7 @@ public CloudPcOnPremisesConnectionStatusDetail getHealthCheckStatusDetail() { return this.backingStore.get("healthCheckStatusDetail"); } /** - * Gets the inUse property value. When true, the Azure network connection is in use. When false, the connection isn't in use. You can't delete a connection thats 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. + * Gets the inUse property value. When true, the Azure network connection is in use. When false, the connection isn't in use. You can't delete a connection thats 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. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -133,7 +133,7 @@ public Boolean getInUse() { return this.backingStore.get("inUse"); } /** - * Gets the inUseByCloudPc property value. The inUseByCloudPc property + * Gets the inUseByCloudPc property value. 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. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -157,7 +157,7 @@ public String getResourceGroupId() { return this.backingStore.get("resourceGroupId"); } /** - * Gets the scopeIds property value. The scopeIds property + * Gets the scopeIds property value. The scope IDs of the corresponding permission. Currently, it's the Intune scope tag ID. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -274,7 +274,7 @@ public void setDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("displayName", value); } /** - * Sets the healthCheckPaused property value. The healthCheckPaused property + * Sets the healthCheckPaused property value. 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. * @param value Value to set for the healthCheckPaused property. */ public void setHealthCheckPaused(@jakarta.annotation.Nullable final Boolean value) { @@ -295,14 +295,14 @@ public void setHealthCheckStatusDetail(@jakarta.annotation.Nullable final CloudP this.backingStore.set("healthCheckStatusDetail", value); } /** - * Sets the inUse property value. When true, the Azure network connection is in use. When false, the connection isn't in use. You can't delete a connection thats 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. + * Sets the inUse property value. When true, the Azure network connection is in use. When false, the connection isn't in use. You can't delete a connection thats 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. * @param value Value to set for the inUse property. */ public void setInUse(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("inUse", value); } /** - * Sets the inUseByCloudPc property value. The inUseByCloudPc property + * Sets the inUseByCloudPc property value. 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. * @param value Value to set for the inUseByCloudPc property. */ public void setInUseByCloudPc(@jakarta.annotation.Nullable final Boolean value) { @@ -323,7 +323,7 @@ public void setResourceGroupId(@jakarta.annotation.Nullable final String value) this.backingStore.set("resourceGroupId", value); } /** - * Sets the scopeIds property value. The scopeIds property + * Sets the scopeIds property value. The scope IDs of the corresponding permission. Currently, it's the Intune scope tag ID. * @param value Value to set for the scopeIds property. */ public void setScopeIds(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/ConditionalAccessGrantControl.java b/src/main/java/com/microsoft/graph/generated/models/ConditionalAccessGrantControl.java index 3f92d3ba412..22ce9249904 100644 --- a/src/main/java/com/microsoft/graph/generated/models/ConditionalAccessGrantControl.java +++ b/src/main/java/com/microsoft/graph/generated/models/ConditionalAccessGrantControl.java @@ -12,7 +12,8 @@ public enum ConditionalAccessGrantControl implements ValuedEnum { ApprovedApplication("approvedApplication"), CompliantApplication("compliantApplication"), PasswordChange("passwordChange"), - UnknownFutureValue("unknownFutureValue"); + UnknownFutureValue("unknownFutureValue"), + RiskRemediation("riskRemediation"); public final String value; ConditionalAccessGrantControl(final String value) { this.value = value; @@ -31,6 +32,7 @@ public static ConditionalAccessGrantControl forValue(@jakarta.annotation.Nonnull case "compliantApplication": return CompliantApplication; case "passwordChange": return PasswordChange; case "unknownFutureValue": return UnknownFutureValue; + case "riskRemediation": return RiskRemediation; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/generated/models/ConditionalAccessGrantControls.java b/src/main/java/com/microsoft/graph/generated/models/ConditionalAccessGrantControls.java index 36bb4459508..8a909196e4b 100644 --- a/src/main/java/com/microsoft/graph/generated/models/ConditionalAccessGrantControls.java +++ b/src/main/java/com/microsoft/graph/generated/models/ConditionalAccessGrantControls.java @@ -64,7 +64,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the builtInControls property value. List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue. + * Gets the builtInControls property value. 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. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -155,7 +155,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the builtInControls property value. List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue. + * Sets the builtInControls property value. 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. * @param value Value to set for the builtInControls property. */ public void setBuiltInControls(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/CustomAuthenticationExtension.java b/src/main/java/com/microsoft/graph/generated/models/CustomAuthenticationExtension.java index 969faf9b95b..d5d50bb9d5e 100644 --- a/src/main/java/com/microsoft/graph/generated/models/CustomAuthenticationExtension.java +++ b/src/main/java/com/microsoft/graph/generated/models/CustomAuthenticationExtension.java @@ -32,6 +32,7 @@ public static CustomAuthenticationExtension createFromDiscriminatorValue(@jakart case "#microsoft.graph.onOtpSendCustomExtension": return new OnOtpSendCustomExtension(); case "#microsoft.graph.onPasswordSubmitCustomExtension": return new OnPasswordSubmitCustomExtension(); case "#microsoft.graph.onTokenIssuanceStartCustomExtension": return new OnTokenIssuanceStartCustomExtension(); + case "#microsoft.graph.onVerifiedIdClaimValidationCustomExtension": return new OnVerifiedIdClaimValidationCustomExtension(); } } return new CustomAuthenticationExtension(); diff --git a/src/main/java/com/microsoft/graph/generated/models/CustomCalloutExtension.java b/src/main/java/com/microsoft/graph/generated/models/CustomCalloutExtension.java index f134b3f7d25..81584a2e6d4 100644 --- a/src/main/java/com/microsoft/graph/generated/models/CustomCalloutExtension.java +++ b/src/main/java/com/microsoft/graph/generated/models/CustomCalloutExtension.java @@ -36,6 +36,7 @@ public static CustomCalloutExtension createFromDiscriminatorValue(@jakarta.annot case "#microsoft.graph.onOtpSendCustomExtension": return new OnOtpSendCustomExtension(); case "#microsoft.graph.onPasswordSubmitCustomExtension": return new OnPasswordSubmitCustomExtension(); case "#microsoft.graph.onTokenIssuanceStartCustomExtension": return new OnTokenIssuanceStartCustomExtension(); + case "#microsoft.graph.onVerifiedIdClaimValidationCustomExtension": return new OnVerifiedIdClaimValidationCustomExtension(); } } return new CustomCalloutExtension(); diff --git a/src/main/java/com/microsoft/graph/generated/models/DeviceRegistrationPolicy.java b/src/main/java/com/microsoft/graph/generated/models/DeviceRegistrationPolicy.java index 454e141e055..eacdeda0bfe 100644 --- a/src/main/java/com/microsoft/graph/generated/models/DeviceRegistrationPolicy.java +++ b/src/main/java/com/microsoft/graph/generated/models/DeviceRegistrationPolicy.java @@ -25,7 +25,7 @@ public static DeviceRegistrationPolicy createFromDiscriminatorValue(@jakarta.ann return new DeviceRegistrationPolicy(); } /** - * Gets the azureADJoin property value. The azureADJoin property + * Gets the azureADJoin property value. 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?. * @return a {@link AzureADJoinPolicy} */ @jakarta.annotation.Nullable @@ -33,7 +33,7 @@ public AzureADJoinPolicy getAzureADJoin() { return this.backingStore.get("azureADJoin"); } /** - * Gets the azureADRegistration property value. The azureADRegistration property + * Gets the azureADRegistration property value. 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?. * @return a {@link AzureADRegistrationPolicy} */ @jakarta.annotation.Nullable @@ -41,7 +41,7 @@ public AzureADRegistrationPolicy getAzureADRegistration() { return this.backingStore.get("azureADRegistration"); } /** - * Gets the description property value. The description property + * Gets the description property value. 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. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -49,7 +49,7 @@ public String getDescription() { return this.backingStore.get("description"); } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. The name of the device registration policy. Always set to Device Registration Policy. Read-only. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -73,7 +73,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the localAdminPassword property value. The localAdminPassword property + * Gets the localAdminPassword property value. Specifies the setting for Local Admin Password Solution (LAPS) within your organization. * @return a {@link LocalAdminPasswordSettings} */ @jakarta.annotation.Nullable @@ -89,7 +89,7 @@ public MultiFactorAuthConfiguration getMultiFactorAuthConfiguration() { return this.backingStore.get("multiFactorAuthConfiguration"); } /** - * Gets the userDeviceQuota property value. The userDeviceQuota property + * Gets the userDeviceQuota property value. 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. * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -112,35 +112,35 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeIntegerValue("userDeviceQuota", this.getUserDeviceQuota()); } /** - * Sets the azureADJoin property value. The azureADJoin property + * Sets the azureADJoin property value. 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?. * @param value Value to set for the azureADJoin property. */ public void setAzureADJoin(@jakarta.annotation.Nullable final AzureADJoinPolicy value) { this.backingStore.set("azureADJoin", value); } /** - * Sets the azureADRegistration property value. The azureADRegistration property + * Sets the azureADRegistration property value. 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?. * @param value Value to set for the azureADRegistration property. */ public void setAzureADRegistration(@jakarta.annotation.Nullable final AzureADRegistrationPolicy value) { this.backingStore.set("azureADRegistration", value); } /** - * Sets the description property value. The description property + * Sets the description property value. 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. * @param value Value to set for the description property. */ public void setDescription(@jakarta.annotation.Nullable final String value) { this.backingStore.set("description", value); } /** - * Sets the displayName property value. The displayName property + * Sets the displayName property value. The name of the device registration policy. Always set to Device Registration Policy. Read-only. * @param value Value to set for the displayName property. */ public void setDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("displayName", value); } /** - * Sets the localAdminPassword property value. The localAdminPassword property + * Sets the localAdminPassword property value. Specifies the setting for Local Admin Password Solution (LAPS) within your organization. * @param value Value to set for the localAdminPassword property. */ public void setLocalAdminPassword(@jakarta.annotation.Nullable final LocalAdminPasswordSettings value) { @@ -154,7 +154,7 @@ public void setMultiFactorAuthConfiguration(@jakarta.annotation.Nullable final M this.backingStore.set("multiFactorAuthConfiguration", value); } /** - * Sets the userDeviceQuota property value. The userDeviceQuota property + * Sets the userDeviceQuota property value. 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. * @param value Value to set for the userDeviceQuota property. */ public void setUserDeviceQuota(@jakarta.annotation.Nullable final Integer value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/EmailDetails.java b/src/main/java/com/microsoft/graph/generated/models/EmailDetails.java new file mode 100644 index 00000000000..436400e2b8e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/EmailDetails.java @@ -0,0 +1,158 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class EmailDetails implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link EmailDetails} and sets the default values. + */ + public EmailDetails() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link EmailDetails} + */ + @jakarta.annotation.Nonnull + public static EmailDetails createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new EmailDetails(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the body property value. The body property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getBody() { + return this.backingStore.get("body"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("body", (n) -> { this.setBody(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("senderEmailAddress", (n) -> { this.setSenderEmailAddress(n.getStringValue()); }); + deserializerMap.put("subject", (n) -> { this.setSubject(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the senderEmailAddress property value. The senderEmailAddress property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSenderEmailAddress() { + return this.backingStore.get("senderEmailAddress"); + } + /** + * Gets the subject property value. The subject property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSubject() { + return this.backingStore.get("subject"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("body", this.getBody()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("senderEmailAddress", this.getSenderEmailAddress()); + writer.writeStringValue("subject", this.getSubject()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the body property value. The body property + * @param value Value to set for the body property. + */ + public void setBody(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("body", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the senderEmailAddress property value. The senderEmailAddress property + * @param value Value to set for the senderEmailAddress property. + */ + public void setSenderEmailAddress(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("senderEmailAddress", value); + } + /** + * Sets the subject property value. The subject property + * @param value Value to set for the subject property. + */ + public void setSubject(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("subject", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/Entity.java b/src/main/java/com/microsoft/graph/generated/models/Entity.java index e5f1bde3994..80a1977645c 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Entity.java +++ b/src/main/java/com/microsoft/graph/generated/models/Entity.java @@ -322,6 +322,7 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.browserSharedCookie": return new BrowserSharedCookie(); case "#microsoft.graph.browserSite": return new BrowserSite(); case "#microsoft.graph.browserSiteList": return new BrowserSiteList(); + case "#microsoft.graph.browseSessionBase": return new BrowseSessionBase(); case "#microsoft.graph.building": return new Building(); case "#microsoft.graph.buildingMap": return new BuildingMap(); case "#microsoft.graph.builtInIdentityProvider": return new BuiltInIdentityProvider(); @@ -570,7 +571,10 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.footprintMap": return new FootprintMap(); case "#microsoft.graph.fraudProtectionProvider": return new FraudProtectionProvider(); case "#microsoft.graph.governanceInsight": return new GovernanceInsight(); + case "#microsoft.graph.granularDriveRestoreArtifact": return new GranularDriveRestoreArtifact(); case "#microsoft.graph.granularMailboxRestoreArtifact": return new GranularMailboxRestoreArtifact(); + case "#microsoft.graph.granularRestoreArtifactBase": return new GranularRestoreArtifactBase(); + case "#microsoft.graph.granularSiteRestoreArtifact": return new GranularSiteRestoreArtifact(); case "#microsoft.graph.group": return new Group(); case "#microsoft.graph.groupLifecyclePolicy": return new GroupLifecyclePolicy(); case "#microsoft.graph.groupSetting": return new GroupSetting(); @@ -600,6 +604,7 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.identityUserFlow": return new IdentityUserFlow(); case "#microsoft.graph.identityUserFlowAttribute": return new IdentityUserFlowAttribute(); case "#microsoft.graph.identityUserFlowAttributeAssignment": return new IdentityUserFlowAttributeAssignment(); + case "#microsoft.graph.identityVerifiedIdRoot": return new IdentityVerifiedIdRoot(); case "#microsoft.graph.importedWindowsAutopilotDeviceIdentity": return new ImportedWindowsAutopilotDeviceIdentity(); case "#microsoft.graph.importedWindowsAutopilotDeviceIdentityUpload": return new ImportedWindowsAutopilotDeviceIdentityUpload(); case "#microsoft.graph.inferenceClassification": return new InferenceClassification(); @@ -689,11 +694,6 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull case "#microsoft.graph.managedDeviceMobileAppConfigurationDeviceSummary": return new ManagedDeviceMobileAppConfigurationDeviceSummary(); case "#microsoft.graph.managedDeviceMobileAppConfigurationUserStatus": return new ManagedDeviceMobileAppConfigurationUserStatus(); case "#microsoft.graph.managedDeviceMobileAppConfigurationUserSummary": return new ManagedDeviceMobileAppConfigurationUserSummary(); - case "#microsoft.graph.managedDeviceOverview": return new ManagedDeviceOverview(); - case "#microsoft.graph.managedEBook": return new ManagedEBook(); - case "#microsoft.graph.managedEBookAssignment": return new ManagedEBookAssignment(); - case "#microsoft.graph.managedIOSLobApp": return new ManagedIOSLobApp(); - case "#microsoft.graph.managedIOSStoreApp": return new ManagedIOSStoreApp(); } return null; } @@ -705,6 +705,11 @@ private static Entity createFromDiscriminatorValue_0(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull final String discriminatorValue) { switch (discriminatorValue) { + case "#microsoft.graph.managedDeviceOverview": return new ManagedDeviceOverview(); + case "#microsoft.graph.managedEBook": return new ManagedEBook(); + case "#microsoft.graph.managedEBookAssignment": return new ManagedEBookAssignment(); + case "#microsoft.graph.managedIOSLobApp": return new ManagedIOSLobApp(); + case "#microsoft.graph.managedIOSStoreApp": return new ManagedIOSStoreApp(); case "#microsoft.graph.managedMobileApp": return new ManagedMobileApp(); case "#microsoft.graph.managedMobileLobApp": return new ManagedMobileLobApp(); case "#microsoft.graph.mdmWindowsInformationProtectionPolicy": return new MdmWindowsInformationProtectionPolicy(); @@ -747,6 +752,7 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.onAttributeCollectionSubmitCustomExtension": return new OnAttributeCollectionSubmitCustomExtension(); case "#microsoft.graph.onAttributeCollectionSubmitListener": return new OnAttributeCollectionSubmitListener(); case "#microsoft.graph.onAuthenticationMethodLoadStartListener": return new OnAuthenticationMethodLoadStartListener(); + case "#microsoft.graph.oneDriveForBusinessBrowseSession": return new OneDriveForBusinessBrowseSession(); case "#microsoft.graph.oneDriveForBusinessProtectionPolicy": return new OneDriveForBusinessProtectionPolicy(); case "#microsoft.graph.oneDriveForBusinessRestoreSession": return new OneDriveForBusinessRestoreSession(); case "#microsoft.graph.onEmailOtpSendListener": return new OnEmailOtpSendListener(); @@ -772,6 +778,8 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.onTokenIssuanceStartCustomExtension": return new OnTokenIssuanceStartCustomExtension(); case "#microsoft.graph.onTokenIssuanceStartListener": return new OnTokenIssuanceStartListener(); case "#microsoft.graph.onUserCreateStartListener": return new OnUserCreateStartListener(); + case "#microsoft.graph.onVerifiedIdClaimValidationCustomExtension": return new OnVerifiedIdClaimValidationCustomExtension(); + case "#microsoft.graph.onVerifiedIdClaimValidationListener": return new OnVerifiedIdClaimValidationListener(); case "#microsoft.graph.openShift": return new OpenShift(); case "#microsoft.graph.openShiftChangeRequest": return new OpenShiftChangeRequest(); case "#microsoft.graph.openTypeExtension": return new OpenTypeExtension(); @@ -784,6 +792,7 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.outlookCategory": return new OutlookCategory(); case "#microsoft.graph.outlookItem": return new OutlookItem(); case "#microsoft.graph.outlookUser": return new OutlookUser(); + case "#microsoft.graph.ownerlessGroupPolicy": return new OwnerlessGroupPolicy(); case "#microsoft.graph.participant": return new Participant(); case "#microsoft.graph.participantJoiningNotification": return new ParticipantJoiningNotification(); case "#microsoft.graph.participantLeftNotification": return new ParticipantLeftNotification(); @@ -1022,6 +1031,7 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.sharedPCConfiguration": return new SharedPCConfiguration(); case "#microsoft.graph.sharedWithChannelTeamInfo": return new SharedWithChannelTeamInfo(); case "#microsoft.graph.sharepoint": return new Sharepoint(); + case "#microsoft.graph.sharePointBrowseSession": return new SharePointBrowseSession(); case "#microsoft.graph.sharePointGroup": return new SharePointGroup(); case "#microsoft.graph.sharePointGroupMember": return new SharePointGroupMember(); case "#microsoft.graph.sharePointMigrationEvent": return new SharePointMigrationEvent(); @@ -1195,16 +1205,6 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.userRegistrationDetails": return new UserRegistrationDetails(); case "#microsoft.graph.userScopeTeamsAppInstallation": return new UserScopeTeamsAppInstallation(); case "#microsoft.graph.userSettings": return new UserSettings(); - case "#microsoft.graph.userSignInInsight": return new UserSignInInsight(); - case "#microsoft.graph.userSolutionRoot": return new UserSolutionRoot(); - case "#microsoft.graph.userStorage": return new UserStorage(); - case "#microsoft.graph.userTeamwork": return new UserTeamwork(); - case "#microsoft.graph.verticalSection": return new VerticalSection(); - case "#microsoft.graph.virtualEndpoint": return new VirtualEndpoint(); - case "#microsoft.graph.virtualEvent": return new VirtualEvent(); - case "#microsoft.graph.virtualEventPresenter": return new VirtualEventPresenter(); - case "#microsoft.graph.virtualEventRegistration": return new VirtualEventRegistration(); - case "#microsoft.graph.virtualEventRegistrationConfiguration": return new VirtualEventRegistrationConfiguration(); } return null; } @@ -1216,6 +1216,17 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull private static Entity createFromDiscriminatorValue_2(@jakarta.annotation.Nonnull final String discriminatorValue) { switch (discriminatorValue) { + case "#microsoft.graph.userSignInInsight": return new UserSignInInsight(); + case "#microsoft.graph.userSolutionRoot": return new UserSolutionRoot(); + case "#microsoft.graph.userStorage": return new UserStorage(); + case "#microsoft.graph.userTeamwork": return new UserTeamwork(); + case "#microsoft.graph.verifiedIdProfile": return new VerifiedIdProfile(); + case "#microsoft.graph.verticalSection": return new VerticalSection(); + case "#microsoft.graph.virtualEndpoint": return new VirtualEndpoint(); + case "#microsoft.graph.virtualEvent": return new VirtualEvent(); + case "#microsoft.graph.virtualEventPresenter": return new VirtualEventPresenter(); + case "#microsoft.graph.virtualEventRegistration": return new VirtualEventRegistration(); + case "#microsoft.graph.virtualEventRegistrationConfiguration": return new VirtualEventRegistrationConfiguration(); case "#microsoft.graph.virtualEventRegistrationCustomQuestion": return new VirtualEventRegistrationCustomQuestion(); case "#microsoft.graph.virtualEventRegistrationPredefinedQuestion": return new VirtualEventRegistrationPredefinedQuestion(); case "#microsoft.graph.virtualEventRegistrationQuestionBase": return new VirtualEventRegistrationQuestionBase(); diff --git a/src/main/java/com/microsoft/graph/generated/models/EnumeratedDeviceRegistrationMembership.java b/src/main/java/com/microsoft/graph/generated/models/EnumeratedDeviceRegistrationMembership.java index 92369d1f388..54efe6327d9 100644 --- a/src/main/java/com/microsoft/graph/generated/models/EnumeratedDeviceRegistrationMembership.java +++ b/src/main/java/com/microsoft/graph/generated/models/EnumeratedDeviceRegistrationMembership.java @@ -37,7 +37,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the groups property value. The groups property + * Gets the groups property value. List of groups that this policy applies to. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -45,7 +45,7 @@ public java.util.List getGroups() { return this.backingStore.get("groups"); } /** - * Gets the users property value. The users property + * Gets the users property value. List of users that this policy applies to. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -63,14 +63,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfPrimitiveValues("users", this.getUsers()); } /** - * Sets the groups property value. The groups property + * Sets the groups property value. List of groups that this policy applies to. * @param value Value to set for the groups property. */ public void setGroups(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("groups", value); } /** - * Sets the users property value. The users property + * Sets the users property value. List of users that this policy applies to. * @param value Value to set for the users property. */ public void setUsers(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/FaceCheckConfiguration.java b/src/main/java/com/microsoft/graph/generated/models/FaceCheckConfiguration.java new file mode 100644 index 00000000000..360b03588b1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/FaceCheckConfiguration.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class FaceCheckConfiguration implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link FaceCheckConfiguration} and sets the default values. + */ + public FaceCheckConfiguration() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link FaceCheckConfiguration} + */ + @jakarta.annotation.Nonnull + public static FaceCheckConfiguration createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new FaceCheckConfiguration(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("isEnabled", (n) -> { this.setIsEnabled(n.getBooleanValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("sourcePhotoClaimName", (n) -> { this.setSourcePhotoClaimName(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the isEnabled property value. Defines if Face Check is required. Currently must always be true. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsEnabled() { + return this.backingStore.get("isEnabled"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the sourcePhotoClaimName property value. Source of photo to validate Face Check against. Currently must always be portrait. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSourcePhotoClaimName() { + return this.backingStore.get("sourcePhotoClaimName"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeBooleanValue("isEnabled", this.getIsEnabled()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("sourcePhotoClaimName", this.getSourcePhotoClaimName()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the isEnabled property value. Defines if Face Check is required. Currently must always be true. + * @param value Value to set for the isEnabled property. + */ + public void setIsEnabled(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isEnabled", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the sourcePhotoClaimName property value. Source of photo to validate Face Check against. Currently must always be portrait. + * @param value Value to set for the sourcePhotoClaimName property. + */ + public void setSourcePhotoClaimName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("sourcePhotoClaimName", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/Fido2AuthenticationMethod.java b/src/main/java/com/microsoft/graph/generated/models/Fido2AuthenticationMethod.java index d7f41284e87..529891872db 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Fido2AuthenticationMethod.java +++ b/src/main/java/com/microsoft/graph/generated/models/Fido2AuthenticationMethod.java @@ -70,6 +70,7 @@ public Map> getFieldDeserializers deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); deserializerMap.put("model", (n) -> { this.setModel(n.getStringValue()); }); deserializerMap.put("passkeyType", (n) -> { this.setPasskeyType(n.getEnumValue(PasskeyType::forValue)); }); + deserializerMap.put("publicKeyCredential", (n) -> { this.setPublicKeyCredential(n.getObjectValue(WebauthnPublicKeyCredential::createFromDiscriminatorValue)); }); return deserializerMap; } /** @@ -88,6 +89,14 @@ public String getModel() { public PasskeyType getPasskeyType() { return this.backingStore.get("passkeyType"); } + /** + * Gets the publicKeyCredential property value. The publicKeyCredential property + * @return a {@link WebauthnPublicKeyCredential} + */ + @jakarta.annotation.Nullable + public WebauthnPublicKeyCredential getPublicKeyCredential() { + return this.backingStore.get("publicKeyCredential"); + } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model @@ -101,6 +110,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("displayName", this.getDisplayName()); writer.writeStringValue("model", this.getModel()); writer.writeEnumValue("passkeyType", this.getPasskeyType()); + writer.writeObjectValue("publicKeyCredential", this.getPublicKeyCredential()); } /** * Sets the aaGuid property value. Authenticator Attestation GUID, an identifier that indicates the type (such as make and model) of the authenticator. @@ -144,4 +154,11 @@ public void setModel(@jakarta.annotation.Nullable final String value) { public void setPasskeyType(@jakarta.annotation.Nullable final PasskeyType value) { this.backingStore.set("passkeyType", value); } + /** + * Sets the publicKeyCredential property value. The publicKeyCredential property + * @param value Value to set for the publicKeyCredential property. + */ + public void setPublicKeyCredential(@jakarta.annotation.Nullable final WebauthnPublicKeyCredential value) { + this.backingStore.set("publicKeyCredential", value); + } } diff --git a/src/main/java/com/microsoft/graph/generated/models/FileStorageContainer.java b/src/main/java/com/microsoft/graph/generated/models/FileStorageContainer.java index 71b25ce875a..1705ee7f5b3 100644 --- a/src/main/java/com/microsoft/graph/generated/models/FileStorageContainer.java +++ b/src/main/java/com/microsoft/graph/generated/models/FileStorageContainer.java @@ -156,7 +156,7 @@ public FileStorageContainerSettings getSettings() { return this.backingStore.get("settings"); } /** - * Gets the sharePointGroups property value. The sharePointGroups property + * Gets the sharePointGroups property value. The collection of sharePointGroup objects local to the container. Read-write. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -295,7 +295,7 @@ public void setSettings(@jakarta.annotation.Nullable final FileStorageContainerS this.backingStore.set("settings", value); } /** - * Sets the sharePointGroups property value. The sharePointGroups property + * Sets the sharePointGroups property value. The collection of sharePointGroup objects local to the container. Read-write. * @param value Value to set for the sharePointGroups property. */ public void setSharePointGroups(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/GranularDriveRestoreArtifact.java b/src/main/java/com/microsoft/graph/generated/models/GranularDriveRestoreArtifact.java new file mode 100644 index 00000000000..10a4dcf2c9f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/GranularDriveRestoreArtifact.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GranularDriveRestoreArtifact extends GranularRestoreArtifactBase implements Parsable { + /** + * Instantiates a new {@link GranularDriveRestoreArtifact} and sets the default values. + */ + public GranularDriveRestoreArtifact() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link GranularDriveRestoreArtifact} + */ + @jakarta.annotation.Nonnull + public static GranularDriveRestoreArtifact createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GranularDriveRestoreArtifact(); + } + /** + * Gets the directoryObjectId property value. The directoryObjectId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDirectoryObjectId() { + return this.backingStore.get("directoryObjectId"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("directoryObjectId", (n) -> { this.setDirectoryObjectId(n.getStringValue()); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeStringValue("directoryObjectId", this.getDirectoryObjectId()); + } + /** + * Sets the directoryObjectId property value. The directoryObjectId property + * @param value Value to set for the directoryObjectId property. + */ + public void setDirectoryObjectId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("directoryObjectId", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/GranularDriveRestoreArtifactCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/GranularDriveRestoreArtifactCollectionResponse.java new file mode 100644 index 00000000000..96ab1adcf7b --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/GranularDriveRestoreArtifactCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GranularDriveRestoreArtifactCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link GranularDriveRestoreArtifactCollectionResponse} and sets the default values. + */ + public GranularDriveRestoreArtifactCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link GranularDriveRestoreArtifactCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static GranularDriveRestoreArtifactCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GranularDriveRestoreArtifactCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(GranularDriveRestoreArtifact::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/GranularRestoreArtifactBase.java b/src/main/java/com/microsoft/graph/generated/models/GranularRestoreArtifactBase.java new file mode 100644 index 00000000000..50033f84554 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/GranularRestoreArtifactBase.java @@ -0,0 +1,206 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GranularRestoreArtifactBase extends Entity implements Parsable { + /** + * Instantiates a new {@link GranularRestoreArtifactBase} and sets the default values. + */ + public GranularRestoreArtifactBase() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link GranularRestoreArtifactBase} + */ + @jakarta.annotation.Nonnull + public static GranularRestoreArtifactBase createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.granularDriveRestoreArtifact": return new GranularDriveRestoreArtifact(); + case "#microsoft.graph.granularSiteRestoreArtifact": return new GranularSiteRestoreArtifact(); + } + } + return new GranularRestoreArtifactBase(); + } + /** + * Gets the browseSessionId property value. The browseSessionId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getBrowseSessionId() { + return this.backingStore.get("browseSessionId"); + } + /** + * Gets the completionDateTime property value. The completionDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCompletionDateTime() { + return this.backingStore.get("completionDateTime"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("browseSessionId", (n) -> { this.setBrowseSessionId(n.getStringValue()); }); + deserializerMap.put("completionDateTime", (n) -> { this.setCompletionDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("restoredItemKey", (n) -> { this.setRestoredItemKey(n.getStringValue()); }); + deserializerMap.put("restoredItemPath", (n) -> { this.setRestoredItemPath(n.getStringValue()); }); + deserializerMap.put("restoredItemWebUrl", (n) -> { this.setRestoredItemWebUrl(n.getStringValue()); }); + deserializerMap.put("restorePointDateTime", (n) -> { this.setRestorePointDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("startDateTime", (n) -> { this.setStartDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("status", (n) -> { this.setStatus(n.getEnumValue(ArtifactRestoreStatus::forValue)); }); + deserializerMap.put("webUrl", (n) -> { this.setWebUrl(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the restoredItemKey property value. The restoredItemKey property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getRestoredItemKey() { + return this.backingStore.get("restoredItemKey"); + } + /** + * Gets the restoredItemPath property value. The restoredItemPath property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getRestoredItemPath() { + return this.backingStore.get("restoredItemPath"); + } + /** + * Gets the restoredItemWebUrl property value. The restoredItemWebUrl property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getRestoredItemWebUrl() { + return this.backingStore.get("restoredItemWebUrl"); + } + /** + * Gets the restorePointDateTime property value. The restorePointDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getRestorePointDateTime() { + return this.backingStore.get("restorePointDateTime"); + } + /** + * Gets the startDateTime property value. The startDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getStartDateTime() { + return this.backingStore.get("startDateTime"); + } + /** + * Gets the status property value. The status property + * @return a {@link ArtifactRestoreStatus} + */ + @jakarta.annotation.Nullable + public ArtifactRestoreStatus getStatus() { + return this.backingStore.get("status"); + } + /** + * Gets the webUrl property value. The webUrl property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getWebUrl() { + return this.backingStore.get("webUrl"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeStringValue("browseSessionId", this.getBrowseSessionId()); + writer.writeOffsetDateTimeValue("completionDateTime", this.getCompletionDateTime()); + writer.writeStringValue("restoredItemKey", this.getRestoredItemKey()); + writer.writeStringValue("restoredItemPath", this.getRestoredItemPath()); + writer.writeStringValue("restoredItemWebUrl", this.getRestoredItemWebUrl()); + writer.writeOffsetDateTimeValue("restorePointDateTime", this.getRestorePointDateTime()); + writer.writeOffsetDateTimeValue("startDateTime", this.getStartDateTime()); + writer.writeEnumValue("status", this.getStatus()); + writer.writeStringValue("webUrl", this.getWebUrl()); + } + /** + * Sets the browseSessionId property value. The browseSessionId property + * @param value Value to set for the browseSessionId property. + */ + public void setBrowseSessionId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("browseSessionId", value); + } + /** + * Sets the completionDateTime property value. The completionDateTime property + * @param value Value to set for the completionDateTime property. + */ + public void setCompletionDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("completionDateTime", value); + } + /** + * Sets the restoredItemKey property value. The restoredItemKey property + * @param value Value to set for the restoredItemKey property. + */ + public void setRestoredItemKey(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("restoredItemKey", value); + } + /** + * Sets the restoredItemPath property value. The restoredItemPath property + * @param value Value to set for the restoredItemPath property. + */ + public void setRestoredItemPath(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("restoredItemPath", value); + } + /** + * Sets the restoredItemWebUrl property value. The restoredItemWebUrl property + * @param value Value to set for the restoredItemWebUrl property. + */ + public void setRestoredItemWebUrl(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("restoredItemWebUrl", value); + } + /** + * Sets the restorePointDateTime property value. The restorePointDateTime property + * @param value Value to set for the restorePointDateTime property. + */ + public void setRestorePointDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("restorePointDateTime", value); + } + /** + * Sets the startDateTime property value. The startDateTime property + * @param value Value to set for the startDateTime property. + */ + public void setStartDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("startDateTime", value); + } + /** + * Sets the status property value. The status property + * @param value Value to set for the status property. + */ + public void setStatus(@jakarta.annotation.Nullable final ArtifactRestoreStatus value) { + this.backingStore.set("status", value); + } + /** + * Sets the webUrl property value. The webUrl property + * @param value Value to set for the webUrl property. + */ + public void setWebUrl(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("webUrl", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/GranularSiteRestoreArtifact.java b/src/main/java/com/microsoft/graph/generated/models/GranularSiteRestoreArtifact.java new file mode 100644 index 00000000000..8533965801f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/GranularSiteRestoreArtifact.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GranularSiteRestoreArtifact extends GranularRestoreArtifactBase implements Parsable { + /** + * Instantiates a new {@link GranularSiteRestoreArtifact} and sets the default values. + */ + public GranularSiteRestoreArtifact() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link GranularSiteRestoreArtifact} + */ + @jakarta.annotation.Nonnull + public static GranularSiteRestoreArtifact createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GranularSiteRestoreArtifact(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("siteId", (n) -> { this.setSiteId(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the siteId property value. The siteId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSiteId() { + return this.backingStore.get("siteId"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeStringValue("siteId", this.getSiteId()); + } + /** + * Sets the siteId property value. The siteId property + * @param value Value to set for the siteId property. + */ + public void setSiteId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("siteId", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/GranularSiteRestoreArtifactCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/GranularSiteRestoreArtifactCollectionResponse.java new file mode 100644 index 00000000000..0032e8d8c43 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/GranularSiteRestoreArtifactCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GranularSiteRestoreArtifactCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link GranularSiteRestoreArtifactCollectionResponse} and sets the default values. + */ + public GranularSiteRestoreArtifactCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link GranularSiteRestoreArtifactCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static GranularSiteRestoreArtifactCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GranularSiteRestoreArtifactCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(GranularSiteRestoreArtifact::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/IdentityContainer.java b/src/main/java/com/microsoft/graph/generated/models/IdentityContainer.java index 593f1134781..663b0792adc 100644 --- a/src/main/java/com/microsoft/graph/generated/models/IdentityContainer.java +++ b/src/main/java/com/microsoft/graph/generated/models/IdentityContainer.java @@ -88,6 +88,7 @@ public Map> getFieldDeserializers deserializerMap.put("identityProviders", (n) -> { this.setIdentityProviders(n.getCollectionOfObjectValues(IdentityProviderBase::createFromDiscriminatorValue)); }); deserializerMap.put("riskPrevention", (n) -> { this.setRiskPrevention(n.getObjectValue(RiskPreventionContainer::createFromDiscriminatorValue)); }); deserializerMap.put("userFlowAttributes", (n) -> { this.setUserFlowAttributes(n.getCollectionOfObjectValues(IdentityUserFlowAttribute::createFromDiscriminatorValue)); }); + deserializerMap.put("verifiedId", (n) -> { this.setVerifiedId(n.getObjectValue(IdentityVerifiedIdRoot::createFromDiscriminatorValue)); }); return deserializerMap; } /** @@ -114,6 +115,14 @@ public RiskPreventionContainer getRiskPrevention() { public java.util.List getUserFlowAttributes() { return this.backingStore.get("userFlowAttributes"); } + /** + * Gets the verifiedId property value. The verifiedId property + * @return a {@link IdentityVerifiedIdRoot} + */ + @jakarta.annotation.Nullable + public IdentityVerifiedIdRoot getVerifiedId() { + return this.backingStore.get("verifiedId"); + } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model @@ -130,6 +139,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("identityProviders", this.getIdentityProviders()); writer.writeObjectValue("riskPrevention", this.getRiskPrevention()); writer.writeCollectionOfObjectValues("userFlowAttributes", this.getUserFlowAttributes()); + writer.writeObjectValue("verifiedId", this.getVerifiedId()); } /** * Sets the apiConnectors property value. Represents entry point for API connectors. @@ -194,4 +204,11 @@ public void setRiskPrevention(@jakarta.annotation.Nullable final RiskPreventionC public void setUserFlowAttributes(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("userFlowAttributes", value); } + /** + * Sets the verifiedId property value. The verifiedId property + * @param value Value to set for the verifiedId property. + */ + public void setVerifiedId(@jakarta.annotation.Nullable final IdentityVerifiedIdRoot value) { + this.backingStore.set("verifiedId", value); + } } diff --git a/src/main/java/com/microsoft/graph/generated/models/IdentityVerifiedIdRoot.java b/src/main/java/com/microsoft/graph/generated/models/IdentityVerifiedIdRoot.java new file mode 100644 index 00000000000..52cedf31581 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/IdentityVerifiedIdRoot.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class IdentityVerifiedIdRoot extends Entity implements Parsable { + /** + * Instantiates a new {@link IdentityVerifiedIdRoot} and sets the default values. + */ + public IdentityVerifiedIdRoot() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link IdentityVerifiedIdRoot} + */ + @jakarta.annotation.Nonnull + public static IdentityVerifiedIdRoot createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new IdentityVerifiedIdRoot(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("profiles", (n) -> { this.setProfiles(n.getCollectionOfObjectValues(VerifiedIdProfile::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the profiles property value. Profile containing properties about a Verified ID provider and purpose + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getProfiles() { + return this.backingStore.get("profiles"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("profiles", this.getProfiles()); + } + /** + * Sets the profiles property value. Profile containing properties about a Verified ID provider and purpose + * @param value Value to set for the profiles property. + */ + public void setProfiles(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("profiles", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/LicenseAssignmentState.java b/src/main/java/com/microsoft/graph/generated/models/LicenseAssignmentState.java index 1d75d0aee5e..e1db065e716 100644 --- a/src/main/java/com/microsoft/graph/generated/models/LicenseAssignmentState.java +++ b/src/main/java/com/microsoft/graph/generated/models/LicenseAssignmentState.java @@ -50,7 +50,7 @@ public Map getAdditionalData() { return value; } /** - * Gets the assignedByGroup property value. The assignedByGroup property + * Gets the assignedByGroup property value. 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. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -66,7 +66,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the disabledPlans property value. The disabledPlans property + * Gets the disabledPlans property value. The service plans that are disabled in this assignment. Read-Only. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -74,7 +74,7 @@ public java.util.List getDisabledPlans() { return this.backingStore.get("disabledPlans"); } /** - * Gets the error property value. The error property + * Gets the error property value. 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. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -98,7 +98,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the lastUpdatedDateTime property value. The lastUpdatedDateTime property + * Gets the lastUpdatedDateTime property value. The timestamp when the state of the license assignment was last updated. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -114,7 +114,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the skuId property value. The skuId property + * Gets the skuId property value. The unique identifier for the SKU. Read-Only. * @return a {@link UUID} */ @jakarta.annotation.Nullable @@ -122,7 +122,7 @@ public UUID getSkuId() { return this.backingStore.get("skuId"); } /** - * Gets the state property value. The state property + * Gets the state property value. Indicate the current state of this assignment. Read-Only. The possible values are Active, ActiveWithError, Disabled, and Error. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -152,7 +152,7 @@ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { this.backingStore.set("disabledPlans", value); } /** - * Sets the error property value. The error property + * Sets the error property value. 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. * @param value Value to set for the error property. */ public void setError(@jakarta.annotation.Nullable final String value) { this.backingStore.set("error", value); } /** - * Sets the lastUpdatedDateTime property value. The lastUpdatedDateTime property + * Sets the lastUpdatedDateTime property value. The timestamp when the state of the license assignment was last updated. * @param value Value to set for the lastUpdatedDateTime property. */ public void setLastUpdatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { @@ -195,14 +195,14 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the skuId property value. The skuId property + * Sets the skuId property value. The unique identifier for the SKU. Read-Only. * @param value Value to set for the skuId property. */ public void setSkuId(@jakarta.annotation.Nullable final UUID value) { this.backingStore.set("skuId", value); } /** - * Sets the state property value. The state property + * Sets the state property value. Indicate the current state of this assignment. Read-Only. The possible values are Active, ActiveWithError, Disabled, and Error. * @param value Value to set for the state property. */ public void setState(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/LocalAdminPasswordSettings.java b/src/main/java/com/microsoft/graph/generated/models/LocalAdminPasswordSettings.java index ee72260f8bc..45286494fe7 100644 --- a/src/main/java/com/microsoft/graph/generated/models/LocalAdminPasswordSettings.java +++ b/src/main/java/com/microsoft/graph/generated/models/LocalAdminPasswordSettings.java @@ -67,7 +67,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isEnabled property value. The isEnabled property + * Gets the isEnabled property value. 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. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -108,7 +108,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the isEnabled property value. The isEnabled property + * Sets the isEnabled property value. 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. * @param value Value to set for the isEnabled property. */ public void setIsEnabled(@jakarta.annotation.Nullable final Boolean value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/LocalAdminSettings.java b/src/main/java/com/microsoft/graph/generated/models/LocalAdminSettings.java index 2482f335a14..e4d5ce90233 100644 --- a/src/main/java/com/microsoft/graph/generated/models/LocalAdminSettings.java +++ b/src/main/java/com/microsoft/graph/generated/models/LocalAdminSettings.java @@ -56,7 +56,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the enableGlobalAdmins property value. The enableGlobalAdmins property + * Gets the enableGlobalAdmins property value. Indicates whether global administrators are local administrators on all Microsoft Entra-joined devices. This setting only applies to future registrations. Default is true. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -84,7 +84,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the registeringUsers property value. The registeringUsers property + * Gets the registeringUsers property value. Determines the users and groups that become local administrators on Microsoft Entra joined devices that they register. * @return a {@link DeviceRegistrationMembership} */ @jakarta.annotation.Nullable @@ -118,7 +118,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the enableGlobalAdmins property value. The enableGlobalAdmins property + * Sets the enableGlobalAdmins property value. Indicates whether global administrators are local administrators on all Microsoft Entra-joined devices. This setting only applies to future registrations. Default is true. * @param value Value to set for the enableGlobalAdmins property. */ public void setEnableGlobalAdmins(@jakarta.annotation.Nullable final Boolean value) { @@ -132,7 +132,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the registeringUsers property value. The registeringUsers property + * Sets the registeringUsers property value. Determines the users and groups that become local administrators on Microsoft Entra joined devices that they register. * @param value Value to set for the registeringUsers property. */ public void setRegisteringUsers(@jakarta.annotation.Nullable final DeviceRegistrationMembership value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/MatchConfidenceLevel.java b/src/main/java/com/microsoft/graph/generated/models/MatchConfidenceLevel.java new file mode 100644 index 00000000000..5a4a3fe71b5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/MatchConfidenceLevel.java @@ -0,0 +1,27 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum MatchConfidenceLevel implements ValuedEnum { + Exact("exact"), + Relaxed("relaxed"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + MatchConfidenceLevel(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static MatchConfidenceLevel forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "exact": return Exact; + case "relaxed": return Relaxed; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/NotifyMembers.java b/src/main/java/com/microsoft/graph/generated/models/NotifyMembers.java new file mode 100644 index 00000000000..db94ab035a5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/NotifyMembers.java @@ -0,0 +1,29 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum NotifyMembers implements ValuedEnum { + All("all"), + AllowSelected("allowSelected"), + BlockSelected("blockSelected"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + NotifyMembers(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static NotifyMembers forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "all": return All; + case "allowSelected": return AllowSelected; + case "blockSelected": return BlockSelected; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/OnVerifiedIdClaimValidationCustomExtension.java b/src/main/java/com/microsoft/graph/generated/models/OnVerifiedIdClaimValidationCustomExtension.java new file mode 100644 index 00000000000..c6965728c7d --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/OnVerifiedIdClaimValidationCustomExtension.java @@ -0,0 +1,45 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class OnVerifiedIdClaimValidationCustomExtension extends CustomAuthenticationExtension implements Parsable { + /** + * Instantiates a new {@link OnVerifiedIdClaimValidationCustomExtension} and sets the default values. + */ + public OnVerifiedIdClaimValidationCustomExtension() { + super(); + this.setOdataType("#microsoft.graph.onVerifiedIdClaimValidationCustomExtension"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link OnVerifiedIdClaimValidationCustomExtension} + */ + @jakarta.annotation.Nonnull + public static OnVerifiedIdClaimValidationCustomExtension createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new OnVerifiedIdClaimValidationCustomExtension(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/OnVerifiedIdClaimValidationCustomExtensionHandler.java b/src/main/java/com/microsoft/graph/generated/models/OnVerifiedIdClaimValidationCustomExtensionHandler.java new file mode 100644 index 00000000000..ec6eb90a209 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/OnVerifiedIdClaimValidationCustomExtensionHandler.java @@ -0,0 +1,79 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class OnVerifiedIdClaimValidationCustomExtensionHandler extends OnVerifiedIdClaimValidationHandler implements Parsable { + /** + * Instantiates a new {@link OnVerifiedIdClaimValidationCustomExtensionHandler} and sets the default values. + */ + public OnVerifiedIdClaimValidationCustomExtensionHandler() { + super(); + this.setOdataType("#microsoft.graph.onVerifiedIdClaimValidationCustomExtensionHandler"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link OnVerifiedIdClaimValidationCustomExtensionHandler} + */ + @jakarta.annotation.Nonnull + public static OnVerifiedIdClaimValidationCustomExtensionHandler createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new OnVerifiedIdClaimValidationCustomExtensionHandler(); + } + /** + * Gets the configuration property value. Configuration that overrides the default settings from the referenced custom extension, such as timeout and retry values. Optional. + * @return a {@link CustomExtensionOverwriteConfiguration} + */ + @jakarta.annotation.Nullable + public CustomExtensionOverwriteConfiguration getConfiguration() { + return this.backingStore.get("configuration"); + } + /** + * Gets the customExtension property value. The customExtension property + * @return a {@link OnVerifiedIdClaimValidationCustomExtension} + */ + @jakarta.annotation.Nullable + public OnVerifiedIdClaimValidationCustomExtension getCustomExtension() { + return this.backingStore.get("customExtension"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("configuration", (n) -> { this.setConfiguration(n.getObjectValue(CustomExtensionOverwriteConfiguration::createFromDiscriminatorValue)); }); + deserializerMap.put("customExtension", (n) -> { this.setCustomExtension(n.getObjectValue(OnVerifiedIdClaimValidationCustomExtension::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeObjectValue("configuration", this.getConfiguration()); + writer.writeObjectValue("customExtension", this.getCustomExtension()); + } + /** + * Sets the configuration property value. Configuration that overrides the default settings from the referenced custom extension, such as timeout and retry values. Optional. + * @param value Value to set for the configuration property. + */ + public void setConfiguration(@jakarta.annotation.Nullable final CustomExtensionOverwriteConfiguration value) { + this.backingStore.set("configuration", value); + } + /** + * Sets the customExtension property value. The customExtension property + * @param value Value to set for the customExtension property. + */ + public void setCustomExtension(@jakarta.annotation.Nullable final OnVerifiedIdClaimValidationCustomExtension value) { + this.backingStore.set("customExtension", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/OnVerifiedIdClaimValidationHandler.java b/src/main/java/com/microsoft/graph/generated/models/OnVerifiedIdClaimValidationHandler.java new file mode 100644 index 00000000000..a8dae48bb48 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/OnVerifiedIdClaimValidationHandler.java @@ -0,0 +1,114 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class OnVerifiedIdClaimValidationHandler implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link OnVerifiedIdClaimValidationHandler} and sets the default values. + */ + public OnVerifiedIdClaimValidationHandler() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link OnVerifiedIdClaimValidationHandler} + */ + @jakarta.annotation.Nonnull + public static OnVerifiedIdClaimValidationHandler createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.onVerifiedIdClaimValidationCustomExtensionHandler": return new OnVerifiedIdClaimValidationCustomExtensionHandler(); + } + } + return new OnVerifiedIdClaimValidationHandler(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/OnVerifiedIdClaimValidationListener.java b/src/main/java/com/microsoft/graph/generated/models/OnVerifiedIdClaimValidationListener.java new file mode 100644 index 00000000000..dbcc78b09a9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/OnVerifiedIdClaimValidationListener.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class OnVerifiedIdClaimValidationListener extends AuthenticationEventListener implements Parsable { + /** + * Instantiates a new {@link OnVerifiedIdClaimValidationListener} and sets the default values. + */ + public OnVerifiedIdClaimValidationListener() { + super(); + this.setOdataType("#microsoft.graph.onVerifiedIdClaimValidationListener"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link OnVerifiedIdClaimValidationListener} + */ + @jakarta.annotation.Nonnull + public static OnVerifiedIdClaimValidationListener createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new OnVerifiedIdClaimValidationListener(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("handler", (n) -> { this.setHandler(n.getObjectValue(OnVerifiedIdClaimValidationHandler::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the handler property value. Configuration for the handler to invoke when this listener is triggered. For Verified ID claim validation scenarios, this is typically an onVerifiedIdClaimValidationCustomExtensionHandler. + * @return a {@link OnVerifiedIdClaimValidationHandler} + */ + @jakarta.annotation.Nullable + public OnVerifiedIdClaimValidationHandler getHandler() { + return this.backingStore.get("handler"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeObjectValue("handler", this.getHandler()); + } + /** + * Sets the handler property value. Configuration for the handler to invoke when this listener is triggered. For Verified ID claim validation scenarios, this is typically an onVerifiedIdClaimValidationCustomExtensionHandler. + * @param value Value to set for the handler property. + */ + public void setHandler(@jakarta.annotation.Nullable final OnVerifiedIdClaimValidationHandler value) { + this.backingStore.set("handler", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/OneDriveForBusinessBrowseSession.java b/src/main/java/com/microsoft/graph/generated/models/OneDriveForBusinessBrowseSession.java new file mode 100644 index 00000000000..ea32afc1e43 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/OneDriveForBusinessBrowseSession.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class OneDriveForBusinessBrowseSession extends BrowseSessionBase implements Parsable { + /** + * Instantiates a new {@link OneDriveForBusinessBrowseSession} and sets the default values. + */ + public OneDriveForBusinessBrowseSession() { + super(); + this.setOdataType("#microsoft.graph.oneDriveForBusinessBrowseSession"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link OneDriveForBusinessBrowseSession} + */ + @jakarta.annotation.Nonnull + public static OneDriveForBusinessBrowseSession createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new OneDriveForBusinessBrowseSession(); + } + /** + * Gets the directoryObjectId property value. The directoryObjectId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDirectoryObjectId() { + return this.backingStore.get("directoryObjectId"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("directoryObjectId", (n) -> { this.setDirectoryObjectId(n.getStringValue()); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeStringValue("directoryObjectId", this.getDirectoryObjectId()); + } + /** + * Sets the directoryObjectId property value. The directoryObjectId property + * @param value Value to set for the directoryObjectId property. + */ + public void setDirectoryObjectId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("directoryObjectId", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/OneDriveForBusinessBrowseSessionCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/OneDriveForBusinessBrowseSessionCollectionResponse.java new file mode 100644 index 00000000000..04fcfb48986 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/OneDriveForBusinessBrowseSessionCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class OneDriveForBusinessBrowseSessionCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link OneDriveForBusinessBrowseSessionCollectionResponse} and sets the default values. + */ + public OneDriveForBusinessBrowseSessionCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link OneDriveForBusinessBrowseSessionCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static OneDriveForBusinessBrowseSessionCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new OneDriveForBusinessBrowseSessionCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(OneDriveForBusinessBrowseSession::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/OneDriveForBusinessRestoreSession.java b/src/main/java/com/microsoft/graph/generated/models/OneDriveForBusinessRestoreSession.java index 8df2c9c14c1..953fc1fdd91 100644 --- a/src/main/java/com/microsoft/graph/generated/models/OneDriveForBusinessRestoreSession.java +++ b/src/main/java/com/microsoft/graph/generated/models/OneDriveForBusinessRestoreSession.java @@ -50,8 +50,17 @@ public Map> getFieldDeserializers final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("driveRestoreArtifacts", (n) -> { this.setDriveRestoreArtifacts(n.getCollectionOfObjectValues(DriveRestoreArtifact::createFromDiscriminatorValue)); }); deserializerMap.put("driveRestoreArtifactsBulkAdditionRequests", (n) -> { this.setDriveRestoreArtifactsBulkAdditionRequests(n.getCollectionOfObjectValues(DriveRestoreArtifactsBulkAdditionRequest::createFromDiscriminatorValue)); }); + deserializerMap.put("granularDriveRestoreArtifacts", (n) -> { this.setGranularDriveRestoreArtifacts(n.getCollectionOfObjectValues(GranularDriveRestoreArtifact::createFromDiscriminatorValue)); }); return deserializerMap; } + /** + * Gets the granularDriveRestoreArtifacts property value. The granularDriveRestoreArtifacts property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getGranularDriveRestoreArtifacts() { + return this.backingStore.get("granularDriveRestoreArtifacts"); + } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model @@ -61,6 +70,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ super.serialize(writer); writer.writeCollectionOfObjectValues("driveRestoreArtifacts", this.getDriveRestoreArtifacts()); writer.writeCollectionOfObjectValues("driveRestoreArtifactsBulkAdditionRequests", this.getDriveRestoreArtifactsBulkAdditionRequests()); + writer.writeCollectionOfObjectValues("granularDriveRestoreArtifacts", this.getGranularDriveRestoreArtifacts()); } /** * Sets the driveRestoreArtifacts property value. A collection of restore points and destination details that can be used to restore a OneDrive for work or school drive. @@ -76,4 +86,11 @@ public void setDriveRestoreArtifacts(@jakarta.annotation.Nullable final java.uti public void setDriveRestoreArtifactsBulkAdditionRequests(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("driveRestoreArtifactsBulkAdditionRequests", value); } + /** + * Sets the granularDriveRestoreArtifacts property value. The granularDriveRestoreArtifacts property + * @param value Value to set for the granularDriveRestoreArtifacts property. + */ + public void setGranularDriveRestoreArtifacts(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("granularDriveRestoreArtifacts", value); + } } diff --git a/src/main/java/com/microsoft/graph/generated/models/OwnerlessGroupPolicy.java b/src/main/java/com/microsoft/graph/generated/models/OwnerlessGroupPolicy.java new file mode 100644 index 00000000000..ecd8ac0be3d --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/OwnerlessGroupPolicy.java @@ -0,0 +1,163 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class OwnerlessGroupPolicy extends Entity implements Parsable { + /** + * Instantiates a new {@link OwnerlessGroupPolicy} and sets the default values. + */ + public OwnerlessGroupPolicy() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link OwnerlessGroupPolicy} + */ + @jakarta.annotation.Nonnull + public static OwnerlessGroupPolicy createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new OwnerlessGroupPolicy(); + } + /** + * Gets the emailInfo property value. The emailInfo property + * @return a {@link EmailDetails} + */ + @jakarta.annotation.Nullable + public EmailDetails getEmailInfo() { + return this.backingStore.get("emailInfo"); + } + /** + * Gets the enabledGroupIds property value. The enabledGroupIds property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getEnabledGroupIds() { + return this.backingStore.get("enabledGroupIds"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("emailInfo", (n) -> { this.setEmailInfo(n.getObjectValue(EmailDetails::createFromDiscriminatorValue)); }); + deserializerMap.put("enabledGroupIds", (n) -> { this.setEnabledGroupIds(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("isEnabled", (n) -> { this.setIsEnabled(n.getBooleanValue()); }); + deserializerMap.put("maxMembersToNotify", (n) -> { this.setMaxMembersToNotify(n.getLongValue()); }); + deserializerMap.put("notificationDurationInWeeks", (n) -> { this.setNotificationDurationInWeeks(n.getLongValue()); }); + deserializerMap.put("policyWebUrl", (n) -> { this.setPolicyWebUrl(n.getStringValue()); }); + deserializerMap.put("targetOwners", (n) -> { this.setTargetOwners(n.getObjectValue(TargetOwners::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the isEnabled property value. The isEnabled property + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsEnabled() { + return this.backingStore.get("isEnabled"); + } + /** + * Gets the maxMembersToNotify property value. The maxMembersToNotify property + * @return a {@link Long} + */ + @jakarta.annotation.Nullable + public Long getMaxMembersToNotify() { + return this.backingStore.get("maxMembersToNotify"); + } + /** + * Gets the notificationDurationInWeeks property value. The notificationDurationInWeeks property + * @return a {@link Long} + */ + @jakarta.annotation.Nullable + public Long getNotificationDurationInWeeks() { + return this.backingStore.get("notificationDurationInWeeks"); + } + /** + * Gets the policyWebUrl property value. The policyWebUrl property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getPolicyWebUrl() { + return this.backingStore.get("policyWebUrl"); + } + /** + * Gets the targetOwners property value. The targetOwners property + * @return a {@link TargetOwners} + */ + @jakarta.annotation.Nullable + public TargetOwners getTargetOwners() { + return this.backingStore.get("targetOwners"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeObjectValue("emailInfo", this.getEmailInfo()); + writer.writeCollectionOfPrimitiveValues("enabledGroupIds", this.getEnabledGroupIds()); + writer.writeBooleanValue("isEnabled", this.getIsEnabled()); + writer.writeLongValue("maxMembersToNotify", this.getMaxMembersToNotify()); + writer.writeLongValue("notificationDurationInWeeks", this.getNotificationDurationInWeeks()); + writer.writeStringValue("policyWebUrl", this.getPolicyWebUrl()); + writer.writeObjectValue("targetOwners", this.getTargetOwners()); + } + /** + * Sets the emailInfo property value. The emailInfo property + * @param value Value to set for the emailInfo property. + */ + public void setEmailInfo(@jakarta.annotation.Nullable final EmailDetails value) { + this.backingStore.set("emailInfo", value); + } + /** + * Sets the enabledGroupIds property value. The enabledGroupIds property + * @param value Value to set for the enabledGroupIds property. + */ + public void setEnabledGroupIds(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("enabledGroupIds", value); + } + /** + * Sets the isEnabled property value. The isEnabled property + * @param value Value to set for the isEnabled property. + */ + public void setIsEnabled(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isEnabled", value); + } + /** + * Sets the maxMembersToNotify property value. The maxMembersToNotify property + * @param value Value to set for the maxMembersToNotify property. + */ + public void setMaxMembersToNotify(@jakarta.annotation.Nullable final Long value) { + this.backingStore.set("maxMembersToNotify", value); + } + /** + * Sets the notificationDurationInWeeks property value. The notificationDurationInWeeks property + * @param value Value to set for the notificationDurationInWeeks property. + */ + public void setNotificationDurationInWeeks(@jakarta.annotation.Nullable final Long value) { + this.backingStore.set("notificationDurationInWeeks", value); + } + /** + * Sets the policyWebUrl property value. The policyWebUrl property + * @param value Value to set for the policyWebUrl property. + */ + public void setPolicyWebUrl(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("policyWebUrl", value); + } + /** + * Sets the targetOwners property value. The targetOwners property + * @param value Value to set for the targetOwners property. + */ + public void setTargetOwners(@jakarta.annotation.Nullable final TargetOwners value) { + this.backingStore.set("targetOwners", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/PolicyRoot.java b/src/main/java/com/microsoft/graph/generated/models/PolicyRoot.java index 32bf709d8a9..4ae9e601cf3 100644 --- a/src/main/java/com/microsoft/graph/generated/models/PolicyRoot.java +++ b/src/main/java/com/microsoft/graph/generated/models/PolicyRoot.java @@ -150,6 +150,7 @@ public Map> getFieldDeserializers deserializerMap.put("featureRolloutPolicies", (n) -> { this.setFeatureRolloutPolicies(n.getCollectionOfObjectValues(FeatureRolloutPolicy::createFromDiscriminatorValue)); }); deserializerMap.put("homeRealmDiscoveryPolicies", (n) -> { this.setHomeRealmDiscoveryPolicies(n.getCollectionOfObjectValues(HomeRealmDiscoveryPolicy::createFromDiscriminatorValue)); }); deserializerMap.put("identitySecurityDefaultsEnforcementPolicy", (n) -> { this.setIdentitySecurityDefaultsEnforcementPolicy(n.getObjectValue(IdentitySecurityDefaultsEnforcementPolicy::createFromDiscriminatorValue)); }); + deserializerMap.put("ownerlessGroupPolicy", (n) -> { this.setOwnerlessGroupPolicy(n.getObjectValue(OwnerlessGroupPolicy::createFromDiscriminatorValue)); }); deserializerMap.put("permissionGrantPolicies", (n) -> { this.setPermissionGrantPolicies(n.getCollectionOfObjectValues(PermissionGrantPolicy::createFromDiscriminatorValue)); }); deserializerMap.put("roleManagementPolicies", (n) -> { this.setRoleManagementPolicies(n.getCollectionOfObjectValues(UnifiedRoleManagementPolicy::createFromDiscriminatorValue)); }); deserializerMap.put("roleManagementPolicyAssignments", (n) -> { this.setRoleManagementPolicyAssignments(n.getCollectionOfObjectValues(UnifiedRoleManagementPolicyAssignment::createFromDiscriminatorValue)); }); @@ -173,6 +174,14 @@ public java.util.List getHomeRealmDiscoveryPolicies() public IdentitySecurityDefaultsEnforcementPolicy getIdentitySecurityDefaultsEnforcementPolicy() { return this.backingStore.get("identitySecurityDefaultsEnforcementPolicy"); } + /** + * Gets the ownerlessGroupPolicy property value. The ownerlessGroupPolicy property + * @return a {@link OwnerlessGroupPolicy} + */ + @jakarta.annotation.Nullable + public OwnerlessGroupPolicy getOwnerlessGroupPolicy() { + return this.backingStore.get("ownerlessGroupPolicy"); + } /** * Gets the permissionGrantPolicies property value. The policy that specifies the conditions under which consent can be granted. * @return a {@link java.util.List} @@ -235,6 +244,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("featureRolloutPolicies", this.getFeatureRolloutPolicies()); writer.writeCollectionOfObjectValues("homeRealmDiscoveryPolicies", this.getHomeRealmDiscoveryPolicies()); writer.writeObjectValue("identitySecurityDefaultsEnforcementPolicy", this.getIdentitySecurityDefaultsEnforcementPolicy()); + writer.writeObjectValue("ownerlessGroupPolicy", this.getOwnerlessGroupPolicy()); writer.writeCollectionOfObjectValues("permissionGrantPolicies", this.getPermissionGrantPolicies()); writer.writeCollectionOfObjectValues("roleManagementPolicies", this.getRoleManagementPolicies()); writer.writeCollectionOfObjectValues("roleManagementPolicyAssignments", this.getRoleManagementPolicyAssignments()); @@ -346,6 +356,13 @@ public void setHomeRealmDiscoveryPolicies(@jakarta.annotation.Nullable final jav public void setIdentitySecurityDefaultsEnforcementPolicy(@jakarta.annotation.Nullable final IdentitySecurityDefaultsEnforcementPolicy value) { this.backingStore.set("identitySecurityDefaultsEnforcementPolicy", value); } + /** + * Sets the ownerlessGroupPolicy property value. The ownerlessGroupPolicy property + * @param value Value to set for the ownerlessGroupPolicy property. + */ + public void setOwnerlessGroupPolicy(@jakarta.annotation.Nullable final OwnerlessGroupPolicy value) { + this.backingStore.set("ownerlessGroupPolicy", value); + } /** * Sets the permissionGrantPolicies property value. The policy that specifies the conditions under which consent can be granted. * @param value Value to set for the permissionGrantPolicies property. diff --git a/src/main/java/com/microsoft/graph/generated/models/RestoreJobType.java b/src/main/java/com/microsoft/graph/generated/models/RestoreJobType.java index 669d35b0245..a5087423935 100644 --- a/src/main/java/com/microsoft/graph/generated/models/RestoreJobType.java +++ b/src/main/java/com/microsoft/graph/generated/models/RestoreJobType.java @@ -7,7 +7,8 @@ public enum RestoreJobType implements ValuedEnum { Standard("standard"), Bulk("bulk"), - UnknownFutureValue("unknownFutureValue"); + UnknownFutureValue("unknownFutureValue"), + Granular("granular"); public final String value; RestoreJobType(final String value) { this.value = value; @@ -21,6 +22,7 @@ public static RestoreJobType forValue(@jakarta.annotation.Nonnull final String s case "standard": return Standard; case "bulk": return Bulk; case "unknownFutureValue": return UnknownFutureValue; + case "granular": return Granular; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/generated/models/RiskDetail.java b/src/main/java/com/microsoft/graph/generated/models/RiskDetail.java index e7c3232dd55..22b3d0b4ca3 100644 --- a/src/main/java/com/microsoft/graph/generated/models/RiskDetail.java +++ b/src/main/java/com/microsoft/graph/generated/models/RiskDetail.java @@ -22,7 +22,8 @@ public enum RiskDetail implements ValuedEnum { AdminDismissedAllRiskForServicePrincipal("adminDismissedAllRiskForServicePrincipal"), UserChangedPasswordOnPremises("userChangedPasswordOnPremises"), AdminDismissedRiskForSignIn("adminDismissedRiskForSignIn"), - AdminConfirmedAccountSafe("adminConfirmedAccountSafe"); + AdminConfirmedAccountSafe("adminConfirmedAccountSafe"), + MicrosoftRevokedSessions("microsoftRevokedSessions"); public final String value; RiskDetail(final String value) { this.value = value; @@ -51,6 +52,7 @@ public static RiskDetail forValue(@jakarta.annotation.Nonnull final String searc case "userChangedPasswordOnPremises": return UserChangedPasswordOnPremises; case "adminDismissedRiskForSignIn": return AdminDismissedRiskForSignIn; case "adminConfirmedAccountSafe": return AdminConfirmedAccountSafe; + case "microsoftRevokedSessions": return MicrosoftRevokedSessions; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/generated/models/SharePointBrowseSession.java b/src/main/java/com/microsoft/graph/generated/models/SharePointBrowseSession.java new file mode 100644 index 00000000000..a5818a6aecb --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/SharePointBrowseSession.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SharePointBrowseSession extends BrowseSessionBase implements Parsable { + /** + * Instantiates a new {@link SharePointBrowseSession} and sets the default values. + */ + public SharePointBrowseSession() { + super(); + this.setOdataType("#microsoft.graph.sharePointBrowseSession"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link SharePointBrowseSession} + */ + @jakarta.annotation.Nonnull + public static SharePointBrowseSession createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new SharePointBrowseSession(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("siteId", (n) -> { this.setSiteId(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the siteId property value. The siteId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getSiteId() { + return this.backingStore.get("siteId"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeStringValue("siteId", this.getSiteId()); + } + /** + * Sets the siteId property value. The siteId property + * @param value Value to set for the siteId property. + */ + public void setSiteId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("siteId", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/SharePointBrowseSessionCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/SharePointBrowseSessionCollectionResponse.java new file mode 100644 index 00000000000..2a4b3ce8801 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/SharePointBrowseSessionCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SharePointBrowseSessionCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link SharePointBrowseSessionCollectionResponse} and sets the default values. + */ + public SharePointBrowseSessionCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link SharePointBrowseSessionCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static SharePointBrowseSessionCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new SharePointBrowseSessionCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(SharePointBrowseSession::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/SharePointGroup.java b/src/main/java/com/microsoft/graph/generated/models/SharePointGroup.java index 514114820f3..4fcd6e49372 100644 --- a/src/main/java/com/microsoft/graph/generated/models/SharePointGroup.java +++ b/src/main/java/com/microsoft/graph/generated/models/SharePointGroup.java @@ -25,7 +25,7 @@ public static SharePointGroup createFromDiscriminatorValue(@jakarta.annotation.N return new SharePointGroup(); } /** - * Gets the description property value. The description property + * Gets the description property value. The user-visible description of the sharePointGroup. Read-write. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -46,7 +46,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the members property value. The members property + * Gets the members property value. The set of members in the sharePointGroup. Read-write. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public java.util.List getMembers() { return this.backingStore.get("members"); } /** - * Gets the principalId property value. The principalId property + * Gets the principalId property value. The principal ID of the SharePoint group in the tenant. Read-only. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -62,7 +62,7 @@ public String getPrincipalId() { return this.backingStore.get("principalId"); } /** - * Gets the title property value. The title property + * Gets the title property value. The user-visible title of the sharePointGroup. Read-write. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -82,28 +82,28 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("title", this.getTitle()); } /** - * Sets the description property value. The description property + * Sets the description property value. The user-visible description of the sharePointGroup. Read-write. * @param value Value to set for the description property. */ public void setDescription(@jakarta.annotation.Nullable final String value) { this.backingStore.set("description", value); } /** - * Sets the members property value. The members property + * Sets the members property value. The set of members in the sharePointGroup. Read-write. * @param value Value to set for the members property. */ public void setMembers(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("members", value); } /** - * Sets the principalId property value. The principalId property + * Sets the principalId property value. The principal ID of the SharePoint group in the tenant. Read-only. * @param value Value to set for the principalId property. */ public void setPrincipalId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("principalId", value); } /** - * Sets the title property value. The title property + * Sets the title property value. The user-visible title of the sharePointGroup. Read-write. * @param value Value to set for the title property. */ public void setTitle(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/SharePointGroupIdentity.java b/src/main/java/com/microsoft/graph/generated/models/SharePointGroupIdentity.java index 7dcb20ecbf4..01a67e2eeff 100644 --- a/src/main/java/com/microsoft/graph/generated/models/SharePointGroupIdentity.java +++ b/src/main/java/com/microsoft/graph/generated/models/SharePointGroupIdentity.java @@ -37,7 +37,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the principalId property value. The principalId property + * Gets the principalId property value. The principal ID of the SharePoint group in the tenant. Read-only. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -45,7 +45,7 @@ public String getPrincipalId() { return this.backingStore.get("principalId"); } /** - * Gets the title property value. The title property + * Gets the title property value. The title of the SharePoint group. Read-only. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -63,14 +63,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("title", this.getTitle()); } /** - * Sets the principalId property value. The principalId property + * Sets the principalId property value. The principal ID of the SharePoint group in the tenant. Read-only. * @param value Value to set for the principalId property. */ public void setPrincipalId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("principalId", value); } /** - * Sets the title property value. The title property + * Sets the title property value. The title of the SharePoint group. Read-only. * @param value Value to set for the title property. */ public void setTitle(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/SharePointGroupMember.java b/src/main/java/com/microsoft/graph/generated/models/SharePointGroupMember.java index 55885330693..8d21a04f347 100644 --- a/src/main/java/com/microsoft/graph/generated/models/SharePointGroupMember.java +++ b/src/main/java/com/microsoft/graph/generated/models/SharePointGroupMember.java @@ -35,7 +35,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the identity property value. The identity property + * Gets the identity property value. The identity represented by the sharePointGroupMember object. * @return a {@link SharePointIdentitySet} */ @jakarta.annotation.Nullable @@ -52,7 +52,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("identity", this.getIdentity()); } /** - * Sets the identity property value. The identity property + * Sets the identity property value. The identity represented by the sharePointGroupMember object. * @param value Value to set for the identity property. */ public void setIdentity(@jakarta.annotation.Nullable final SharePointIdentitySet value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/SharePointIdentitySet.java b/src/main/java/com/microsoft/graph/generated/models/SharePointIdentitySet.java index cc928bbdfab..dd6eeab380c 100644 --- a/src/main/java/com/microsoft/graph/generated/models/SharePointIdentitySet.java +++ b/src/main/java/com/microsoft/graph/generated/models/SharePointIdentitySet.java @@ -47,7 +47,7 @@ public Identity getGroup() { return this.backingStore.get("group"); } /** - * Gets the sharePointGroup property value. The sharePointGroup property + * Gets the sharePointGroup property value. The SharePoint group associated with this action, identified by a globally unique ID. Use this property instead of siteGroup when available. Optional. * @return a {@link SharePointGroupIdentity} */ @jakarta.annotation.Nullable @@ -55,7 +55,7 @@ public SharePointGroupIdentity getSharePointGroup() { return this.backingStore.get("sharePointGroup"); } /** - * Gets the siteGroup property value. The SharePoint group associated with this action. Optional. + * Gets the siteGroup property value. The SharePoint group associated with this action, identified by a principal ID that is unique only within the site. Optional. * @return a {@link SharePointIdentity} */ @jakarta.annotation.Nullable @@ -90,14 +90,14 @@ public void setGroup(@jakarta.annotation.Nullable final Identity value) { this.backingStore.set("group", value); } /** - * Sets the sharePointGroup property value. The sharePointGroup property + * Sets the sharePointGroup property value. The SharePoint group associated with this action, identified by a globally unique ID. Use this property instead of siteGroup when available. Optional. * @param value Value to set for the sharePointGroup property. */ public void setSharePointGroup(@jakarta.annotation.Nullable final SharePointGroupIdentity value) { this.backingStore.set("sharePointGroup", value); } /** - * Sets the siteGroup property value. The SharePoint group associated with this action. Optional. + * Sets the siteGroup property value. The SharePoint group associated with this action, identified by a principal ID that is unique only within the site. Optional. * @param value Value to set for the siteGroup property. */ public void setSiteGroup(@jakarta.annotation.Nullable final SharePointIdentity value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/SharePointRestoreSession.java b/src/main/java/com/microsoft/graph/generated/models/SharePointRestoreSession.java index 879dbd80482..a449d1d5ba7 100644 --- a/src/main/java/com/microsoft/graph/generated/models/SharePointRestoreSession.java +++ b/src/main/java/com/microsoft/graph/generated/models/SharePointRestoreSession.java @@ -32,10 +32,19 @@ public static SharePointRestoreSession createFromDiscriminatorValue(@jakarta.ann @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("granularSiteRestoreArtifacts", (n) -> { this.setGranularSiteRestoreArtifacts(n.getCollectionOfObjectValues(GranularSiteRestoreArtifact::createFromDiscriminatorValue)); }); deserializerMap.put("siteRestoreArtifacts", (n) -> { this.setSiteRestoreArtifacts(n.getCollectionOfObjectValues(SiteRestoreArtifact::createFromDiscriminatorValue)); }); deserializerMap.put("siteRestoreArtifactsBulkAdditionRequests", (n) -> { this.setSiteRestoreArtifactsBulkAdditionRequests(n.getCollectionOfObjectValues(SiteRestoreArtifactsBulkAdditionRequest::createFromDiscriminatorValue)); }); return deserializerMap; } + /** + * Gets the granularSiteRestoreArtifacts property value. The granularSiteRestoreArtifacts property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getGranularSiteRestoreArtifacts() { + return this.backingStore.get("granularSiteRestoreArtifacts"); + } /** * Gets the siteRestoreArtifacts property value. A collection of restore points and destination details that can be used to restore SharePoint sites. * @return a {@link java.util.List} @@ -59,9 +68,17 @@ public java.util.List getSiteRestoreArt public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); super.serialize(writer); + writer.writeCollectionOfObjectValues("granularSiteRestoreArtifacts", this.getGranularSiteRestoreArtifacts()); writer.writeCollectionOfObjectValues("siteRestoreArtifacts", this.getSiteRestoreArtifacts()); writer.writeCollectionOfObjectValues("siteRestoreArtifactsBulkAdditionRequests", this.getSiteRestoreArtifactsBulkAdditionRequests()); } + /** + * Sets the granularSiteRestoreArtifacts property value. The granularSiteRestoreArtifacts property + * @param value Value to set for the granularSiteRestoreArtifacts property. + */ + public void setGranularSiteRestoreArtifacts(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("granularSiteRestoreArtifacts", value); + } /** * Sets the siteRestoreArtifacts property value. A collection of restore points and destination details that can be used to restore SharePoint sites. * @param value Value to set for the siteRestoreArtifacts property. diff --git a/src/main/java/com/microsoft/graph/generated/models/TargetOwners.java b/src/main/java/com/microsoft/graph/generated/models/TargetOwners.java new file mode 100644 index 00000000000..5cce298ff2a --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/TargetOwners.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class TargetOwners implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link TargetOwners} and sets the default values. + */ + public TargetOwners() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link TargetOwners} + */ + @jakarta.annotation.Nonnull + public static TargetOwners createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new TargetOwners(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("notifyMembers", (n) -> { this.setNotifyMembers(n.getEnumValue(NotifyMembers::forValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("securityGroups", (n) -> { this.setSecurityGroups(n.getCollectionOfPrimitiveValues(String.class)); }); + return deserializerMap; + } + /** + * Gets the notifyMembers property value. The notifyMembers property + * @return a {@link NotifyMembers} + */ + @jakarta.annotation.Nullable + public NotifyMembers getNotifyMembers() { + return this.backingStore.get("notifyMembers"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the securityGroups property value. The securityGroups property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getSecurityGroups() { + return this.backingStore.get("securityGroups"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeEnumValue("notifyMembers", this.getNotifyMembers()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeCollectionOfPrimitiveValues("securityGroups", this.getSecurityGroups()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the notifyMembers property value. The notifyMembers property + * @param value Value to set for the notifyMembers property. + */ + public void setNotifyMembers(@jakarta.annotation.Nullable final NotifyMembers value) { + this.backingStore.set("notifyMembers", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the securityGroups property value. The securityGroups property + * @param value Value to set for the securityGroups property. + */ + public void setSecurityGroups(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("securityGroups", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/VerifiedIdProfile.java b/src/main/java/com/microsoft/graph/generated/models/VerifiedIdProfile.java new file mode 100644 index 00000000000..c1c3ca8f4b5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/VerifiedIdProfile.java @@ -0,0 +1,198 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class VerifiedIdProfile extends Entity implements Parsable { + /** + * Instantiates a new {@link VerifiedIdProfile} and sets the default values. + */ + public VerifiedIdProfile() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link VerifiedIdProfile} + */ + @jakarta.annotation.Nonnull + public static VerifiedIdProfile createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new VerifiedIdProfile(); + } + /** + * Gets the description property value. Description for the verified ID profile. Required. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDescription() { + return this.backingStore.get("description"); + } + /** + * Gets the faceCheckConfiguration property value. The faceCheckConfiguration property + * @return a {@link FaceCheckConfiguration} + */ + @jakarta.annotation.Nullable + public FaceCheckConfiguration getFaceCheckConfiguration() { + return this.backingStore.get("faceCheckConfiguration"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("description", (n) -> { this.setDescription(n.getStringValue()); }); + deserializerMap.put("faceCheckConfiguration", (n) -> { this.setFaceCheckConfiguration(n.getObjectValue(FaceCheckConfiguration::createFromDiscriminatorValue)); }); + deserializerMap.put("lastModifiedDateTime", (n) -> { this.setLastModifiedDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("name", (n) -> { this.setName(n.getStringValue()); }); + deserializerMap.put("priority", (n) -> { this.setPriority(n.getIntegerValue()); }); + deserializerMap.put("state", (n) -> { this.setState(n.getEnumValue(VerifiedIdProfileState::forValue)); }); + deserializerMap.put("verifiedIdProfileConfiguration", (n) -> { this.setVerifiedIdProfileConfiguration(n.getObjectValue(VerifiedIdProfileConfiguration::createFromDiscriminatorValue)); }); + deserializerMap.put("verifiedIdUsageConfigurations", (n) -> { this.setVerifiedIdUsageConfigurations(n.getCollectionOfObjectValues(VerifiedIdUsageConfiguration::createFromDiscriminatorValue)); }); + deserializerMap.put("verifierDid", (n) -> { this.setVerifierDid(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the lastModifiedDateTime property value. DateTime the profile was last modified. Optional. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getLastModifiedDateTime() { + return this.backingStore.get("lastModifiedDateTime"); + } + /** + * Gets the name property value. Display name for the verified ID profile. Required. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getName() { + return this.backingStore.get("name"); + } + /** + * Gets the priority property value. Defines profile processing priority if multiple profiles are configured. Optional. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getPriority() { + return this.backingStore.get("priority"); + } + /** + * Gets the state property value. The state property + * @return a {@link VerifiedIdProfileState} + */ + @jakarta.annotation.Nullable + public VerifiedIdProfileState getState() { + return this.backingStore.get("state"); + } + /** + * Gets the verifiedIdProfileConfiguration property value. The verifiedIdProfileConfiguration property + * @return a {@link VerifiedIdProfileConfiguration} + */ + @jakarta.annotation.Nullable + public VerifiedIdProfileConfiguration getVerifiedIdProfileConfiguration() { + return this.backingStore.get("verifiedIdProfileConfiguration"); + } + /** + * Gets the verifiedIdUsageConfigurations property value. Collection defining the usage purpose for the profile. Required. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getVerifiedIdUsageConfigurations() { + return this.backingStore.get("verifiedIdUsageConfigurations"); + } + /** + * Gets the verifierDid property value. Decentralized Identifier (DID) string that represents the verifier in the verifiable credential exchange. Required. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getVerifierDid() { + return this.backingStore.get("verifierDid"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeStringValue("description", this.getDescription()); + writer.writeObjectValue("faceCheckConfiguration", this.getFaceCheckConfiguration()); + writer.writeOffsetDateTimeValue("lastModifiedDateTime", this.getLastModifiedDateTime()); + writer.writeStringValue("name", this.getName()); + writer.writeIntegerValue("priority", this.getPriority()); + writer.writeEnumValue("state", this.getState()); + writer.writeObjectValue("verifiedIdProfileConfiguration", this.getVerifiedIdProfileConfiguration()); + writer.writeCollectionOfObjectValues("verifiedIdUsageConfigurations", this.getVerifiedIdUsageConfigurations()); + writer.writeStringValue("verifierDid", this.getVerifierDid()); + } + /** + * Sets the description property value. Description for the verified ID profile. Required. + * @param value Value to set for the description property. + */ + public void setDescription(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("description", value); + } + /** + * Sets the faceCheckConfiguration property value. The faceCheckConfiguration property + * @param value Value to set for the faceCheckConfiguration property. + */ + public void setFaceCheckConfiguration(@jakarta.annotation.Nullable final FaceCheckConfiguration value) { + this.backingStore.set("faceCheckConfiguration", value); + } + /** + * Sets the lastModifiedDateTime property value. DateTime the profile was last modified. Optional. + * @param value Value to set for the lastModifiedDateTime property. + */ + public void setLastModifiedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("lastModifiedDateTime", value); + } + /** + * Sets the name property value. Display name for the verified ID profile. Required. + * @param value Value to set for the name property. + */ + public void setName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("name", value); + } + /** + * Sets the priority property value. Defines profile processing priority if multiple profiles are configured. Optional. + * @param value Value to set for the priority property. + */ + public void setPriority(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("priority", value); + } + /** + * Sets the state property value. The state property + * @param value Value to set for the state property. + */ + public void setState(@jakarta.annotation.Nullable final VerifiedIdProfileState value) { + this.backingStore.set("state", value); + } + /** + * Sets the verifiedIdProfileConfiguration property value. The verifiedIdProfileConfiguration property + * @param value Value to set for the verifiedIdProfileConfiguration property. + */ + public void setVerifiedIdProfileConfiguration(@jakarta.annotation.Nullable final VerifiedIdProfileConfiguration value) { + this.backingStore.set("verifiedIdProfileConfiguration", value); + } + /** + * Sets the verifiedIdUsageConfigurations property value. Collection defining the usage purpose for the profile. Required. + * @param value Value to set for the verifiedIdUsageConfigurations property. + */ + public void setVerifiedIdUsageConfigurations(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("verifiedIdUsageConfigurations", value); + } + /** + * Sets the verifierDid property value. Decentralized Identifier (DID) string that represents the verifier in the verifiable credential exchange. Required. + * @param value Value to set for the verifierDid property. + */ + public void setVerifierDid(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("verifierDid", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/VerifiedIdProfileCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/VerifiedIdProfileCollectionResponse.java new file mode 100644 index 00000000000..3ec5f1103be --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/VerifiedIdProfileCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class VerifiedIdProfileCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link VerifiedIdProfileCollectionResponse} and sets the default values. + */ + public VerifiedIdProfileCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link VerifiedIdProfileCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static VerifiedIdProfileCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new VerifiedIdProfileCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(VerifiedIdProfile::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/VerifiedIdProfileConfiguration.java b/src/main/java/com/microsoft/graph/generated/models/VerifiedIdProfileConfiguration.java new file mode 100644 index 00000000000..bdc13178058 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/VerifiedIdProfileConfiguration.java @@ -0,0 +1,192 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class VerifiedIdProfileConfiguration implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link VerifiedIdProfileConfiguration} and sets the default values. + */ + public VerifiedIdProfileConfiguration() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link VerifiedIdProfileConfiguration} + */ + @jakarta.annotation.Nonnull + public static VerifiedIdProfileConfiguration createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new VerifiedIdProfileConfiguration(); + } + /** + * Gets the acceptedIssuer property value. Trusted Verified ID issuer. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAcceptedIssuer() { + return this.backingStore.get("acceptedIssuer"); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the claimBindings property value. Claim bindings from Verified ID to source attributes. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getClaimBindings() { + return this.backingStore.get("claimBindings"); + } + /** + * Gets the claimBindingSource property value. The claimBindingSource property + * @return a {@link ClaimBindingSource} + */ + @jakarta.annotation.Nullable + public ClaimBindingSource getClaimBindingSource() { + return this.backingStore.get("claimBindingSource"); + } + /** + * Gets the claimValidation property value. The claimValidation property + * @return a {@link ClaimValidation} + */ + @jakarta.annotation.Nullable + public ClaimValidation getClaimValidation() { + return this.backingStore.get("claimValidation"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(6); + deserializerMap.put("acceptedIssuer", (n) -> { this.setAcceptedIssuer(n.getStringValue()); }); + deserializerMap.put("claimBindings", (n) -> { this.setClaimBindings(n.getCollectionOfObjectValues(ClaimBinding::createFromDiscriminatorValue)); }); + deserializerMap.put("claimBindingSource", (n) -> { this.setClaimBindingSource(n.getEnumValue(ClaimBindingSource::forValue)); }); + deserializerMap.put("claimValidation", (n) -> { this.setClaimValidation(n.getObjectValue(ClaimValidation::createFromDiscriminatorValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("type", (n) -> { this.setType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the type property value. Verified ID type. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getType() { + return this.backingStore.get("type"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("acceptedIssuer", this.getAcceptedIssuer()); + writer.writeCollectionOfObjectValues("claimBindings", this.getClaimBindings()); + writer.writeEnumValue("claimBindingSource", this.getClaimBindingSource()); + writer.writeObjectValue("claimValidation", this.getClaimValidation()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("type", this.getType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the acceptedIssuer property value. Trusted Verified ID issuer. + * @param value Value to set for the acceptedIssuer property. + */ + public void setAcceptedIssuer(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("acceptedIssuer", value); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the claimBindings property value. Claim bindings from Verified ID to source attributes. + * @param value Value to set for the claimBindings property. + */ + public void setClaimBindings(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("claimBindings", value); + } + /** + * Sets the claimBindingSource property value. The claimBindingSource property + * @param value Value to set for the claimBindingSource property. + */ + public void setClaimBindingSource(@jakarta.annotation.Nullable final ClaimBindingSource value) { + this.backingStore.set("claimBindingSource", value); + } + /** + * Sets the claimValidation property value. The claimValidation property + * @param value Value to set for the claimValidation property. + */ + public void setClaimValidation(@jakarta.annotation.Nullable final ClaimValidation value) { + this.backingStore.set("claimValidation", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the type property value. Verified ID type. + * @param value Value to set for the type property. + */ + public void setType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("type", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/VerifiedIdProfileState.java b/src/main/java/com/microsoft/graph/generated/models/VerifiedIdProfileState.java new file mode 100644 index 00000000000..13d8ec623f5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/VerifiedIdProfileState.java @@ -0,0 +1,27 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum VerifiedIdProfileState implements ValuedEnum { + Enabled("enabled"), + Disabled("disabled"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + VerifiedIdProfileState(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static VerifiedIdProfileState forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "enabled": return Enabled; + case "disabled": return Disabled; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/VerifiedIdUsageConfiguration.java b/src/main/java/com/microsoft/graph/generated/models/VerifiedIdUsageConfiguration.java new file mode 100644 index 00000000000..182538c02e9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/VerifiedIdUsageConfiguration.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class VerifiedIdUsageConfiguration implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link VerifiedIdUsageConfiguration} and sets the default values. + */ + public VerifiedIdUsageConfiguration() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link VerifiedIdUsageConfiguration} + */ + @jakarta.annotation.Nonnull + public static VerifiedIdUsageConfiguration createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new VerifiedIdUsageConfiguration(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("isEnabledForTestOnly", (n) -> { this.setIsEnabledForTestOnly(n.getBooleanValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("purpose", (n) -> { this.setPurpose(n.getEnumValue(VerifiedIdUsageConfigurationPurpose::forValue)); }); + return deserializerMap; + } + /** + * Gets the isEnabledForTestOnly property value. Sets profile usage for evaluation (test-only) or production. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsEnabledForTestOnly() { + return this.backingStore.get("isEnabledForTestOnly"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the purpose property value. The purpose property + * @return a {@link VerifiedIdUsageConfigurationPurpose} + */ + @jakarta.annotation.Nullable + public VerifiedIdUsageConfigurationPurpose getPurpose() { + return this.backingStore.get("purpose"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeBooleanValue("isEnabledForTestOnly", this.getIsEnabledForTestOnly()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeEnumValue("purpose", this.getPurpose()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the isEnabledForTestOnly property value. Sets profile usage for evaluation (test-only) or production. + * @param value Value to set for the isEnabledForTestOnly property. + */ + public void setIsEnabledForTestOnly(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isEnabledForTestOnly", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the purpose property value. The purpose property + * @param value Value to set for the purpose property. + */ + public void setPurpose(@jakarta.annotation.Nullable final VerifiedIdUsageConfigurationPurpose value) { + this.backingStore.set("purpose", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/VerifiedIdUsageConfigurationPurpose.java b/src/main/java/com/microsoft/graph/generated/models/VerifiedIdUsageConfigurationPurpose.java new file mode 100644 index 00000000000..9d21836cdd8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/VerifiedIdUsageConfigurationPurpose.java @@ -0,0 +1,29 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum VerifiedIdUsageConfigurationPurpose implements ValuedEnum { + Recovery("recovery"), + Onboarding("onboarding"), + All("all"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + VerifiedIdUsageConfigurationPurpose(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static VerifiedIdUsageConfigurationPurpose forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "recovery": return Recovery; + case "onboarding": return Onboarding; + case "all": return All; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/WebauthnAuthenticationExtensionsClientInputs.java b/src/main/java/com/microsoft/graph/generated/models/WebauthnAuthenticationExtensionsClientInputs.java new file mode 100644 index 00000000000..e9c83b9e0a9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/WebauthnAuthenticationExtensionsClientInputs.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class WebauthnAuthenticationExtensionsClientInputs implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link WebauthnAuthenticationExtensionsClientInputs} and sets the default values. + */ + public WebauthnAuthenticationExtensionsClientInputs() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link WebauthnAuthenticationExtensionsClientInputs} + */ + @jakarta.annotation.Nonnull + public static WebauthnAuthenticationExtensionsClientInputs createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new WebauthnAuthenticationExtensionsClientInputs(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/WebauthnAuthenticationExtensionsClientOutputs.java b/src/main/java/com/microsoft/graph/generated/models/WebauthnAuthenticationExtensionsClientOutputs.java new file mode 100644 index 00000000000..343082d1d00 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/WebauthnAuthenticationExtensionsClientOutputs.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class WebauthnAuthenticationExtensionsClientOutputs implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link WebauthnAuthenticationExtensionsClientOutputs} and sets the default values. + */ + public WebauthnAuthenticationExtensionsClientOutputs() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link WebauthnAuthenticationExtensionsClientOutputs} + */ + @jakarta.annotation.Nonnull + public static WebauthnAuthenticationExtensionsClientOutputs createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new WebauthnAuthenticationExtensionsClientOutputs(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/WebauthnAuthenticatorAttestationResponse.java b/src/main/java/com/microsoft/graph/generated/models/WebauthnAuthenticatorAttestationResponse.java new file mode 100644 index 00000000000..cbb230edd09 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/WebauthnAuthenticatorAttestationResponse.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class WebauthnAuthenticatorAttestationResponse implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link WebauthnAuthenticatorAttestationResponse} and sets the default values. + */ + public WebauthnAuthenticatorAttestationResponse() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link WebauthnAuthenticatorAttestationResponse} + */ + @jakarta.annotation.Nonnull + public static WebauthnAuthenticatorAttestationResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new WebauthnAuthenticatorAttestationResponse(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the attestationObject property value. The attestationObject property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAttestationObject() { + return this.backingStore.get("attestationObject"); + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the clientDataJSON property value. The clientDataJSON property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getClientDataJSON() { + return this.backingStore.get("clientDataJSON"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("attestationObject", (n) -> { this.setAttestationObject(n.getStringValue()); }); + deserializerMap.put("clientDataJSON", (n) -> { this.setClientDataJSON(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("attestationObject", this.getAttestationObject()); + writer.writeStringValue("clientDataJSON", this.getClientDataJSON()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the attestationObject property value. The attestationObject property + * @param value Value to set for the attestationObject property. + */ + public void setAttestationObject(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("attestationObject", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the clientDataJSON property value. The clientDataJSON property + * @param value Value to set for the clientDataJSON property. + */ + public void setClientDataJSON(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("clientDataJSON", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/WebauthnAuthenticatorSelectionCriteria.java b/src/main/java/com/microsoft/graph/generated/models/WebauthnAuthenticatorSelectionCriteria.java new file mode 100644 index 00000000000..b5161ac0a6d --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/WebauthnAuthenticatorSelectionCriteria.java @@ -0,0 +1,158 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class WebauthnAuthenticatorSelectionCriteria implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link WebauthnAuthenticatorSelectionCriteria} and sets the default values. + */ + public WebauthnAuthenticatorSelectionCriteria() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link WebauthnAuthenticatorSelectionCriteria} + */ + @jakarta.annotation.Nonnull + public static WebauthnAuthenticatorSelectionCriteria createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new WebauthnAuthenticatorSelectionCriteria(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the authenticatorAttachment property value. The authenticatorAttachment property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAuthenticatorAttachment() { + return this.backingStore.get("authenticatorAttachment"); + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("authenticatorAttachment", (n) -> { this.setAuthenticatorAttachment(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("requireResidentKey", (n) -> { this.setRequireResidentKey(n.getBooleanValue()); }); + deserializerMap.put("userVerification", (n) -> { this.setUserVerification(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the requireResidentKey property value. The requireResidentKey property + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getRequireResidentKey() { + return this.backingStore.get("requireResidentKey"); + } + /** + * Gets the userVerification property value. The userVerification property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getUserVerification() { + return this.backingStore.get("userVerification"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("authenticatorAttachment", this.getAuthenticatorAttachment()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeBooleanValue("requireResidentKey", this.getRequireResidentKey()); + writer.writeStringValue("userVerification", this.getUserVerification()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the authenticatorAttachment property value. The authenticatorAttachment property + * @param value Value to set for the authenticatorAttachment property. + */ + public void setAuthenticatorAttachment(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("authenticatorAttachment", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the requireResidentKey property value. The requireResidentKey property + * @param value Value to set for the requireResidentKey property. + */ + public void setRequireResidentKey(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("requireResidentKey", value); + } + /** + * Sets the userVerification property value. The userVerification property + * @param value Value to set for the userVerification property. + */ + public void setUserVerification(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("userVerification", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/WebauthnCredentialCreationOptions.java b/src/main/java/com/microsoft/graph/generated/models/WebauthnCredentialCreationOptions.java new file mode 100644 index 00000000000..00b8be2c9d1 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/WebauthnCredentialCreationOptions.java @@ -0,0 +1,142 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.time.OffsetDateTime; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class WebauthnCredentialCreationOptions implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link WebauthnCredentialCreationOptions} and sets the default values. + */ + public WebauthnCredentialCreationOptions() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link WebauthnCredentialCreationOptions} + */ + @jakarta.annotation.Nonnull + public static WebauthnCredentialCreationOptions createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new WebauthnCredentialCreationOptions(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the challengeTimeoutDateTime property value. The challengeTimeoutDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getChallengeTimeoutDateTime() { + return this.backingStore.get("challengeTimeoutDateTime"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("challengeTimeoutDateTime", (n) -> { this.setChallengeTimeoutDateTime(n.getOffsetDateTimeValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("publicKey", (n) -> { this.setPublicKey(n.getObjectValue(WebauthnPublicKeyCredentialCreationOptions::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the publicKey property value. The publicKey property + * @return a {@link WebauthnPublicKeyCredentialCreationOptions} + */ + @jakarta.annotation.Nullable + public WebauthnPublicKeyCredentialCreationOptions getPublicKey() { + return this.backingStore.get("publicKey"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeOffsetDateTimeValue("challengeTimeoutDateTime", this.getChallengeTimeoutDateTime()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeObjectValue("publicKey", this.getPublicKey()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the challengeTimeoutDateTime property value. The challengeTimeoutDateTime property + * @param value Value to set for the challengeTimeoutDateTime property. + */ + public void setChallengeTimeoutDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("challengeTimeoutDateTime", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the publicKey property value. The publicKey property + * @param value Value to set for the publicKey property. + */ + public void setPublicKey(@jakarta.annotation.Nullable final WebauthnPublicKeyCredentialCreationOptions value) { + this.backingStore.set("publicKey", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredential.java b/src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredential.java new file mode 100644 index 00000000000..3334974aeb5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredential.java @@ -0,0 +1,158 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class WebauthnPublicKeyCredential implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link WebauthnPublicKeyCredential} and sets the default values. + */ + public WebauthnPublicKeyCredential() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link WebauthnPublicKeyCredential} + */ + @jakarta.annotation.Nonnull + public static WebauthnPublicKeyCredential createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new WebauthnPublicKeyCredential(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the clientExtensionResults property value. The clientExtensionResults property + * @return a {@link WebauthnAuthenticationExtensionsClientOutputs} + */ + @jakarta.annotation.Nullable + public WebauthnAuthenticationExtensionsClientOutputs getClientExtensionResults() { + return this.backingStore.get("clientExtensionResults"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("clientExtensionResults", (n) -> { this.setClientExtensionResults(n.getObjectValue(WebauthnAuthenticationExtensionsClientOutputs::createFromDiscriminatorValue)); }); + deserializerMap.put("id", (n) -> { this.setId(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("response", (n) -> { this.setResponse(n.getObjectValue(WebauthnAuthenticatorAttestationResponse::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the id property value. The id property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getId() { + return this.backingStore.get("id"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the response property value. The response property + * @return a {@link WebauthnAuthenticatorAttestationResponse} + */ + @jakarta.annotation.Nullable + public WebauthnAuthenticatorAttestationResponse getResponse() { + return this.backingStore.get("response"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeObjectValue("clientExtensionResults", this.getClientExtensionResults()); + writer.writeStringValue("id", this.getId()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeObjectValue("response", this.getResponse()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the clientExtensionResults property value. The clientExtensionResults property + * @param value Value to set for the clientExtensionResults property. + */ + public void setClientExtensionResults(@jakarta.annotation.Nullable final WebauthnAuthenticationExtensionsClientOutputs value) { + this.backingStore.set("clientExtensionResults", value); + } + /** + * Sets the id property value. The id property + * @param value Value to set for the id property. + */ + public void setId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("id", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the response property value. The response property + * @param value Value to set for the response property. + */ + public void setResponse(@jakarta.annotation.Nullable final WebauthnAuthenticatorAttestationResponse value) { + this.backingStore.set("response", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialCreationOptions.java b/src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialCreationOptions.java new file mode 100644 index 00000000000..05425d5a8c7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialCreationOptions.java @@ -0,0 +1,260 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class WebauthnPublicKeyCredentialCreationOptions implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link WebauthnPublicKeyCredentialCreationOptions} and sets the default values. + */ + public WebauthnPublicKeyCredentialCreationOptions() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link WebauthnPublicKeyCredentialCreationOptions} + */ + @jakarta.annotation.Nonnull + public static WebauthnPublicKeyCredentialCreationOptions createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new WebauthnPublicKeyCredentialCreationOptions(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the attestation property value. The attestation property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAttestation() { + return this.backingStore.get("attestation"); + } + /** + * Gets the authenticatorSelection property value. The authenticatorSelection property + * @return a {@link WebauthnAuthenticatorSelectionCriteria} + */ + @jakarta.annotation.Nullable + public WebauthnAuthenticatorSelectionCriteria getAuthenticatorSelection() { + return this.backingStore.get("authenticatorSelection"); + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the challenge property value. The challenge property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getChallenge() { + return this.backingStore.get("challenge"); + } + /** + * Gets the excludeCredentials property value. The excludeCredentials property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getExcludeCredentials() { + return this.backingStore.get("excludeCredentials"); + } + /** + * Gets the extensions property value. The extensions property + * @return a {@link WebauthnAuthenticationExtensionsClientInputs} + */ + @jakarta.annotation.Nullable + public WebauthnAuthenticationExtensionsClientInputs getExtensions() { + return this.backingStore.get("extensions"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(10); + deserializerMap.put("attestation", (n) -> { this.setAttestation(n.getStringValue()); }); + deserializerMap.put("authenticatorSelection", (n) -> { this.setAuthenticatorSelection(n.getObjectValue(WebauthnAuthenticatorSelectionCriteria::createFromDiscriminatorValue)); }); + deserializerMap.put("challenge", (n) -> { this.setChallenge(n.getStringValue()); }); + deserializerMap.put("excludeCredentials", (n) -> { this.setExcludeCredentials(n.getCollectionOfObjectValues(WebauthnPublicKeyCredentialDescriptor::createFromDiscriminatorValue)); }); + deserializerMap.put("extensions", (n) -> { this.setExtensions(n.getObjectValue(WebauthnAuthenticationExtensionsClientInputs::createFromDiscriminatorValue)); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("pubKeyCredParams", (n) -> { this.setPubKeyCredParams(n.getCollectionOfObjectValues(WebauthnPublicKeyCredentialParameters::createFromDiscriminatorValue)); }); + deserializerMap.put("rp", (n) -> { this.setRp(n.getObjectValue(WebauthnPublicKeyCredentialRpEntity::createFromDiscriminatorValue)); }); + deserializerMap.put("timeout", (n) -> { this.setTimeout(n.getIntegerValue()); }); + deserializerMap.put("user", (n) -> { this.setUser(n.getObjectValue(WebauthnPublicKeyCredentialUserEntity::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the pubKeyCredParams property value. The pubKeyCredParams property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getPubKeyCredParams() { + return this.backingStore.get("pubKeyCredParams"); + } + /** + * Gets the rp property value. The rp property + * @return a {@link WebauthnPublicKeyCredentialRpEntity} + */ + @jakarta.annotation.Nullable + public WebauthnPublicKeyCredentialRpEntity getRp() { + return this.backingStore.get("rp"); + } + /** + * Gets the timeout property value. The timeout property + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getTimeout() { + return this.backingStore.get("timeout"); + } + /** + * Gets the user property value. The user property + * @return a {@link WebauthnPublicKeyCredentialUserEntity} + */ + @jakarta.annotation.Nullable + public WebauthnPublicKeyCredentialUserEntity getUser() { + return this.backingStore.get("user"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("attestation", this.getAttestation()); + writer.writeObjectValue("authenticatorSelection", this.getAuthenticatorSelection()); + writer.writeStringValue("challenge", this.getChallenge()); + writer.writeCollectionOfObjectValues("excludeCredentials", this.getExcludeCredentials()); + writer.writeObjectValue("extensions", this.getExtensions()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeCollectionOfObjectValues("pubKeyCredParams", this.getPubKeyCredParams()); + writer.writeObjectValue("rp", this.getRp()); + writer.writeIntegerValue("timeout", this.getTimeout()); + writer.writeObjectValue("user", this.getUser()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the attestation property value. The attestation property + * @param value Value to set for the attestation property. + */ + public void setAttestation(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("attestation", value); + } + /** + * Sets the authenticatorSelection property value. The authenticatorSelection property + * @param value Value to set for the authenticatorSelection property. + */ + public void setAuthenticatorSelection(@jakarta.annotation.Nullable final WebauthnAuthenticatorSelectionCriteria value) { + this.backingStore.set("authenticatorSelection", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the challenge property value. The challenge property + * @param value Value to set for the challenge property. + */ + public void setChallenge(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("challenge", value); + } + /** + * Sets the excludeCredentials property value. The excludeCredentials property + * @param value Value to set for the excludeCredentials property. + */ + public void setExcludeCredentials(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("excludeCredentials", value); + } + /** + * Sets the extensions property value. The extensions property + * @param value Value to set for the extensions property. + */ + public void setExtensions(@jakarta.annotation.Nullable final WebauthnAuthenticationExtensionsClientInputs value) { + this.backingStore.set("extensions", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the pubKeyCredParams property value. The pubKeyCredParams property + * @param value Value to set for the pubKeyCredParams property. + */ + public void setPubKeyCredParams(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("pubKeyCredParams", value); + } + /** + * Sets the rp property value. The rp property + * @param value Value to set for the rp property. + */ + public void setRp(@jakarta.annotation.Nullable final WebauthnPublicKeyCredentialRpEntity value) { + this.backingStore.set("rp", value); + } + /** + * Sets the timeout property value. The timeout property + * @param value Value to set for the timeout property. + */ + public void setTimeout(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("timeout", value); + } + /** + * Sets the user property value. The user property + * @param value Value to set for the user property. + */ + public void setUser(@jakarta.annotation.Nullable final WebauthnPublicKeyCredentialUserEntity value) { + this.backingStore.set("user", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialDescriptor.java b/src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialDescriptor.java new file mode 100644 index 00000000000..cfc6659ce29 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialDescriptor.java @@ -0,0 +1,158 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class WebauthnPublicKeyCredentialDescriptor implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link WebauthnPublicKeyCredentialDescriptor} and sets the default values. + */ + public WebauthnPublicKeyCredentialDescriptor() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link WebauthnPublicKeyCredentialDescriptor} + */ + @jakarta.annotation.Nonnull + public static WebauthnPublicKeyCredentialDescriptor createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new WebauthnPublicKeyCredentialDescriptor(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("id", (n) -> { this.setId(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("transports", (n) -> { this.setTransports(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("type", (n) -> { this.setType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the id property value. The id property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getId() { + return this.backingStore.get("id"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the transports property value. The transports property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getTransports() { + return this.backingStore.get("transports"); + } + /** + * Gets the type property value. The type property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getType() { + return this.backingStore.get("type"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("id", this.getId()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeCollectionOfPrimitiveValues("transports", this.getTransports()); + writer.writeStringValue("type", this.getType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the id property value. The id property + * @param value Value to set for the id property. + */ + public void setId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("id", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the transports property value. The transports property + * @param value Value to set for the transports property. + */ + public void setTransports(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("transports", value); + } + /** + * Sets the type property value. The type property + * @param value Value to set for the type property. + */ + public void setType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("type", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialParameters.java b/src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialParameters.java new file mode 100644 index 00000000000..520f2426e3b --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialParameters.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class WebauthnPublicKeyCredentialParameters implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link WebauthnPublicKeyCredentialParameters} and sets the default values. + */ + public WebauthnPublicKeyCredentialParameters() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link WebauthnPublicKeyCredentialParameters} + */ + @jakarta.annotation.Nonnull + public static WebauthnPublicKeyCredentialParameters createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new WebauthnPublicKeyCredentialParameters(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the alg property value. The alg property + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getAlg() { + return this.backingStore.get("alg"); + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("alg", (n) -> { this.setAlg(n.getIntegerValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("type", (n) -> { this.setType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the type property value. The type property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getType() { + return this.backingStore.get("type"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeIntegerValue("alg", this.getAlg()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeStringValue("type", this.getType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the alg property value. The alg property + * @param value Value to set for the alg property. + */ + public void setAlg(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("alg", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the type property value. The type property + * @param value Value to set for the type property. + */ + public void setType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("type", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialRpEntity.java b/src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialRpEntity.java new file mode 100644 index 00000000000..b57b63a4f94 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialRpEntity.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class WebauthnPublicKeyCredentialRpEntity implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link WebauthnPublicKeyCredentialRpEntity} and sets the default values. + */ + public WebauthnPublicKeyCredentialRpEntity() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link WebauthnPublicKeyCredentialRpEntity} + */ + @jakarta.annotation.Nonnull + public static WebauthnPublicKeyCredentialRpEntity createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new WebauthnPublicKeyCredentialRpEntity(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("id", (n) -> { this.setId(n.getStringValue()); }); + deserializerMap.put("name", (n) -> { this.setName(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the id property value. The id property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getId() { + return this.backingStore.get("id"); + } + /** + * Gets the name property value. The name property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getName() { + return this.backingStore.get("name"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("id", this.getId()); + writer.writeStringValue("name", this.getName()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the id property value. The id property + * @param value Value to set for the id property. + */ + public void setId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("id", value); + } + /** + * Sets the name property value. The name property + * @param value Value to set for the name property. + */ + public void setName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("name", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialUserEntity.java b/src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialUserEntity.java new file mode 100644 index 00000000000..3ed1237200d --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/WebauthnPublicKeyCredentialUserEntity.java @@ -0,0 +1,158 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class WebauthnPublicKeyCredentialUserEntity implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link WebauthnPublicKeyCredentialUserEntity} and sets the default values. + */ + public WebauthnPublicKeyCredentialUserEntity() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link WebauthnPublicKeyCredentialUserEntity} + */ + @jakarta.annotation.Nonnull + public static WebauthnPublicKeyCredentialUserEntity createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new WebauthnPublicKeyCredentialUserEntity(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the displayName property value. The displayName property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("id", (n) -> { this.setId(n.getStringValue()); }); + deserializerMap.put("name", (n) -> { this.setName(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the id property value. The id property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getId() { + return this.backingStore.get("id"); + } + /** + * Gets the name property value. The name property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getName() { + return this.backingStore.get("name"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeStringValue("id", this.getId()); + writer.writeStringValue("name", this.getName()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the displayName property value. The displayName property + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } + /** + * Sets the id property value. The id property + * @param value Value to set for the id property. + */ + public void setId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("id", value); + } + /** + * Sets the name property value. The name property + * @param value Value to set for the name property. + */ + public void setName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("name", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/externalconnectors/Label.java b/src/main/java/com/microsoft/graph/generated/models/externalconnectors/Label.java index c3d736454a9..84cba1723a8 100644 --- a/src/main/java/com/microsoft/graph/generated/models/externalconnectors/Label.java +++ b/src/main/java/com/microsoft/graph/generated/models/externalconnectors/Label.java @@ -53,7 +53,12 @@ public enum Label implements ValuedEnum { PersonColleagues("personColleagues"), PersonManager("personManager"), PersonAlternateContacts("personAlternateContacts"), - PersonEmergencyContacts("personEmergencyContacts"); + PersonEmergencyContacts("personEmergencyContacts"), + PersonEducationalActivities("personEducationalActivities"), + PersonInterests("personInterests"), + PersonLanguages("personLanguages"), + PersonPublications("personPublications"), + PersonPatents("personPatents"); public final String value; Label(final String value) { this.value = value; @@ -113,6 +118,11 @@ public static Label forValue(@jakarta.annotation.Nonnull final String searchValu case "personManager": return PersonManager; case "personAlternateContacts": return PersonAlternateContacts; case "personEmergencyContacts": return PersonEmergencyContacts; + case "personEducationalActivities": return PersonEducationalActivities; + case "personInterests": return PersonInterests; + case "personLanguages": return PersonLanguages; + case "personPublications": return PersonPublications; + case "personPatents": return PersonPatents; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/TaskProcessingResult.java b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/TaskProcessingResult.java index 0e1f2e292c5..7237556f711 100644 --- a/src/main/java/com/microsoft/graph/generated/models/identitygovernance/TaskProcessingResult.java +++ b/src/main/java/com/microsoft/graph/generated/models/identitygovernance/TaskProcessingResult.java @@ -61,12 +61,21 @@ public Map> getFieldDeserializers deserializerMap.put("completedDateTime", (n) -> { this.setCompletedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("failureReason", (n) -> { this.setFailureReason(n.getStringValue()); }); + deserializerMap.put("processingInfo", (n) -> { this.setProcessingInfo(n.getStringValue()); }); deserializerMap.put("processingStatus", (n) -> { this.setProcessingStatus(n.getEnumValue(LifecycleWorkflowProcessingStatus::forValue)); }); deserializerMap.put("startedDateTime", (n) -> { this.setStartedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("subject", (n) -> { this.setSubject(n.getObjectValue(User::createFromDiscriminatorValue)); }); deserializerMap.put("task", (n) -> { this.setTask(n.getObjectValue(Task::createFromDiscriminatorValue)); }); return deserializerMap; } + /** + * Gets the processingInfo property value. The processingInfo property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getProcessingInfo() { + return this.backingStore.get("processingInfo"); + } /** * Gets the processingStatus property value. The processingStatus property * @return a {@link LifecycleWorkflowProcessingStatus} @@ -109,6 +118,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("completedDateTime", this.getCompletedDateTime()); writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); writer.writeStringValue("failureReason", this.getFailureReason()); + writer.writeStringValue("processingInfo", this.getProcessingInfo()); writer.writeEnumValue("processingStatus", this.getProcessingStatus()); writer.writeOffsetDateTimeValue("startedDateTime", this.getStartedDateTime()); writer.writeObjectValue("subject", this.getSubject()); @@ -135,6 +145,13 @@ public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime public void setFailureReason(@jakarta.annotation.Nullable final String value) { this.backingStore.set("failureReason", value); } + /** + * Sets the processingInfo property value. The processingInfo property + * @param value Value to set for the processingInfo property. + */ + public void setProcessingInfo(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("processingInfo", value); + } /** * Sets the processingStatus property value. The processingStatus property * @param value Value to set for the processingStatus property. diff --git a/src/main/java/com/microsoft/graph/generated/models/security/Alert.java b/src/main/java/com/microsoft/graph/generated/models/security/Alert.java index ca44fde4b30..0c4f7669dc7 100644 --- a/src/main/java/com/microsoft/graph/generated/models/security/Alert.java +++ b/src/main/java/com/microsoft/graph/generated/models/security/Alert.java @@ -66,6 +66,14 @@ public String getAlertWebUrl() { public String getAssignedTo() { return this.backingStore.get("assignedTo"); } + /** + * Gets the categories property value. The categories property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getCategories() { + return this.backingStore.get("categories"); + } /** * Gets the category property value. The attack kill-chain category that the alert belongs to. Aligned with the MITRE ATT&CK framework. * @return a {@link String} @@ -158,6 +166,7 @@ public Map> getFieldDeserializers deserializerMap.put("alertPolicyId", (n) -> { this.setAlertPolicyId(n.getStringValue()); }); deserializerMap.put("alertWebUrl", (n) -> { this.setAlertWebUrl(n.getStringValue()); }); deserializerMap.put("assignedTo", (n) -> { this.setAssignedTo(n.getStringValue()); }); + deserializerMap.put("categories", (n) -> { this.setCategories(n.getCollectionOfPrimitiveValues(String.class)); }); deserializerMap.put("category", (n) -> { this.setCategory(n.getStringValue()); }); deserializerMap.put("classification", (n) -> { this.setClassification(n.getEnumValue(AlertClassification::forValue)); }); deserializerMap.put("comments", (n) -> { this.setComments(n.getCollectionOfObjectValues(AlertComment::createFromDiscriminatorValue)); }); @@ -353,6 +362,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("alertPolicyId", this.getAlertPolicyId()); writer.writeStringValue("alertWebUrl", this.getAlertWebUrl()); writer.writeStringValue("assignedTo", this.getAssignedTo()); + writer.writeCollectionOfPrimitiveValues("categories", this.getCategories()); writer.writeStringValue("category", this.getCategory()); writer.writeEnumValue("classification", this.getClassification()); writer.writeCollectionOfObjectValues("comments", this.getComments()); @@ -418,6 +428,13 @@ public void setAlertWebUrl(@jakarta.annotation.Nullable final String value) { public void setAssignedTo(@jakarta.annotation.Nullable final String value) { this.backingStore.set("assignedTo", value); } + /** + * Sets the categories property value. The categories property + * @param value Value to set for the categories property. + */ + public void setCategories(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("categories", value); + } /** * Sets the category property value. The attack kill-chain category that the alert belongs to. Aligned with the MITRE ATT&CK framework. * @param value Value to set for the category property. diff --git a/src/main/java/com/microsoft/graph/generated/models/security/DataSource.java b/src/main/java/com/microsoft/graph/generated/models/security/DataSource.java index 08d8322dcc1..974a5239570 100644 --- a/src/main/java/com/microsoft/graph/generated/models/security/DataSource.java +++ b/src/main/java/com/microsoft/graph/generated/models/security/DataSource.java @@ -74,7 +74,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the holdStatus property value. The hold status of the dataSource.The possible values are: notApplied, applied, applying, removing, partial + * Gets the holdStatus property value. The hold status of the dataSource. The possible values are: notApplied, applied, applying, removing, partial. * @return a {@link DataSourceHoldStatus} */ @jakarta.annotation.Nullable @@ -115,7 +115,7 @@ public void setDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("displayName", value); } /** - * Sets the holdStatus property value. The hold status of the dataSource.The possible values are: notApplied, applied, applying, removing, partial + * Sets the holdStatus property value. The hold status of the dataSource. The possible values are: notApplied, applied, applying, removing, partial. * @param value Value to set for the holdStatus property. */ public void setHoldStatus(@jakarta.annotation.Nullable final DataSourceHoldStatus value) { diff --git a/src/main/java/com/microsoft/graph/generated/organization/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/organization/item/restore/RestoreRequestBuilder.java index 60893abfc43..5cba7e05ea6 100644 --- a/src/main/java/com/microsoft/graph/generated/organization/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/organization/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/organization/{organization%2Did}/restore", rawUrl); } /** - * 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. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/permissiongrants/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/permissiongrants/item/restore/RestoreRequestBuilder.java index 218d5a49e15..64215dc103e 100644 --- a/src/main/java/com/microsoft/graph/generated/permissiongrants/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/permissiongrants/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/permissionGrants/{resourceSpecificPermissionGrant%2Did}/restore", rawUrl); } /** - * 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. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/policies/PoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/policies/PoliciesRequestBuilder.java index f46153a902f..a55ccf3f570 100644 --- a/src/main/java/com/microsoft/graph/generated/policies/PoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/policies/PoliciesRequestBuilder.java @@ -17,6 +17,7 @@ import com.microsoft.graph.policies.featurerolloutpolicies.FeatureRolloutPoliciesRequestBuilder; import com.microsoft.graph.policies.homerealmdiscoverypolicies.HomeRealmDiscoveryPoliciesRequestBuilder; import com.microsoft.graph.policies.identitysecuritydefaultsenforcementpolicy.IdentitySecurityDefaultsEnforcementPolicyRequestBuilder; +import com.microsoft.graph.policies.ownerlessgrouppolicy.OwnerlessGroupPolicyRequestBuilder; import com.microsoft.graph.policies.permissiongrantpolicies.PermissionGrantPoliciesRequestBuilder; import com.microsoft.graph.policies.rolemanagementpolicies.RoleManagementPoliciesRequestBuilder; import com.microsoft.graph.policies.rolemanagementpolicyassignments.RoleManagementPolicyAssignmentsRequestBuilder; @@ -160,6 +161,14 @@ public HomeRealmDiscoveryPoliciesRequestBuilder homeRealmDiscoveryPolicies() { public IdentitySecurityDefaultsEnforcementPolicyRequestBuilder identitySecurityDefaultsEnforcementPolicy() { return new IdentitySecurityDefaultsEnforcementPolicyRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the ownerlessGroupPolicy property of the microsoft.graph.policyRoot entity. + * @return a {@link OwnerlessGroupPolicyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public OwnerlessGroupPolicyRequestBuilder ownerlessGroupPolicy() { + return new OwnerlessGroupPolicyRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the permissionGrantPolicies property of the microsoft.graph.policyRoot entity. * @return a {@link PermissionGrantPoliciesRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/policies/deviceregistrationpolicy/DeviceRegistrationPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/policies/deviceregistrationpolicy/DeviceRegistrationPolicyRequestBuilder.java index 984bd8cc075..4fb13fa5f2e 100644 --- a/src/main/java/com/microsoft/graph/generated/policies/deviceregistrationpolicy/DeviceRegistrationPolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/policies/deviceregistrationpolicy/DeviceRegistrationPolicyRequestBuilder.java @@ -37,19 +37,21 @@ public DeviceRegistrationPolicyRequestBuilder(@jakarta.annotation.Nonnull final super(requestAdapter, "{+baseurl}/policies/deviceRegistrationPolicy{?%24expand,%24select}", rawUrl); } /** - * 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. * @return a {@link DeviceRegistrationPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceRegistrationPolicy get() { return get(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceRegistrationPolicy} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceRegistrationPolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -59,7 +61,7 @@ public DeviceRegistrationPolicy get(@jakarta.annotation.Nullable final java.util return this.requestAdapter.send(requestInfo, errorMapping, DeviceRegistrationPolicy::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +69,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +91,7 @@ public DeviceRegistrationPolicyRequestBuilder withUrl(@jakarta.annotation.Nonnul return new DeviceRegistrationPolicyRequestBuilder(rawUrl, requestAdapter); } /** - * 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. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/policies/ownerlessgrouppolicy/OwnerlessGroupPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/policies/ownerlessgrouppolicy/OwnerlessGroupPolicyRequestBuilder.java new file mode 100644 index 00000000000..729a7b71661 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/policies/ownerlessgrouppolicy/OwnerlessGroupPolicyRequestBuilder.java @@ -0,0 +1,184 @@ +package com.microsoft.graph.policies.ownerlessgrouppolicy; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.OwnerlessGroupPolicy; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the ownerlessGroupPolicy property of the microsoft.graph.policyRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class OwnerlessGroupPolicyRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link OwnerlessGroupPolicyRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public OwnerlessGroupPolicyRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/policies/ownerlessGroupPolicy{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link OwnerlessGroupPolicyRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public OwnerlessGroupPolicyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/policies/ownerlessGroupPolicy{?%24expand,%24select}", rawUrl); + } + /** + * Get ownerlessGroupPolicy from policies + * @return a {@link OwnerlessGroupPolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public OwnerlessGroupPolicy get() { + return get(null); + } + /** + * Get ownerlessGroupPolicy from policies + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link OwnerlessGroupPolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public OwnerlessGroupPolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, OwnerlessGroupPolicy::createFromDiscriminatorValue); + } + /** + * Update the navigation property ownerlessGroupPolicy in policies + * @param body The request body + * @return a {@link OwnerlessGroupPolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public OwnerlessGroupPolicy patch(@jakarta.annotation.Nonnull final OwnerlessGroupPolicy body) { + return patch(body, null); + } + /** + * Update the navigation property ownerlessGroupPolicy in policies + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link OwnerlessGroupPolicy} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public OwnerlessGroupPolicy patch(@jakarta.annotation.Nonnull final OwnerlessGroupPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, OwnerlessGroupPolicy::createFromDiscriminatorValue); + } + /** + * Get ownerlessGroupPolicy from policies + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get ownerlessGroupPolicy from policies + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property ownerlessGroupPolicy in policies + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OwnerlessGroupPolicy body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property ownerlessGroupPolicy in policies + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OwnerlessGroupPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link OwnerlessGroupPolicyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public OwnerlessGroupPolicyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new OwnerlessGroupPolicyRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get ownerlessGroupPolicy from policies + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/serviceprincipals/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/serviceprincipals/item/restore/RestoreRequestBuilder.java index da96d9fd431..3dc5584fc13 100644 --- a/src/main/java/com/microsoft/graph/generated/serviceprincipals/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/serviceprincipals/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/restore", rawUrl); } /** - * 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. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/BackupRestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/BackupRestoreRequestBuilder.java index be85f185fac..90f966c8763 100644 --- a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/BackupRestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/BackupRestoreRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.models.BackupRestoreRoot; import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.solutions.backuprestore.browsesessions.BrowseSessionsRequestBuilder; import com.microsoft.graph.solutions.backuprestore.driveinclusionrules.DriveInclusionRulesRequestBuilder; import com.microsoft.graph.solutions.backuprestore.driveprotectionunits.DriveProtectionUnitsRequestBuilder; import com.microsoft.graph.solutions.backuprestore.driveprotectionunitsbulkadditionjobs.DriveProtectionUnitsBulkAdditionJobsRequestBuilder; @@ -11,6 +12,7 @@ import com.microsoft.graph.solutions.backuprestore.mailboxinclusionrules.MailboxInclusionRulesRequestBuilder; import com.microsoft.graph.solutions.backuprestore.mailboxprotectionunits.MailboxProtectionUnitsRequestBuilder; import com.microsoft.graph.solutions.backuprestore.mailboxprotectionunitsbulkadditionjobs.MailboxProtectionUnitsBulkAdditionJobsRequestBuilder; +import com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.OneDriveForBusinessBrowseSessionsRequestBuilder; import com.microsoft.graph.solutions.backuprestore.onedriveforbusinessprotectionpolicies.OneDriveForBusinessProtectionPoliciesRequestBuilder; import com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.OneDriveForBusinessRestoreSessionsRequestBuilder; import com.microsoft.graph.solutions.backuprestore.protectionpolicies.ProtectionPoliciesRequestBuilder; @@ -18,6 +20,7 @@ import com.microsoft.graph.solutions.backuprestore.restorepoints.RestorePointsRequestBuilder; import com.microsoft.graph.solutions.backuprestore.restoresessions.RestoreSessionsRequestBuilder; import com.microsoft.graph.solutions.backuprestore.serviceapps.ServiceAppsRequestBuilder; +import com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.SharePointBrowseSessionsRequestBuilder; import com.microsoft.graph.solutions.backuprestore.sharepointprotectionpolicies.SharePointProtectionPoliciesRequestBuilder; import com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.SharePointRestoreSessionsRequestBuilder; import com.microsoft.graph.solutions.backuprestore.siteinclusionrules.SiteInclusionRulesRequestBuilder; @@ -41,6 +44,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class BackupRestoreRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the browseSessions property of the microsoft.graph.backupRestoreRoot entity. + * @return a {@link BrowseSessionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public BrowseSessionsRequestBuilder browseSessions() { + return new BrowseSessionsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the driveInclusionRules property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link DriveInclusionRulesRequestBuilder} @@ -113,6 +124,14 @@ public MailboxProtectionUnitsRequestBuilder mailboxProtectionUnits() { public MailboxProtectionUnitsBulkAdditionJobsRequestBuilder mailboxProtectionUnitsBulkAdditionJobs() { return new MailboxProtectionUnitsBulkAdditionJobsRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the oneDriveForBusinessBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + * @return a {@link OneDriveForBusinessBrowseSessionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public OneDriveForBusinessBrowseSessionsRequestBuilder oneDriveForBusinessBrowseSessions() { + return new OneDriveForBusinessBrowseSessionsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the oneDriveForBusinessProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link OneDriveForBusinessProtectionPoliciesRequestBuilder} @@ -169,6 +188,14 @@ public RestoreSessionsRequestBuilder restoreSessions() { public ServiceAppsRequestBuilder serviceApps() { return new ServiceAppsRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the sharePointBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + * @return a {@link SharePointBrowseSessionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SharePointBrowseSessionsRequestBuilder sharePointBrowseSessions() { + return new SharePointBrowseSessionsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the sharePointProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. * @return a {@link SharePointProtectionPoliciesRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/BrowseSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/BrowseSessionsRequestBuilder.java new file mode 100644 index 00000000000..f08be4a7338 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/BrowseSessionsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.solutions.backuprestore.browsesessions; + +import com.microsoft.graph.models.BrowseSessionBase; +import com.microsoft.graph.models.BrowseSessionBaseCollectionResponse; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.solutions.backuprestore.browsesessions.count.CountRequestBuilder; +import com.microsoft.graph.solutions.backuprestore.browsesessions.item.BrowseSessionBaseItemRequestBuilder; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the browseSessions property of the microsoft.graph.backupRestoreRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class BrowseSessionsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the browseSessions property of the microsoft.graph.backupRestoreRoot entity. + * @param browseSessionBaseId The unique identifier of browseSessionBase + * @return a {@link BrowseSessionBaseItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public BrowseSessionBaseItemRequestBuilder byBrowseSessionBaseId(@jakarta.annotation.Nonnull final String browseSessionBaseId) { + Objects.requireNonNull(browseSessionBaseId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("browseSessionBase%2Did", browseSessionBaseId); + return new BrowseSessionBaseItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link BrowseSessionsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public BrowseSessionsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link BrowseSessionsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public BrowseSessionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get browseSessions from solutions + * @return a {@link BrowseSessionBaseCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public BrowseSessionBaseCollectionResponse get() { + return get(null); + } + /** + * Get browseSessions from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link BrowseSessionBaseCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public BrowseSessionBaseCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, BrowseSessionBaseCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to browseSessions for solutions + * @param body The request body + * @return a {@link BrowseSessionBase} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public BrowseSessionBase post(@jakarta.annotation.Nonnull final BrowseSessionBase body) { + return post(body, null); + } + /** + * Create new navigation property to browseSessions for solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link BrowseSessionBase} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public BrowseSessionBase post(@jakarta.annotation.Nonnull final BrowseSessionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, BrowseSessionBase::createFromDiscriminatorValue); + } + /** + * Get browseSessions from solutions + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get browseSessions from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to browseSessions for solutions + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BrowseSessionBase body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to browseSessions for solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BrowseSessionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link BrowseSessionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public BrowseSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new BrowseSessionsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get browseSessions from solutions + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/count/CountRequestBuilder.java new file mode 100644 index 00000000000..00cf93be88f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.solutions.backuprestore.browsesessions.count; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/BrowseSessionBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/BrowseSessionBaseItemRequestBuilder.java new file mode 100644 index 00000000000..d26cad551fd --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/BrowseSessionBaseItemRequestBuilder.java @@ -0,0 +1,248 @@ +package com.microsoft.graph.solutions.backuprestore.browsesessions.item; + +import com.microsoft.graph.models.BrowseSessionBase; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse.BrowseRequestBuilder; +import com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken.BrowseWithNextFetchTokenRequestBuilder; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the browseSessions property of the microsoft.graph.backupRestoreRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class BrowseSessionBaseItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the browse method. + * @return a {@link BrowseRequestBuilder} + */ + @jakarta.annotation.Nonnull + public BrowseRequestBuilder browse() { + return new BrowseRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to call the browse method. + * @param nextFetchToken Usage: nextFetchToken='{nextFetchToken}' + * @return a {@link BrowseWithNextFetchTokenRequestBuilder} + */ + @jakarta.annotation.Nonnull + public BrowseWithNextFetchTokenRequestBuilder browseWithNextFetchToken(@jakarta.annotation.Nonnull final String nextFetchToken) { + Objects.requireNonNull(nextFetchToken); + return new BrowseWithNextFetchTokenRequestBuilder(pathParameters, requestAdapter, nextFetchToken); + } + /** + * Instantiates a new {@link BrowseSessionBaseItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public BrowseSessionBaseItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link BrowseSessionBaseItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public BrowseSessionBaseItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property browseSessions for solutions + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property browseSessions for solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Get browseSessions from solutions + * @return a {@link BrowseSessionBase} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public BrowseSessionBase get() { + return get(null); + } + /** + * Get browseSessions from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link BrowseSessionBase} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public BrowseSessionBase get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, BrowseSessionBase::createFromDiscriminatorValue); + } + /** + * Update the navigation property browseSessions in solutions + * @param body The request body + * @return a {@link BrowseSessionBase} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public BrowseSessionBase patch(@jakarta.annotation.Nonnull final BrowseSessionBase body) { + return patch(body, null); + } + /** + * Update the navigation property browseSessions in solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link BrowseSessionBase} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public BrowseSessionBase patch(@jakarta.annotation.Nonnull final BrowseSessionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, BrowseSessionBase::createFromDiscriminatorValue); + } + /** + * Delete navigation property browseSessions for solutions + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property browseSessions for solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get browseSessions from solutions + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get browseSessions from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property browseSessions in solutions + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BrowseSessionBase body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property browseSessions in solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BrowseSessionBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link BrowseSessionBaseItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public BrowseSessionBaseItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new BrowseSessionBaseItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Get browseSessions from solutions + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browse/BrowsePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browse/BrowsePostRequestBody.java new file mode 100644 index 00000000000..798ff9f635d --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browse/BrowsePostRequestBody.java @@ -0,0 +1,160 @@ +package com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse; + +import com.microsoft.graph.models.BrowsableResourceType; +import com.microsoft.graph.models.BrowseQueryOrder; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class BrowsePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link BrowsePostRequestBody} and sets the default values. + */ + public BrowsePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link BrowsePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static BrowsePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new BrowsePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the browseLocationItemKey property value. The browseLocationItemKey property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getBrowseLocationItemKey() { + return this.backingStore.get("browseLocationItemKey"); + } + /** + * Gets the browseResourceType property value. The browseResourceType property + * @return a {@link BrowsableResourceType} + */ + @jakarta.annotation.Nullable + public BrowsableResourceType getBrowseResourceType() { + return this.backingStore.get("browseResourceType"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("browseLocationItemKey", (n) -> { this.setBrowseLocationItemKey(n.getStringValue()); }); + deserializerMap.put("browseResourceType", (n) -> { this.setBrowseResourceType(n.getEnumValue(BrowsableResourceType::forValue)); }); + deserializerMap.put("filter", (n) -> { this.setFilter(n.getStringValue()); }); + deserializerMap.put("orderBy", (n) -> { this.setOrderBy(n.getEnumValue(BrowseQueryOrder::forValue)); }); + return deserializerMap; + } + /** + * Gets the filter property value. The filter property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getFilter() { + return this.backingStore.get("filter"); + } + /** + * Gets the orderBy property value. The orderBy property + * @return a {@link BrowseQueryOrder} + */ + @jakarta.annotation.Nullable + public BrowseQueryOrder getOrderBy() { + return this.backingStore.get("orderBy"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("browseLocationItemKey", this.getBrowseLocationItemKey()); + writer.writeEnumValue("browseResourceType", this.getBrowseResourceType()); + writer.writeStringValue("filter", this.getFilter()); + writer.writeEnumValue("orderBy", this.getOrderBy()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the browseLocationItemKey property value. The browseLocationItemKey property + * @param value Value to set for the browseLocationItemKey property. + */ + public void setBrowseLocationItemKey(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("browseLocationItemKey", value); + } + /** + * Sets the browseResourceType property value. The browseResourceType property + * @param value Value to set for the browseResourceType property. + */ + public void setBrowseResourceType(@jakarta.annotation.Nullable final BrowsableResourceType value) { + this.backingStore.set("browseResourceType", value); + } + /** + * Sets the filter property value. The filter property + * @param value Value to set for the filter property. + */ + public void setFilter(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("filter", value); + } + /** + * Sets the orderBy property value. The orderBy property + * @param value Value to set for the orderBy property. + */ + public void setOrderBy(@jakarta.annotation.Nullable final BrowseQueryOrder value) { + this.backingStore.set("orderBy", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browse/BrowsePostResponse.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browse/BrowsePostResponse.java new file mode 100644 index 00000000000..341bba64f69 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browse/BrowsePostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse; + +import com.microsoft.graph.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.models.BrowseQueryResponseItem; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class BrowsePostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link BrowsePostResponse} and sets the default values. + */ + public BrowsePostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link BrowsePostResponse} + */ + @jakarta.annotation.Nonnull + public static BrowsePostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new BrowsePostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(BrowseQueryResponseItem::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browse/BrowseRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browse/BrowseRequestBuilder.java new file mode 100644 index 00000000000..e9bec568de8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browse/BrowseRequestBuilder.java @@ -0,0 +1,102 @@ +package com.microsoft.graph.solutions.backuprestore.browsesessions.item.browse; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the browse method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class BrowseRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link BrowseRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public BrowseRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}/browse", pathParameters); + } + /** + * Instantiates a new {@link BrowseRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public BrowseRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}/browse", rawUrl); + } + /** + * Invoke action browse + * @param body The request body + * @return a {@link BrowsePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public BrowsePostResponse post(@jakarta.annotation.Nonnull final BrowsePostRequestBody body) { + return post(body, null); + } + /** + * Invoke action browse + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link BrowsePostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public BrowsePostResponse post(@jakarta.annotation.Nonnull final BrowsePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, BrowsePostResponse::createFromDiscriminatorValue); + } + /** + * Invoke action browse + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BrowsePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action browse + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BrowsePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link BrowseRequestBuilder} + */ + @jakarta.annotation.Nonnull + public BrowseRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new BrowseRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browsewithnextfetchtoken/BrowseWithNextFetchTokenGetResponse.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browsewithnextfetchtoken/BrowseWithNextFetchTokenGetResponse.java new file mode 100644 index 00000000000..1a9bcf82913 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browsewithnextfetchtoken/BrowseWithNextFetchTokenGetResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken; + +import com.microsoft.graph.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.models.BrowseQueryResponseItem; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class BrowseWithNextFetchTokenGetResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link BrowseWithNextFetchTokenGetResponse} and sets the default values. + */ + public BrowseWithNextFetchTokenGetResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link BrowseWithNextFetchTokenGetResponse} + */ + @jakarta.annotation.Nonnull + public static BrowseWithNextFetchTokenGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new BrowseWithNextFetchTokenGetResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(BrowseQueryResponseItem::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browsewithnextfetchtoken/BrowseWithNextFetchTokenRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browsewithnextfetchtoken/BrowseWithNextFetchTokenRequestBuilder.java new file mode 100644 index 00000000000..db2cfdacf7a --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/browsesessions/item/browsewithnextfetchtoken/BrowseWithNextFetchTokenRequestBuilder.java @@ -0,0 +1,148 @@ +package com.microsoft.graph.solutions.backuprestore.browsesessions.item.browsewithnextfetchtoken; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the browse method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class BrowseWithNextFetchTokenRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link BrowseWithNextFetchTokenRequestBuilder} and sets the default values. + * @param nextFetchToken Usage: nextFetchToken='{nextFetchToken}' + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public BrowseWithNextFetchTokenRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String nextFetchToken) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}/browse(nextFetchToken='{nextFetchToken}'){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters); + this.pathParameters.put("nextFetchToken", nextFetchToken); + } + /** + * Instantiates a new {@link BrowseWithNextFetchTokenRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public BrowseWithNextFetchTokenRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/browseSessions/{browseSessionBase%2Did}/browse(nextFetchToken='{nextFetchToken}'){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl); + } + /** + * Invoke function browse + * @return a {@link BrowseWithNextFetchTokenGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public BrowseWithNextFetchTokenGetResponse get() { + return get(null); + } + /** + * Invoke function browse + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link BrowseWithNextFetchTokenGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public BrowseWithNextFetchTokenGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, BrowseWithNextFetchTokenGetResponse::createFromDiscriminatorValue); + } + /** + * Invoke function browse + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Invoke function browse + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link BrowseWithNextFetchTokenRequestBuilder} + */ + @jakarta.annotation.Nonnull + public BrowseWithNextFetchTokenRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new BrowseWithNextFetchTokenRequestBuilder(rawUrl, requestAdapter); + } + /** + * Invoke function browse + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/OneDriveForBusinessBrowseSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/OneDriveForBusinessBrowseSessionsRequestBuilder.java new file mode 100644 index 00000000000..0e8cf9a9574 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/OneDriveForBusinessBrowseSessionsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.OneDriveForBusinessBrowseSession; +import com.microsoft.graph.models.OneDriveForBusinessBrowseSessionCollectionResponse; +import com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.count.CountRequestBuilder; +import com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item.OneDriveForBusinessBrowseSessionItemRequestBuilder; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the oneDriveForBusinessBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class OneDriveForBusinessBrowseSessionsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the oneDriveForBusinessBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + * @param oneDriveForBusinessBrowseSessionId The unique identifier of oneDriveForBusinessBrowseSession + * @return a {@link OneDriveForBusinessBrowseSessionItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public OneDriveForBusinessBrowseSessionItemRequestBuilder byOneDriveForBusinessBrowseSessionId(@jakarta.annotation.Nonnull final String oneDriveForBusinessBrowseSessionId) { + Objects.requireNonNull(oneDriveForBusinessBrowseSessionId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("oneDriveForBusinessBrowseSession%2Did", oneDriveForBusinessBrowseSessionId); + return new OneDriveForBusinessBrowseSessionItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link OneDriveForBusinessBrowseSessionsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public OneDriveForBusinessBrowseSessionsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessBrowseSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link OneDriveForBusinessBrowseSessionsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public OneDriveForBusinessBrowseSessionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessBrowseSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get oneDriveForBusinessBrowseSessions from solutions + * @return a {@link OneDriveForBusinessBrowseSessionCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public OneDriveForBusinessBrowseSessionCollectionResponse get() { + return get(null); + } + /** + * Get oneDriveForBusinessBrowseSessions from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link OneDriveForBusinessBrowseSessionCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public OneDriveForBusinessBrowseSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, OneDriveForBusinessBrowseSessionCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to oneDriveForBusinessBrowseSessions for solutions + * @param body The request body + * @return a {@link OneDriveForBusinessBrowseSession} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public OneDriveForBusinessBrowseSession post(@jakarta.annotation.Nonnull final OneDriveForBusinessBrowseSession body) { + return post(body, null); + } + /** + * Create new navigation property to oneDriveForBusinessBrowseSessions for solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link OneDriveForBusinessBrowseSession} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public OneDriveForBusinessBrowseSession post(@jakarta.annotation.Nonnull final OneDriveForBusinessBrowseSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, OneDriveForBusinessBrowseSession::createFromDiscriminatorValue); + } + /** + * Get oneDriveForBusinessBrowseSessions from solutions + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get oneDriveForBusinessBrowseSessions from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to oneDriveForBusinessBrowseSessions for solutions + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OneDriveForBusinessBrowseSession body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to oneDriveForBusinessBrowseSessions for solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OneDriveForBusinessBrowseSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link OneDriveForBusinessBrowseSessionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public OneDriveForBusinessBrowseSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new OneDriveForBusinessBrowseSessionsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get oneDriveForBusinessBrowseSessions from solutions + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/count/CountRequestBuilder.java new file mode 100644 index 00000000000..99a5a2e3e78 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.count; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessBrowseSessions/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessBrowseSessions/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/item/OneDriveForBusinessBrowseSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/item/OneDriveForBusinessBrowseSessionItemRequestBuilder.java new file mode 100644 index 00000000000..1fc27346ef9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessbrowsesessions/item/OneDriveForBusinessBrowseSessionItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.solutions.backuprestore.onedriveforbusinessbrowsesessions.item; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.OneDriveForBusinessBrowseSession; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the oneDriveForBusinessBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class OneDriveForBusinessBrowseSessionItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link OneDriveForBusinessBrowseSessionItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public OneDriveForBusinessBrowseSessionItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessBrowseSessions/{oneDriveForBusinessBrowseSession%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link OneDriveForBusinessBrowseSessionItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public OneDriveForBusinessBrowseSessionItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessBrowseSessions/{oneDriveForBusinessBrowseSession%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property oneDriveForBusinessBrowseSessions for solutions + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property oneDriveForBusinessBrowseSessions for solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Get oneDriveForBusinessBrowseSessions from solutions + * @return a {@link OneDriveForBusinessBrowseSession} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public OneDriveForBusinessBrowseSession get() { + return get(null); + } + /** + * Get oneDriveForBusinessBrowseSessions from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link OneDriveForBusinessBrowseSession} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public OneDriveForBusinessBrowseSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, OneDriveForBusinessBrowseSession::createFromDiscriminatorValue); + } + /** + * Update the navigation property oneDriveForBusinessBrowseSessions in solutions + * @param body The request body + * @return a {@link OneDriveForBusinessBrowseSession} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public OneDriveForBusinessBrowseSession patch(@jakarta.annotation.Nonnull final OneDriveForBusinessBrowseSession body) { + return patch(body, null); + } + /** + * Update the navigation property oneDriveForBusinessBrowseSessions in solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link OneDriveForBusinessBrowseSession} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public OneDriveForBusinessBrowseSession patch(@jakarta.annotation.Nonnull final OneDriveForBusinessBrowseSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, OneDriveForBusinessBrowseSession::createFromDiscriminatorValue); + } + /** + * Delete navigation property oneDriveForBusinessBrowseSessions for solutions + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property oneDriveForBusinessBrowseSessions for solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get oneDriveForBusinessBrowseSessions from solutions + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get oneDriveForBusinessBrowseSessions from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property oneDriveForBusinessBrowseSessions in solutions + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OneDriveForBusinessBrowseSession body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property oneDriveForBusinessBrowseSessions in solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OneDriveForBusinessBrowseSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link OneDriveForBusinessBrowseSessionItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public OneDriveForBusinessBrowseSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new OneDriveForBusinessBrowseSessionItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Get oneDriveForBusinessBrowseSessions from solutions + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/OneDriveForBusinessRestoreSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/OneDriveForBusinessRestoreSessionItemRequestBuilder.java index e534f1e9ec0..fc2c9d6de0e 100644 --- a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/OneDriveForBusinessRestoreSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/OneDriveForBusinessRestoreSessionItemRequestBuilder.java @@ -4,6 +4,7 @@ import com.microsoft.graph.models.OneDriveForBusinessRestoreSession; import com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.driverestoreartifacts.DriveRestoreArtifactsRequestBuilder; import com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.driverestoreartifactsbulkadditionrequests.DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder; +import com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.GranularDriveRestoreArtifactsRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -38,6 +39,14 @@ public DriveRestoreArtifactsRequestBuilder driveRestoreArtifacts() { public DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder driveRestoreArtifactsBulkAdditionRequests() { return new DriveRestoreArtifactsBulkAdditionRequestsRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the granularDriveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. + * @return a {@link GranularDriveRestoreArtifactsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GranularDriveRestoreArtifactsRequestBuilder granularDriveRestoreArtifacts() { + return new GranularDriveRestoreArtifactsRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link OneDriveForBusinessRestoreSessionItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/GranularDriveRestoreArtifactsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/GranularDriveRestoreArtifactsRequestBuilder.java new file mode 100644 index 00000000000..2e9df18eb9f --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/GranularDriveRestoreArtifactsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts; + +import com.microsoft.graph.models.GranularDriveRestoreArtifact; +import com.microsoft.graph.models.GranularDriveRestoreArtifactCollectionResponse; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.count.CountRequestBuilder; +import com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item.GranularDriveRestoreArtifactItemRequestBuilder; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the granularDriveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GranularDriveRestoreArtifactsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the granularDriveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. + * @param granularDriveRestoreArtifactId The unique identifier of granularDriveRestoreArtifact + * @return a {@link GranularDriveRestoreArtifactItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GranularDriveRestoreArtifactItemRequestBuilder byGranularDriveRestoreArtifactId(@jakarta.annotation.Nonnull final String granularDriveRestoreArtifactId) { + Objects.requireNonNull(granularDriveRestoreArtifactId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("granularDriveRestoreArtifact%2Did", granularDriveRestoreArtifactId); + return new GranularDriveRestoreArtifactItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link GranularDriveRestoreArtifactsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GranularDriveRestoreArtifactsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/granularDriveRestoreArtifacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link GranularDriveRestoreArtifactsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GranularDriveRestoreArtifactsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/granularDriveRestoreArtifacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get granularDriveRestoreArtifacts from solutions + * @return a {@link GranularDriveRestoreArtifactCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GranularDriveRestoreArtifactCollectionResponse get() { + return get(null); + } + /** + * Get granularDriveRestoreArtifacts from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GranularDriveRestoreArtifactCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GranularDriveRestoreArtifactCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GranularDriveRestoreArtifactCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to granularDriveRestoreArtifacts for solutions + * @param body The request body + * @return a {@link GranularDriveRestoreArtifact} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GranularDriveRestoreArtifact post(@jakarta.annotation.Nonnull final GranularDriveRestoreArtifact body) { + return post(body, null); + } + /** + * Create new navigation property to granularDriveRestoreArtifacts for solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GranularDriveRestoreArtifact} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GranularDriveRestoreArtifact post(@jakarta.annotation.Nonnull final GranularDriveRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GranularDriveRestoreArtifact::createFromDiscriminatorValue); + } + /** + * Get granularDriveRestoreArtifacts from solutions + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get granularDriveRestoreArtifacts from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to granularDriveRestoreArtifacts for solutions + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GranularDriveRestoreArtifact body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to granularDriveRestoreArtifacts for solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GranularDriveRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GranularDriveRestoreArtifactsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GranularDriveRestoreArtifactsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GranularDriveRestoreArtifactsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get granularDriveRestoreArtifacts from solutions + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/count/CountRequestBuilder.java new file mode 100644 index 00000000000..435b29fbbba --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.count; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/granularDriveRestoreArtifacts/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/granularDriveRestoreArtifacts/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/item/GranularDriveRestoreArtifactItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/item/GranularDriveRestoreArtifactItemRequestBuilder.java new file mode 100644 index 00000000000..0729706ba9e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/onedriveforbusinessrestoresessions/item/granulardriverestoreartifacts/item/GranularDriveRestoreArtifactItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.solutions.backuprestore.onedriveforbusinessrestoresessions.item.granulardriverestoreartifacts.item; + +import com.microsoft.graph.models.GranularDriveRestoreArtifact; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the granularDriveRestoreArtifacts property of the microsoft.graph.oneDriveForBusinessRestoreSession entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GranularDriveRestoreArtifactItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GranularDriveRestoreArtifactItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GranularDriveRestoreArtifactItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/granularDriveRestoreArtifacts/{granularDriveRestoreArtifact%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link GranularDriveRestoreArtifactItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GranularDriveRestoreArtifactItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/oneDriveForBusinessRestoreSessions/{oneDriveForBusinessRestoreSession%2Did}/granularDriveRestoreArtifacts/{granularDriveRestoreArtifact%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property granularDriveRestoreArtifacts for solutions + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property granularDriveRestoreArtifacts for solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Get granularDriveRestoreArtifacts from solutions + * @return a {@link GranularDriveRestoreArtifact} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GranularDriveRestoreArtifact get() { + return get(null); + } + /** + * Get granularDriveRestoreArtifacts from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GranularDriveRestoreArtifact} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GranularDriveRestoreArtifact get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GranularDriveRestoreArtifact::createFromDiscriminatorValue); + } + /** + * Update the navigation property granularDriveRestoreArtifacts in solutions + * @param body The request body + * @return a {@link GranularDriveRestoreArtifact} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GranularDriveRestoreArtifact patch(@jakarta.annotation.Nonnull final GranularDriveRestoreArtifact body) { + return patch(body, null); + } + /** + * Update the navigation property granularDriveRestoreArtifacts in solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GranularDriveRestoreArtifact} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GranularDriveRestoreArtifact patch(@jakarta.annotation.Nonnull final GranularDriveRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GranularDriveRestoreArtifact::createFromDiscriminatorValue); + } + /** + * Delete navigation property granularDriveRestoreArtifacts for solutions + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property granularDriveRestoreArtifacts for solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get granularDriveRestoreArtifacts from solutions + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get granularDriveRestoreArtifacts from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property granularDriveRestoreArtifacts in solutions + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GranularDriveRestoreArtifact body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property granularDriveRestoreArtifacts in solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GranularDriveRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GranularDriveRestoreArtifactItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GranularDriveRestoreArtifactItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GranularDriveRestoreArtifactItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Get granularDriveRestoreArtifacts from solutions + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointbrowsesessions/SharePointBrowseSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointbrowsesessions/SharePointBrowseSessionsRequestBuilder.java new file mode 100644 index 00000000000..4dd91f1a56a --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointbrowsesessions/SharePointBrowseSessionsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.SharePointBrowseSession; +import com.microsoft.graph.models.SharePointBrowseSessionCollectionResponse; +import com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.count.CountRequestBuilder; +import com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item.SharePointBrowseSessionItemRequestBuilder; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the sharePointBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SharePointBrowseSessionsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the sharePointBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + * @param sharePointBrowseSessionId The unique identifier of sharePointBrowseSession + * @return a {@link SharePointBrowseSessionItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SharePointBrowseSessionItemRequestBuilder bySharePointBrowseSessionId(@jakarta.annotation.Nonnull final String sharePointBrowseSessionId) { + Objects.requireNonNull(sharePointBrowseSessionId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("sharePointBrowseSession%2Did", sharePointBrowseSessionId); + return new SharePointBrowseSessionItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link SharePointBrowseSessionsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SharePointBrowseSessionsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointBrowseSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link SharePointBrowseSessionsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SharePointBrowseSessionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointBrowseSessions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get sharePointBrowseSessions from solutions + * @return a {@link SharePointBrowseSessionCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointBrowseSessionCollectionResponse get() { + return get(null); + } + /** + * Get sharePointBrowseSessions from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointBrowseSessionCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointBrowseSessionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SharePointBrowseSessionCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to sharePointBrowseSessions for solutions + * @param body The request body + * @return a {@link SharePointBrowseSession} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointBrowseSession post(@jakarta.annotation.Nonnull final SharePointBrowseSession body) { + return post(body, null); + } + /** + * Create new navigation property to sharePointBrowseSessions for solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointBrowseSession} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointBrowseSession post(@jakarta.annotation.Nonnull final SharePointBrowseSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SharePointBrowseSession::createFromDiscriminatorValue); + } + /** + * Get sharePointBrowseSessions from solutions + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get sharePointBrowseSessions from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to sharePointBrowseSessions for solutions + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharePointBrowseSession body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to sharePointBrowseSessions for solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharePointBrowseSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link SharePointBrowseSessionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SharePointBrowseSessionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new SharePointBrowseSessionsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get sharePointBrowseSessions from solutions + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointbrowsesessions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointbrowsesessions/count/CountRequestBuilder.java new file mode 100644 index 00000000000..1a0eeae8d51 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointbrowsesessions/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.count; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointBrowseSessions/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointBrowseSessions/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointbrowsesessions/item/SharePointBrowseSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointbrowsesessions/item/SharePointBrowseSessionItemRequestBuilder.java new file mode 100644 index 00000000000..771f15baae7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointbrowsesessions/item/SharePointBrowseSessionItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.solutions.backuprestore.sharepointbrowsesessions.item; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.SharePointBrowseSession; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the sharePointBrowseSessions property of the microsoft.graph.backupRestoreRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class SharePointBrowseSessionItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link SharePointBrowseSessionItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SharePointBrowseSessionItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointBrowseSessions/{sharePointBrowseSession%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link SharePointBrowseSessionItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public SharePointBrowseSessionItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointBrowseSessions/{sharePointBrowseSession%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property sharePointBrowseSessions for solutions + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property sharePointBrowseSessions for solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Get sharePointBrowseSessions from solutions + * @return a {@link SharePointBrowseSession} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointBrowseSession get() { + return get(null); + } + /** + * Get sharePointBrowseSessions from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointBrowseSession} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointBrowseSession get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SharePointBrowseSession::createFromDiscriminatorValue); + } + /** + * Update the navigation property sharePointBrowseSessions in solutions + * @param body The request body + * @return a {@link SharePointBrowseSession} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointBrowseSession patch(@jakarta.annotation.Nonnull final SharePointBrowseSession body) { + return patch(body, null); + } + /** + * Update the navigation property sharePointBrowseSessions in solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link SharePointBrowseSession} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public SharePointBrowseSession patch(@jakarta.annotation.Nonnull final SharePointBrowseSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, SharePointBrowseSession::createFromDiscriminatorValue); + } + /** + * Delete navigation property sharePointBrowseSessions for solutions + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property sharePointBrowseSessions for solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get sharePointBrowseSessions from solutions + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get sharePointBrowseSessions from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property sharePointBrowseSessions in solutions + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointBrowseSession body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property sharePointBrowseSessions in solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharePointBrowseSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link SharePointBrowseSessionItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public SharePointBrowseSessionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new SharePointBrowseSessionItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Get sharePointBrowseSessions from solutions + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointrestoresessions/item/SharePointRestoreSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointrestoresessions/item/SharePointRestoreSessionItemRequestBuilder.java index c8988790670..8509c4150c2 100644 --- a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointrestoresessions/item/SharePointRestoreSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointrestoresessions/item/SharePointRestoreSessionItemRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.models.odataerrors.ODataError; import com.microsoft.graph.models.SharePointRestoreSession; +import com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.GranularSiteRestoreArtifactsRequestBuilder; import com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.siterestoreartifacts.SiteRestoreArtifactsRequestBuilder; import com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.siterestoreartifactsbulkadditionrequests.SiteRestoreArtifactsBulkAdditionRequestsRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; @@ -22,6 +23,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SharePointRestoreSessionItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the granularSiteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. + * @return a {@link GranularSiteRestoreArtifactsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GranularSiteRestoreArtifactsRequestBuilder granularSiteRestoreArtifacts() { + return new GranularSiteRestoreArtifactsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the siteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. * @return a {@link SiteRestoreArtifactsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/GranularSiteRestoreArtifactsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/GranularSiteRestoreArtifactsRequestBuilder.java new file mode 100644 index 00000000000..f245509ee10 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/GranularSiteRestoreArtifactsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts; + +import com.microsoft.graph.models.GranularSiteRestoreArtifact; +import com.microsoft.graph.models.GranularSiteRestoreArtifactCollectionResponse; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.count.CountRequestBuilder; +import com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item.GranularSiteRestoreArtifactItemRequestBuilder; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the granularSiteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GranularSiteRestoreArtifactsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the granularSiteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. + * @param granularSiteRestoreArtifactId The unique identifier of granularSiteRestoreArtifact + * @return a {@link GranularSiteRestoreArtifactItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GranularSiteRestoreArtifactItemRequestBuilder byGranularSiteRestoreArtifactId(@jakarta.annotation.Nonnull final String granularSiteRestoreArtifactId) { + Objects.requireNonNull(granularSiteRestoreArtifactId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("granularSiteRestoreArtifact%2Did", granularSiteRestoreArtifactId); + return new GranularSiteRestoreArtifactItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link GranularSiteRestoreArtifactsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GranularSiteRestoreArtifactsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/granularSiteRestoreArtifacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link GranularSiteRestoreArtifactsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GranularSiteRestoreArtifactsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/granularSiteRestoreArtifacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get granularSiteRestoreArtifacts from solutions + * @return a {@link GranularSiteRestoreArtifactCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GranularSiteRestoreArtifactCollectionResponse get() { + return get(null); + } + /** + * Get granularSiteRestoreArtifacts from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GranularSiteRestoreArtifactCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GranularSiteRestoreArtifactCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GranularSiteRestoreArtifactCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to granularSiteRestoreArtifacts for solutions + * @param body The request body + * @return a {@link GranularSiteRestoreArtifact} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GranularSiteRestoreArtifact post(@jakarta.annotation.Nonnull final GranularSiteRestoreArtifact body) { + return post(body, null); + } + /** + * Create new navigation property to granularSiteRestoreArtifacts for solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GranularSiteRestoreArtifact} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GranularSiteRestoreArtifact post(@jakarta.annotation.Nonnull final GranularSiteRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GranularSiteRestoreArtifact::createFromDiscriminatorValue); + } + /** + * Get granularSiteRestoreArtifacts from solutions + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get granularSiteRestoreArtifacts from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to granularSiteRestoreArtifacts for solutions + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GranularSiteRestoreArtifact body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to granularSiteRestoreArtifacts for solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GranularSiteRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GranularSiteRestoreArtifactsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GranularSiteRestoreArtifactsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GranularSiteRestoreArtifactsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get granularSiteRestoreArtifacts from solutions + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/count/CountRequestBuilder.java new file mode 100644 index 00000000000..3f858671398 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.count; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/granularSiteRestoreArtifacts/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/granularSiteRestoreArtifacts/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/item/GranularSiteRestoreArtifactItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/item/GranularSiteRestoreArtifactItemRequestBuilder.java new file mode 100644 index 00000000000..a61a43a3b0d --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/solutions/backuprestore/sharepointrestoresessions/item/granularsiterestoreartifacts/item/GranularSiteRestoreArtifactItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.solutions.backuprestore.sharepointrestoresessions.item.granularsiterestoreartifacts.item; + +import com.microsoft.graph.models.GranularSiteRestoreArtifact; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the granularSiteRestoreArtifacts property of the microsoft.graph.sharePointRestoreSession entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GranularSiteRestoreArtifactItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GranularSiteRestoreArtifactItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GranularSiteRestoreArtifactItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/granularSiteRestoreArtifacts/{granularSiteRestoreArtifact%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link GranularSiteRestoreArtifactItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GranularSiteRestoreArtifactItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/solutions/backupRestore/sharePointRestoreSessions/{sharePointRestoreSession%2Did}/granularSiteRestoreArtifacts/{granularSiteRestoreArtifact%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property granularSiteRestoreArtifacts for solutions + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property granularSiteRestoreArtifacts for solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Get granularSiteRestoreArtifacts from solutions + * @return a {@link GranularSiteRestoreArtifact} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GranularSiteRestoreArtifact get() { + return get(null); + } + /** + * Get granularSiteRestoreArtifacts from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GranularSiteRestoreArtifact} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GranularSiteRestoreArtifact get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GranularSiteRestoreArtifact::createFromDiscriminatorValue); + } + /** + * Update the navigation property granularSiteRestoreArtifacts in solutions + * @param body The request body + * @return a {@link GranularSiteRestoreArtifact} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GranularSiteRestoreArtifact patch(@jakarta.annotation.Nonnull final GranularSiteRestoreArtifact body) { + return patch(body, null); + } + /** + * Update the navigation property granularSiteRestoreArtifacts in solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GranularSiteRestoreArtifact} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public GranularSiteRestoreArtifact patch(@jakarta.annotation.Nonnull final GranularSiteRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, GranularSiteRestoreArtifact::createFromDiscriminatorValue); + } + /** + * Delete navigation property granularSiteRestoreArtifacts for solutions + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property granularSiteRestoreArtifacts for solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get granularSiteRestoreArtifacts from solutions + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get granularSiteRestoreArtifacts from solutions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property granularSiteRestoreArtifacts in solutions + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GranularSiteRestoreArtifact body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property granularSiteRestoreArtifacts in solutions + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final GranularSiteRestoreArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link GranularSiteRestoreArtifactItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GranularSiteRestoreArtifactItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GranularSiteRestoreArtifactItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Get granularSiteRestoreArtifacts from solutions + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/SharePointGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/SharePointGroupsRequestBuilder.java index 172a076331e..85ec843f3c4 100644 --- a/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/SharePointGroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/SharePointGroupsRequestBuilder.java @@ -60,7 +60,7 @@ public SharePointGroupsRequestBuilder(@jakarta.annotation.Nonnull final String r super(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. * @return a {@link SharePointGroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public SharePointGroupCollectionResponse get() { return get(null); } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointGroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public SharePointGroup post(@jakarta.annotation.Nonnull final SharePointGroup bo return this.requestAdapter.send(requestInfo, errorMapping, SharePointGroup::createFromDiscriminatorValue); } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public SharePointGroupsRequestBuilder withUrl(@jakarta.annotation.Nonnull final return new SharePointGroupsRequestBuilder(rawUrl, requestAdapter); } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/SharePointGroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/SharePointGroupItemRequestBuilder.java index a6f42ddda95..2515de139c0 100644 --- a/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/SharePointGroupItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/SharePointGroupItemRequestBuilder.java @@ -64,7 +64,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. * @return a {@link SharePointGroup} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -73,7 +73,7 @@ public SharePointGroup get() { return get(null); } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointGroup} * @throws ODataError When receiving a 4XX or 5XX status code @@ -131,7 +131,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -139,7 +139,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -191,7 +191,7 @@ public SharePointGroupItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fin public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/members/MembersRequestBuilder.java index 16621be216d..3646dd467c1 100644 --- a/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/members/MembersRequestBuilder.java @@ -60,7 +60,7 @@ public MembersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. * @return a {@link SharePointGroupMemberCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public SharePointGroupMemberCollectionResponse get() { return get(null); } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointGroupMemberCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public SharePointGroupMember post(@jakarta.annotation.Nonnull final SharePointGr return this.requestAdapter.send(requestInfo, errorMapping, SharePointGroupMember::createFromDiscriminatorValue); } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public MembersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String ra return new MembersRequestBuilder(rawUrl, requestAdapter); } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/members/item/SharePointGroupMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/members/item/SharePointGroupMemberItemRequestBuilder.java index c68f26c0723..b7348ff1370 100644 --- a/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/members/item/SharePointGroupMemberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/containers/item/sharepointgroups/item/members/item/SharePointGroupMemberItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. * @return a {@link SharePointGroupMember} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public SharePointGroupMember get() { return get(null); } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointGroupMember} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public SharePointGroupMemberItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/SharePointGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/SharePointGroupsRequestBuilder.java index 1ee92f17f37..62c641a52ea 100644 --- a/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/SharePointGroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/SharePointGroupsRequestBuilder.java @@ -60,7 +60,7 @@ public SharePointGroupsRequestBuilder(@jakarta.annotation.Nonnull final String r super(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. * @return a {@link SharePointGroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public SharePointGroupCollectionResponse get() { return get(null); } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointGroupCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public SharePointGroup post(@jakarta.annotation.Nonnull final SharePointGroup bo return this.requestAdapter.send(requestInfo, errorMapping, SharePointGroup::createFromDiscriminatorValue); } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public SharePointGroupsRequestBuilder withUrl(@jakarta.annotation.Nonnull final return new SharePointGroupsRequestBuilder(rawUrl, requestAdapter); } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/SharePointGroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/SharePointGroupItemRequestBuilder.java index b42fab09529..1609ed431af 100644 --- a/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/SharePointGroupItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/SharePointGroupItemRequestBuilder.java @@ -64,7 +64,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. * @return a {@link SharePointGroup} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -73,7 +73,7 @@ public SharePointGroup get() { return get(null); } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointGroup} * @throws ODataError When receiving a 4XX or 5XX status code @@ -131,7 +131,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -139,7 +139,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -191,7 +191,7 @@ public SharePointGroupItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fin public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get sharePointGroups from storage + * The collection of sharePointGroup objects local to the container. Read-write. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/members/MembersRequestBuilder.java index ded4f8606cb..14918fcfea6 100644 --- a/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/members/MembersRequestBuilder.java @@ -60,7 +60,7 @@ public MembersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. * @return a {@link SharePointGroupMemberCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public SharePointGroupMemberCollectionResponse get() { return get(null); } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointGroupMemberCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public SharePointGroupMember post(@jakarta.annotation.Nonnull final SharePointGr return this.requestAdapter.send(requestInfo, errorMapping, SharePointGroupMember::createFromDiscriminatorValue); } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public MembersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String ra return new MembersRequestBuilder(rawUrl, requestAdapter); } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/members/item/SharePointGroupMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/members/item/SharePointGroupMemberItemRequestBuilder.java index 2873d898ed7..3ad3d181c1d 100644 --- a/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/members/item/SharePointGroupMemberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/storage/filestorage/deletedcontainers/item/sharepointgroups/item/members/item/SharePointGroupMemberItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. * @return a {@link SharePointGroupMember} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public SharePointGroupMember get() { return get(null); } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link SharePointGroupMember} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public SharePointGroupMemberItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get members from storage + * The set of members in the sharePointGroup. Read-write. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/users/item/approleassignments/AppRoleAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/approleassignments/AppRoleAssignmentsRequestBuilder.java index 22328b11a21..b89aa5212e2 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/approleassignments/AppRoleAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/approleassignments/AppRoleAssignmentsRequestBuilder.java @@ -60,21 +60,21 @@ public AppRoleAssignmentsRequestBuilder(@jakarta.annotation.Nonnull final String super(requestAdapter, "{+baseurl}/users/{user%2Did}/appRoleAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * 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. * @return a {@link AppRoleAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public AppRoleAssignmentCollectionResponse get() { return get(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppRoleAssignmentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public AppRoleAssignmentCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -84,23 +84,23 @@ public AppRoleAssignmentCollectionResponse get(@jakarta.annotation.Nullable fina return this.requestAdapter.send(requestInfo, errorMapping, AppRoleAssignmentCollectionResponse::createFromDiscriminatorValue); } /** - * 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. * @param body The request body * @return a {@link AppRoleAssignment} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public AppRoleAssignment post(@jakarta.annotation.Nonnull final AppRoleAssignment body) { return post(body, null); } /** - * 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. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppRoleAssignment} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public AppRoleAssignment post(@jakarta.annotation.Nonnull final AppRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -111,7 +111,7 @@ public AppRoleAssignment post(@jakarta.annotation.Nonnull final AppRoleAssignmen return this.requestAdapter.send(requestInfo, errorMapping, AppRoleAssignment::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * 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. * @param body The request body * @return a {@link RequestInformation} */ @@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * 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. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -165,7 +165,7 @@ public AppRoleAssignmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull fina return new 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. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/users/item/authentication/fido2methods/Fido2MethodsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/authentication/fido2methods/Fido2MethodsRequestBuilder.java index dec0fb092e8..6b98496820a 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/authentication/fido2methods/Fido2MethodsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/authentication/fido2methods/Fido2MethodsRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.models.Fido2AuthenticationMethodCollectionResponse; import com.microsoft.graph.models.odataerrors.ODataError; import com.microsoft.graph.users.item.authentication.fido2methods.count.CountRequestBuilder; +import com.microsoft.graph.users.item.authentication.fido2methods.creationoptions.CreationOptionsRequestBuilder; import com.microsoft.graph.users.item.authentication.fido2methods.item.Fido2AuthenticationMethodItemRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; @@ -30,6 +31,14 @@ public class Fido2MethodsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the creationOptions method. + * @return a {@link CreationOptionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CreationOptionsRequestBuilder creationOptions() { + return new CreationOptionsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the fido2Methods property of the microsoft.graph.authentication entity. * @param fido2AuthenticationMethodId The unique identifier of fido2AuthenticationMethod diff --git a/src/main/java/com/microsoft/graph/generated/users/item/authentication/fido2methods/creationoptions/CreationOptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/authentication/fido2methods/creationoptions/CreationOptionsRequestBuilder.java new file mode 100644 index 00000000000..dcb3be04b22 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/users/item/authentication/fido2methods/creationoptions/CreationOptionsRequestBuilder.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.users.item.authentication.fido2methods.creationoptions; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.WebauthnCredentialCreationOptions; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the creationOptions method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CreationOptionsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CreationOptionsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CreationOptionsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/fido2Methods/creationOptions()", pathParameters); + } + /** + * Instantiates a new {@link CreationOptionsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CreationOptionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/fido2Methods/creationOptions()", rawUrl); + } + /** + * Invoke function creationOptions + * @return a {@link WebauthnCredentialCreationOptions} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public WebauthnCredentialCreationOptions get() { + return get(null); + } + /** + * Invoke function creationOptions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link WebauthnCredentialCreationOptions} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public WebauthnCredentialCreationOptions get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, WebauthnCredentialCreationOptions::createFromDiscriminatorValue); + } + /** + * Invoke function creationOptions + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Invoke function creationOptions + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CreationOptionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CreationOptionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CreationOptionsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/calendar/permanentdelete/PermanentDeleteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/calendar/permanentdelete/PermanentDeleteRequestBuilder.java index 9d29e8d018a..68f9e5e0b35 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/calendar/permanentdelete/PermanentDeleteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/calendar/permanentdelete/PermanentDeleteRequestBuilder.java @@ -35,18 +35,16 @@ public PermanentDeleteRequestBuilder(@jakarta.annotation.Nonnull final String ra super(requestAdapter, "{+baseurl}/users/{user%2Did}/calendar/permanentDelete", rawUrl); } /** - * 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 * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here */ public void post() { post(null); } /** - * 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 * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here */ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); @@ -55,7 +53,7 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * 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 * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -63,7 +61,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * 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 * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/users/item/calendargroups/item/calendars/item/permanentdelete/PermanentDeleteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/calendargroups/item/calendars/item/permanentdelete/PermanentDeleteRequestBuilder.java index 609c5962fee..99e2c4b3218 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/calendargroups/item/calendars/item/permanentdelete/PermanentDeleteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/calendargroups/item/calendars/item/permanentdelete/PermanentDeleteRequestBuilder.java @@ -35,18 +35,16 @@ public PermanentDeleteRequestBuilder(@jakarta.annotation.Nonnull final String ra super(requestAdapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/permanentDelete", rawUrl); } /** - * 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 * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here */ public void post() { post(null); } /** - * 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 * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here */ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); @@ -55,7 +53,7 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * 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 * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -63,7 +61,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * 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 * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/users/item/calendars/item/permanentdelete/PermanentDeleteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/calendars/item/permanentdelete/PermanentDeleteRequestBuilder.java index 9c9a8682904..54afa5ce854 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/calendars/item/permanentdelete/PermanentDeleteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/calendars/item/permanentdelete/PermanentDeleteRequestBuilder.java @@ -37,7 +37,6 @@ public PermanentDeleteRequestBuilder(@jakarta.annotation.Nonnull final String ra /** * 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. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here */ public void post() { post(null); @@ -46,7 +45,6 @@ public void post() { * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here */ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); diff --git a/src/main/java/com/microsoft/graph/generated/users/item/directreports/DirectReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/directreports/DirectReportsRequestBuilder.java index 729b8398442..b4ebd94e787 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/directreports/DirectReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/directreports/DirectReportsRequestBuilder.java @@ -77,19 +77,21 @@ public DirectReportsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/users/{user%2Did}/directReports{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * 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. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public DirectoryObjectCollectionResponse get() { return get(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -99,7 +101,7 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -107,7 +109,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -129,7 +131,7 @@ public DirectReportsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new DirectReportsRequestBuilder(rawUrl, 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. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/users/item/manager/ManagerRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/manager/ManagerRequestBuilder.java index 72f9c568060..95036d220af 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/manager/ManagerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/manager/ManagerRequestBuilder.java @@ -46,21 +46,21 @@ public ManagerRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/users/{user%2Did}/manager{?%24expand,%24select}", rawUrl); } /** - * 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. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DirectoryObject get() { return get(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -70,7 +70,7 @@ public DirectoryObject get(@jakarta.annotation.Nullable final java.util.function return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -78,7 +78,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -100,7 +100,7 @@ public ManagerRequestBuilder withUrl(@jakarta.annotation.Nonnull final String ra return new ManagerRequestBuilder(rawUrl, requestAdapter); } /** - * Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. + * Returns the user or organizational contact assigned as the agentUser's manager. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/users/item/manager/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/manager/ref/RefRequestBuilder.java index 9db760feb49..7e981b4e213 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/manager/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/manager/ref/RefRequestBuilder.java @@ -36,18 +36,18 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar super(requestAdapter, "{+baseurl}/users/{user%2Did}/manager/$ref", rawUrl); } /** - * Remove a user's manager. + * Remove an agentUser's manager. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Remove a user's manager. + * Remove an agentUser's manager. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -56,21 +56,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * 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. * @return a {@link String} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public String get() { return get(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link String} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public String get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -103,7 +103,7 @@ public void put(@jakarta.annotation.Nonnull final ReferenceUpdate body, @jakarta this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Remove a user's manager. + * Remove an agentUser's manager. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -111,7 +111,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Remove a user's manager. + * Remove an agentUser's manager. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -123,7 +123,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/users/item/memberof/MemberOfRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/memberof/MemberOfRequestBuilder.java index 8047b0d5169..c1dc8ec6694 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/memberof/MemberOfRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/memberof/MemberOfRequestBuilder.java @@ -86,21 +86,21 @@ public MemberOfRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ super(requestAdapter, "{+baseurl}/users/{user%2Did}/memberOf{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * 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. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DirectoryObjectCollectionResponse get() { return get(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -110,7 +110,7 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -118,7 +118,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -140,7 +140,7 @@ public MemberOfRequestBuilder withUrl(@jakarta.annotation.Nonnull final String r return new MemberOfRequestBuilder(rawUrl, requestAdapter); } /** - * 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. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/users/item/ownedobjects/OwnedObjectsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/ownedobjects/OwnedObjectsRequestBuilder.java index dbd841d78f8..85cf575b0ec 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/ownedobjects/OwnedObjectsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/ownedobjects/OwnedObjectsRequestBuilder.java @@ -86,19 +86,21 @@ public OwnedObjectsRequestBuilder(@jakarta.annotation.Nonnull final String rawUr super(requestAdapter, "{+baseurl}/users/{user%2Did}/ownedObjects{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * 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. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public DirectoryObjectCollectionResponse get() { return get(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -108,7 +110,7 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -116,7 +118,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -138,7 +140,7 @@ public OwnedObjectsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri return new OwnedObjectsRequestBuilder(rawUrl, 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. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/users/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/restore/RestoreRequestBuilder.java index 6786c5fbbc4..92474e36924 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/restore/RestoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/restore/RestoreRequestBuilder.java @@ -36,7 +36,7 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/users/{user%2Did}/restore", rawUrl); } /** - * 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. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -46,7 +46,7 @@ public DirectoryObject post() { return post(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObject} * @throws ODataError When receiving a 4XX or 5XX status code @@ -60,7 +60,7 @@ public DirectoryObject post(@jakarta.annotation.Nullable final java.util.functio return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/users/item/sponsors/SponsorsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/sponsors/SponsorsRequestBuilder.java index 7c5e39e13e6..56323cb1ba2 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/sponsors/SponsorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/sponsors/SponsorsRequestBuilder.java @@ -68,21 +68,21 @@ public SponsorsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ super(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * 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. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DirectoryObjectCollectionResponse get() { return get(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -92,7 +92,7 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -100,7 +100,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -122,7 +122,7 @@ public SponsorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String r return new SponsorsRequestBuilder(rawUrl, requestAdapter); } /** - * 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. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/users/item/sponsors/item/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/sponsors/item/ref/RefRequestBuilder.java index 5cadd886c82..217a4334629 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/sponsors/item/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/sponsors/item/ref/RefRequestBuilder.java @@ -35,18 +35,18 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar super(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/{directoryObject%2Did}/$ref", rawUrl); } /** - * Remove a user's sponsor. + * Remove an agentUser's sponsor. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Remove a user's sponsor. + * Remove an agentUser's sponsor. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Remove a user's sponsor. + * Remove an agentUser's sponsor. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -63,7 +63,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Remove a user's sponsor. + * Remove an agentUser's sponsor. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/generated/users/item/sponsors/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/sponsors/ref/RefRequestBuilder.java index 73326cdd569..03c5786cc9c 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/sponsors/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/sponsors/ref/RefRequestBuilder.java @@ -38,18 +38,18 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar super(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl); } /** - * Remove a user's sponsor. + * Remove an agentUser's sponsor. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Remove a user's sponsor. + * Remove an agentUser's sponsor. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -58,21 +58,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * 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. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public StringCollectionResponse get() { return get(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link StringCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -82,20 +82,20 @@ public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util return this.requestAdapter.send(requestInfo, errorMapping, StringCollectionResponse::createFromDiscriminatorValue); } /** - * 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. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { post(body, null); } /** - * 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. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); @@ -105,7 +105,7 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakart this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Remove a user's sponsor. + * Remove an agentUser's sponsor. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -113,7 +113,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Remove a user's sponsor. + * Remove an agentUser's sponsor. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -133,7 +133,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -145,7 +145,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * 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. * @param body The request body * @return a {@link RequestInformation} */ @@ -154,7 +154,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * 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. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -179,7 +179,7 @@ public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl return new RefRequestBuilder(rawUrl, requestAdapter); } /** - * Remove a user's sponsor. + * Remove an agentUser's sponsor. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class DeleteQueryParameters implements QueryParameters { @@ -211,7 +211,7 @@ public class DeleteRequestConfiguration extends BaseRequestConfiguration { public DeleteQueryParameters queryParameters = new DeleteQueryParameters(); } /** - * 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. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/users/item/transitivememberof/TransitiveMemberOfRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/transitivememberof/TransitiveMemberOfRequestBuilder.java index 6a262a5cde2..11aba2dc176 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/transitivememberof/TransitiveMemberOfRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/transitivememberof/TransitiveMemberOfRequestBuilder.java @@ -86,21 +86,21 @@ public TransitiveMemberOfRequestBuilder(@jakarta.annotation.Nonnull final String super(requestAdapter, "{+baseurl}/users/{user%2Did}/transitiveMemberOf{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * 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. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DirectoryObjectCollectionResponse get() { return get(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DirectoryObjectCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -110,7 +110,7 @@ public DirectoryObjectCollectionResponse get(@jakarta.annotation.Nullable final return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObjectCollectionResponse::createFromDiscriminatorValue); } /** - * 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. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -118,7 +118,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * 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. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -140,7 +140,7 @@ public TransitiveMemberOfRequestBuilder withUrl(@jakarta.annotation.Nonnull fina return new TransitiveMemberOfRequestBuilder(rawUrl, requestAdapter); } /** - * 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. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters {