diff --git a/.azure-pipelines/ci-build.yml b/.azure-pipelines/ci-build.yml
index 894188a960f..0b3f22c7223 100644
--- a/.azure-pipelines/ci-build.yml
+++ b/.azure-pipelines/ci-build.yml
@@ -60,29 +60,109 @@ extends:
Copy-Item $(downloadLocalProperties.secureFilePath) local.properties -Verbose
displayName: Copy secring and 'local.properties'
- - script: ./gradlew --no-daemon publishToMavenLocal -PmavenCentralPublishingEnabled=true -PmavenCentralSnapshotArtifactSuffix=""
+ - pwsh: |
+ # maven-gpg-plugin signs via the local gpg keyring, so the key from
+ # secring.gpg must be imported into gpg before signing can succeed.
+ gpg --batch --import secring.gpg
+ displayName: Import GPG signing key
+
+ - pwsh: |
+ $props = Get-Content local.properties -Raw
+ $keyId = ($props | Select-String -Pattern 'signing\.keyId=(.+)').Matches.Groups[1].Value
+ $keyPassword = ($props | Select-String -Pattern 'signing\.password=(.+)').Matches.Groups[1].Value
+
+ $settingsXml = @"
+
+
+
+ GraphDeveloperExperiences_Public
+ *
+ https://microsoftgraph.pkgs.visualstudio.com/0985d294-5762-4bc2-a565-161ef349ca3e/_packaging/GraphDeveloperExperiences_Public/maven/v1
+
+
+
+
+ signing
+
+ $keyId
+ $keyPassword
+
+
+
+
+ "@
+ $settingsDir = Join-Path $HOME ".m2"
+ New-Item -ItemType Directory -Path $settingsDir -Force | Out-Null
+ $settingsXml | Set-Content (Join-Path $settingsDir "settings.xml") -Encoding UTF8
+ displayName: Configure Maven settings
+
+ - task: MavenAuthenticate@0
+ displayName: Authenticate to Azure Artifacts feed (PAT-less)
+ inputs:
+ artifactsFeeds: 'GraphDeveloperExperiences_Public'
+
+ - task: Maven@4
displayName: Publish to local Maven for verification
condition: contains(variables['build.sourceBranch'], 'refs/tags/v')
+ inputs:
+ mavenPomFile: 'pom.xml'
+ goals: 'install'
+ options: '-Psigning --no-transfer-progress'
+ publishJUnitResults: false
+ javaHomeOption: 'JDKVersion'
+ jdkVersionOption: '1.21'
+ jdkArchitectureOption: 'x64'
+ mavenOptions: '-Xmx3072m'
- - script: ./gradlew --no-daemon publishToMavenLocal -PmavenCentralPublishingEnabled=true
+ - task: Maven@4
displayName: Publish to local Maven for verification
condition: not(contains(variables['build.sourceBranch'], 'refs/tags/v'))
+ inputs:
+ mavenPomFile: 'pom.xml'
+ goals: 'install'
+ options: '-Psigning --no-transfer-progress'
+ publishJUnitResults: false
+ javaHomeOption: 'JDKVersion'
+ jdkVersionOption: '1.21'
+ jdkArchitectureOption: 'x64'
+ mavenOptions: '-Xmx3072m'
- - script: ./gradlew --no-daemon publishMavenPublicationToADORepository -PmavenCentralPublishingEnabled=true -PmavenCentralSnapshotArtifactSuffix=""
- displayName: Publish to local Maven ADO for ESRP
+ - task: Maven@4
+ displayName: Stage artifacts for ESRP
condition: contains(variables['build.sourceBranch'], 'refs/tags/v')
+ inputs:
+ mavenPomFile: 'pom.xml'
+ goals: 'deploy'
+ options: '-Psigning --no-transfer-progress -DaltDeploymentRepository=ADO::default::file://$(Build.SourcesDirectory)/target/staging-deploy'
+ publishJUnitResults: false
+ javaHomeOption: 'JDKVersion'
+ jdkVersionOption: '1.21'
+ jdkArchitectureOption: 'x64'
+ mavenOptions: '-Xmx3072m'
- - script: ./gradlew --no-daemon publishMavenPublicationToADORepository -PmavenCentralPublishingEnabled=true
- displayName: Publish to local Maven ADO for ESRP
+ - task: Maven@4
+ displayName: Stage artifacts for ESRP
condition: not(contains(variables['build.sourceBranch'], 'refs/tags/v'))
+ inputs:
+ mavenPomFile: 'pom.xml'
+ goals: 'deploy'
+ options: '-Psigning --no-transfer-progress -DaltDeploymentRepository=ADO::default::file://$(Build.SourcesDirectory)/target/staging-deploy'
+ publishJUnitResults: false
+ javaHomeOption: 'JDKVersion'
+ jdkVersionOption: '1.21'
+ jdkArchitectureOption: 'x64'
+ mavenOptions: '-Xmx3072m'
- pwsh: |
- $contents = Get-Content gradle.properties -Raw
- $major = $contents | Select-String -Pattern 'mavenMajorVersion\s*=\s*([0-9]+)' | ForEach-Object { $_.Matches.Groups[1].Value }
- $minor = $contents | Select-String -Pattern 'mavenMinorVersion\s*=\s*([0-9]+)' | ForEach-Object { $_.Matches.Groups[1].Value }
- $patch = $contents | Select-String -Pattern 'mavenPatchVersion\s*=\s*([0-9]+)' | ForEach-Object { $_.Matches.Groups[1].Value }
+ $pomXml = [xml](Get-Content pom.xml -Raw)
+ $ns = New-Object System.Xml.XmlNamespaceManager($pomXml.NameTable)
+ $ns.AddNamespace('m', $pomXml.DocumentElement.NamespaceURI)
+ $version = $pomXml.SelectSingleNode('/m:project/m:version', $ns).InnerText
$snapshot_suffix = if ($Env:BRANCH_NAME.StartsWith('refs/tags/v')) { '' } else { '-SNAPSHOT' }
- $version = "$major.$minor.$patch$snapshot_suffix"
+ # If version already contains -SNAPSHOT and we're on a tag, strip it
+ if ($Env:BRANCH_NAME.StartsWith('refs/tags/v')) {
+ $version = $version -replace '-SNAPSHOT$', ''
+ }
echo "Current version is $version"
echo "##vso[task.setvariable variable=PACKAGE_VERSION;]$version"
displayName: Get current version
@@ -95,7 +175,7 @@ extends:
displayName: Inspect contents of local Maven cache
- pwsh: |
- $packageFullPath = Join-Path -Path "./" -ChildPath "build/publishing-repository/com/microsoft/graph/microsoft-graph" -AdditionalChildPath "$(PACKAGE_VERSION)"
+ $packageFullPath = Join-Path -Path "./target/staging-deploy" -ChildPath "com/microsoft/graph/microsoft-graph" -AdditionalChildPath "$(PACKAGE_VERSION)"
echo "Package full path: $packageFullPath"
echo "##vso[task.setvariable variable=PACKAGE_PATH;]$packageFullPath"
displayName: Get the package full path
@@ -143,8 +223,8 @@ extends:
contentsource: "Folder"
folderlocation: "$(Pipeline.Workspace)"
waitforreleasecompletion: true
- owners: vibiret@microsoft.com
- approvers: mmainer@microsoft.com
+ owners: christiano@microsoft.com,ramsess@microsoft.com,gavinbarron@microsoft.com,jingjingjia@microsoft.com,peombwa@microsoft.com,treicys@microsoft.com
+ approvers: christiano@microsoft.com,ramsess@microsoft.com,gavinbarron@microsoft.com,jingjingjia@microsoft.com,peombwa@microsoft.com,treicys@microsoft.com
serviceendpointurl: "https://api.esrp.microsoft.com"
mainpublisher: "ESRPRELPACMAN"
domaintenantid: "cdc5aeea-15c5-4db6-b079-fcadd2505dc2"
\ No newline at end of file
diff --git a/.azure-pipelines/daily-ci-build.yml b/.azure-pipelines/daily-ci-build.yml
new file mode 100644
index 00000000000..ded48776e2f
--- /dev/null
+++ b/.azure-pipelines/daily-ci-build.yml
@@ -0,0 +1,89 @@
+trigger: none
+pr: none
+
+schedules:
+ - cron: '0 7 * * *'
+ displayName: Daily builds
+ branches:
+ include:
+ - main
+ always: true
+
+resources:
+ repositories:
+ - repository: 1ESPipelineTemplates
+ type: git
+ name: 1ESPipelineTemplates/1ESPipelineTemplates
+ ref: refs/tags/release
+
+extends:
+ template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates
+ parameters:
+ pool:
+ name: Azure-Pipelines-1ESPT-ExDShared
+ image: ubuntu-latest
+ os: linux
+ sdl:
+ sourceAnalysisPool:
+ name: Azure-Pipelines-1ESPT-ExDShared
+ image: windows-2022
+ os: windows
+ credscan:
+ enabled: true
+ policheck:
+ enabled: true
+ binskim:
+ enabled: true
+ stages:
+ - stage: Build
+ jobs:
+ - job: Build
+ displayName: Build Java SDK
+ steps:
+ - checkout: self
+ submodules: recursive
+
+ - task: JavaToolInstaller@1
+ inputs:
+ versionSpec: '17'
+ jdkArchitectureOption: 'x64'
+ jdkSourceOption: 'PreInstalled'
+
+ - pwsh: |
+ # Route all Maven resolution through the Azure Artifacts feed (Maven Central upstream)
+ # so the network-isolated build never reaches the public internet. Credentials for the
+ # mirror are injected PAT-less by the MavenAuthenticate task below; the mirror must
+ # match the id it generates (the feed name).
+ $settingsXml = @"
+
+
+
+ GraphDeveloperExperiences_Public
+ *
+ https://microsoftgraph.pkgs.visualstudio.com/0985d294-5762-4bc2-a565-161ef349ca3e/_packaging/GraphDeveloperExperiences_Public/maven/v1
+
+
+
+ "@
+ $settingsDir = Join-Path $HOME ".m2"
+ New-Item -ItemType Directory -Path $settingsDir -Force | Out-Null
+ $settingsXml | Set-Content (Join-Path $settingsDir "settings.xml") -Encoding UTF8
+ displayName: Configure Maven mirror for network-isolated build
+
+ - task: MavenAuthenticate@0
+ displayName: Authenticate to Azure Artifacts feed (PAT-less)
+ inputs:
+ artifactsFeeds: 'GraphDeveloperExperiences_Public'
+
+ - task: Maven@4
+ displayName: Build and Test SDK
+ inputs:
+ mavenPomFile: 'pom.xml'
+ goals: 'verify'
+ options: '--no-transfer-progress'
+ publishJUnitResults: true
+ testResultsFiles: '**/surefire-reports/TEST-*.xml'
+ javaHomeOption: 'JDKVersion'
+ jdkVersionOption: '1.17'
+ jdkArchitectureOption: 'x64'
+ mavenOptions: '-Xmx3072m'
diff --git a/.config/1espt/PipelineAutobaseliningConfig.yml b/.config/1espt/PipelineAutobaseliningConfig.yml
index 0bf61a54bb4..798440b79a3 100644
--- a/.config/1espt/PipelineAutobaseliningConfig.yml
+++ b/.config/1espt/PipelineAutobaseliningConfig.yml
@@ -7,17 +7,30 @@ pipelines:
credscan:
lastModifiedDate: 2025-06-20
eslint:
- lastModifiedDate: 2025-06-20
+ lastModifiedDate: 2026-05-15
psscriptanalyzer:
- lastModifiedDate: 2025-06-20
+ lastModifiedDate: 2026-05-15
armory:
- lastModifiedDate: 2025-06-20
+ lastModifiedDate: 2026-05-15
accessibilityinsights:
lastModifiedDate: 2025-06-20
binary:
credscan:
lastModifiedDate: 2025-06-20
binskim:
- lastModifiedDate: 2025-06-20
+ lastModifiedDate: 2026-05-15
spotbugs:
- lastModifiedDate: 2025-06-20
+ lastModifiedDate: 2026-05-15
+ 687:
+ retail:
+ source:
+ credscan:
+ lastModifiedDate: 2026-05-27
+ policheck:
+ lastModifiedDate: 2026-05-27
+ eslint:
+ lastModifiedDate: 2026-05-27
+ armory:
+ lastModifiedDate: 2026-05-27
+ accessibilityinsights:
+ lastModifiedDate: 2026-05-27
diff --git a/.config/guardian/.gdnbaselines b/.config/guardian/.gdnbaselines
index 1cee79c2d9c..2257872b938 100644
--- a/.config/guardian/.gdnbaselines
+++ b/.config/guardian/.gdnbaselines
@@ -13,479 +13,615 @@
"results": {
"82ec8907f522949ea46ed2692018bca957a4e6f718360cc99701c6d8a4a4eb99": {
"signature": "82ec8907f522949ea46ed2692018bca957a4e6f718360cc99701c6d8a4a4eb99",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "c65e8d4dab624031e2872fb2d6bff8af5c30b49dd840c2547bd2478db6635e1c",
+ "94d9d81990744c4839486a04114ef427357505e1eedf33f5d58ecacb2a527074"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145623,
+ "line": 156372,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"3d321d1f925dc3012c502fb29481d192276fb7200ce8d45a088de24e2a061e35": {
"signature": "3d321d1f925dc3012c502fb29481d192276fb7200ce8d45a088de24e2a061e35",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "8ee73c099c4fbf6539052380d5cf3430591b55dac0b064cdfe3ada9599b6f7f4",
+ "5ed574d7cf81d58870c2369a4ff1260475173fcf3112772b648720e2914b1708"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145624,
+ "line": 156373,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"263112bc59bd2d2a9148a333308c0d7896c0fb9c81f3121de308e392a4c7a4eb": {
"signature": "263112bc59bd2d2a9148a333308c0d7896c0fb9c81f3121de308e392a4c7a4eb",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "286e8552891192039fd0f49f51f00f3114dbb550a18b216fb10dca9abd8adf31",
+ "83305f125695741bb251fa8b882735b2f06921eb9b8d7cd4f1949d88b193c0e5"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145625,
+ "line": 156374,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"1643573e938aedab6dd067aeca1be28ab2ced3221bf8102e180555aaa89c377c": {
"signature": "1643573e938aedab6dd067aeca1be28ab2ced3221bf8102e180555aaa89c377c",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "2338247be6d937e3381d27d3ee9d51b0534fb543d435d39b3c26ac896365bb78",
+ "75d79e17c41f18bf1025786dbbf4c5fd71cc16cedb5ba05a81493a1d9a10df04"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145626,
+ "line": 156375,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"98ef25efc8e9a5d51e2b1818fb083ba99cee13fb29a5ec5a5774a0d4ba31ddfa": {
"signature": "98ef25efc8e9a5d51e2b1818fb083ba99cee13fb29a5ec5a5774a0d4ba31ddfa",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "93fa26c7807735c9f68993a6c6510b3ca22447649bcd686eb58fcb2417072f19",
+ "9e3ab2396ab9842bee6c37fb6591c0efa52fe5e95bbc14b2b8c6ef72ba8d3778"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145628,
+ "line": 156377,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"18a91572b01d161d7a01a2e3505c38e079c32a650c58e34f742bbd89730ca0ba": {
"signature": "18a91572b01d161d7a01a2e3505c38e079c32a650c58e34f742bbd89730ca0ba",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "476f6327af729603210ee682b99a338bc13d7847ac7ad6aea7cedf62b1e6e766",
+ "eb5e68234bfcbab422dfccbe97d3f35980c3f82ea64206a9d0ad6c5771da54ec"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145630,
+ "line": 156379,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"d557dbd06455b77ca35c6c25d6f5f353f5cbc7bfc33be531e76d32e0966c0381": {
"signature": "d557dbd06455b77ca35c6c25d6f5f353f5cbc7bfc33be531e76d32e0966c0381",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "42df15c757ee616b95babff32aef51a05555bec4ad0e53e2b6eac0b954710e1a",
+ "57e4bce13a7d16a69f55f04c7b3cd4fe3f85319edbd2648f4c27265815ab32da"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145631,
+ "line": 156380,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"3ea0a43b6a5b0e0ee95e603f93fd393d67d047e495ada2de9bbca1827c96c534": {
"signature": "3ea0a43b6a5b0e0ee95e603f93fd393d67d047e495ada2de9bbca1827c96c534",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "5854b9256c7928623a1e10f44d6518948629d51825786c22eac83fb3fc656fe1",
+ "ce8ab4c7f60141e8088e5c28350f5ca1aa7d86004e7558b675c63945c1a68ab0"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145632,
+ "line": 156381,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"90b5329a1a4bc45b96ef4ddfac36c52bab124a688488974cafd439e079b0ec2a": {
"signature": "90b5329a1a4bc45b96ef4ddfac36c52bab124a688488974cafd439e079b0ec2a",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "c52b0b754228e8afddb7ba4d47c8f7e16a3efd6e7033158425954470792cd90b",
+ "43b24196f0fbd211110a2900d39c668bd682f5b7b3adc1894b5d1835255e078c"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145633,
+ "line": 156382,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"f1301775c4e54b133d321a26a7f6beaf860036db80bff912a841c02ee6ca9d89": {
"signature": "f1301775c4e54b133d321a26a7f6beaf860036db80bff912a841c02ee6ca9d89",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "192bdb9ed978bc0389675d3ada259e48e6ef97bd708ffde06902117e2b2ba2fd",
+ "8edaa83a336b4697bdea221dbe1ab4fa65a92aee3aae077e9a5dcc10e67b20ec"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145634,
+ "line": 156383,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"54769f1b162164f700976c909b06c12ce339bac5805363dd14f68f13bdc2c92f": {
"signature": "54769f1b162164f700976c909b06c12ce339bac5805363dd14f68f13bdc2c92f",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "bae32ac12779099b62b4bebfa29e90f80b680e0986b2db46ea53005e30aace5f",
+ "e3d69d140a6fca9f9193fc7decc460ffb91723148a1e7f522f573db8002df485"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145636,
+ "line": 156385,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"bbcb8bf5173972b19c83dbcd6b9b730912d06f2487bef767d3358f228bcb468f": {
"signature": "bbcb8bf5173972b19c83dbcd6b9b730912d06f2487bef767d3358f228bcb468f",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "d8a50e52b8954262bcd706bbceea04b999f73df05665b14f9f41b2c0a896f43e",
+ "4ee3346642db40cdc0fcbce863678a3e6109ba4c6bdb7b19d9311025668c36cb"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145638,
+ "line": 156387,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"beaf70e38b405396ea5a87059d179f40238f05830ba8943cd5b2b0e7ad59bc3e": {
"signature": "beaf70e38b405396ea5a87059d179f40238f05830ba8943cd5b2b0e7ad59bc3e",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "93b87e5bb6faa41ddb5785dab430d497c9107bf0967be7972487c0111bd83fc6",
+ "3a33a55a53b85e9fdeeb914ffc5cfe1dda0f23c522391258dfb94fc7f7046021"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145639,
+ "line": 156388,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"2b1fa7b3d91e5fac8eea194fc71bc675650e65420026a8a2816dccef85cecca4": {
"signature": "2b1fa7b3d91e5fac8eea194fc71bc675650e65420026a8a2816dccef85cecca4",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "4eee29221a9658c7ecaf4f1d5f69c859824e7f7d3fc90f968f0943ec8a4421f8",
+ "b0f3c04b619d35d0d8a05dee23d1aeaf0f57050b7dc255372b023ced4c861129"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145640,
+ "line": 156389,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"4f7bde2c702841a8d69ba3089ad71c12fb4c63694e9cfe065d8e0dd6529150f9": {
"signature": "4f7bde2c702841a8d69ba3089ad71c12fb4c63694e9cfe065d8e0dd6529150f9",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "c5ddc6ee87a6eb61d155d9aaf832ddec7a10783e76808739fae8c89ea257202e",
+ "7f30762094f072c161d37715f68fd0a1530c0fe98a9b6f5b8ccf9ebe550b8390"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145641,
+ "line": 156390,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"ffa2ccd772cff1ff2322a633d779e53fa052b9464d8151824a53a99d429d0501": {
"signature": "ffa2ccd772cff1ff2322a633d779e53fa052b9464d8151824a53a99d429d0501",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "931854bb61dc9876d912a866adabd34cecbeef403425b322069586b99724077e",
+ "ce0f639347a8a92388e842774d6cd0e908ea74dcc4dea20b915c63af940c10e9"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145642,
+ "line": 156391,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"d8f94806d426e4a3704ad35ccf92cfdf23894b2037efcacc62a4d8db13c929cc": {
"signature": "d8f94806d426e4a3704ad35ccf92cfdf23894b2037efcacc62a4d8db13c929cc",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "8c6cd12f475b05cb7e5172df982df7fcef75ec132bb9a6fc105cd343d28ffe2b",
+ "7b02e3f32c59e341b9d00a3412134f4b6f7e3a7cd01d512a64bee2fa9ce53a64"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145643,
+ "line": 156392,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"45cfb253c0ee074513210a50c7023d144d3b491c361d74a8fd50db1050bb1ac7": {
"signature": "45cfb253c0ee074513210a50c7023d144d3b491c361d74a8fd50db1050bb1ac7",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "28f65f110a9c6c7762344bef7bcbc9c4b48a55508670e4c81e9faf4a164b3c4c",
+ "d507a071eb6bffa0ee9055250e6e714f1427f5ac7f6dcaf94c33e736d5c80be3"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145644,
+ "line": 156393,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"0cc095c709ef5bb14a63b9d13b85398c17900dcf2461ed8e8b96b83977dd436d": {
"signature": "0cc095c709ef5bb14a63b9d13b85398c17900dcf2461ed8e8b96b83977dd436d",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "9426cbe3a8efe4331c1e3a5eb6e406c64d931145b09afae8bd91504cb5f48085",
+ "1b69660ff992f9fcccdea64c493ca7979c31f7cce453cb189c079d9c0c1dfd65"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145645,
+ "line": 156394,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"2581f6c507d823102d29e676256290ab1dd1cbc959b441c441e57226e48346f2": {
"signature": "2581f6c507d823102d29e676256290ab1dd1cbc959b441c441e57226e48346f2",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "2ede692e6067c3ee0239bd3d344c6e9b977447f585124fd5c9098d034df06a99",
+ "338a4dbd0122052e3dd8c31c9a3361aa547d9fc48eba4a82abb6c8a3d4785ce7"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145646,
+ "line": 156395,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"fd3cd9fb48199c5126321644a9a54fc94628da5265479908e4c13c193a2d7441": {
"signature": "fd3cd9fb48199c5126321644a9a54fc94628da5265479908e4c13c193a2d7441",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "72b6e55646ea4bed874fd6fb0b33c109e32f959f94879878586412a1f756b88d",
+ "7b83d7fcf029677fb5dfd9d0d113cc7522fd4064964dc5fe2fe16b2d5a229e69"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145647,
+ "line": 156396,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"d463c24895a555cc1d80c264bddc0955158f07a3c971c0f9c79651774e91d74d": {
"signature": "d463c24895a555cc1d80c264bddc0955158f07a3c971c0f9c79651774e91d74d",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "ab2c3035f02e1187962e170e6da84c449a6f04c5f54c3d607a6e86685034d133",
+ "b5b7e89a73f0f1699c1dc2f52a6cea2cbf2ecd32cf3fb241b33eb9b98c8683ed"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145648,
+ "line": 156397,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"17e6847cc3c1faf5c5d159038651881833a96ec1cad4f74355e2890c9977c27f": {
"signature": "17e6847cc3c1faf5c5d159038651881833a96ec1cad4f74355e2890c9977c27f",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "efe57f09c11a0b8ee6438cb7c308e384accb1275782295a813b592dd19948cb4",
+ "fee5c5d3fa094bfff1d676b1871316da63fe6f6b43f7702685614dc136bb6e9e"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145649,
+ "line": 156398,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"47751bb5957c46a8cf5f38e65c755b3b3e4902b6b50dcc324dd4ba9e304f0b0c": {
"signature": "47751bb5957c46a8cf5f38e65c755b3b3e4902b6b50dcc324dd4ba9e304f0b0c",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "e9f1e78ab918792a0e9e25285d7ee0dfea837bedd67b474a37e48f822010eb6d",
+ "2fcf115d54440052b4ce99115a85293e496df02fca14ac02ee96f37583420857"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145650,
+ "line": 156399,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"559e6f1bd631966f0349224b2b6dad68601b7c9408c014cb583ee7d54333030b": {
"signature": "559e6f1bd631966f0349224b2b6dad68601b7c9408c014cb583ee7d54333030b",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "eafd7cabf207b8eb49f43c39261e8c90b912f2420e04322aa9f66d0b2dd2aa4f",
+ "c76ff97bc7402473bb956697ffb663ab71758c32f4224443ddc87ad318b56eae"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145651,
+ "line": 156400,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"b23f30830ad40390c2c38f61afb59ab1af0af521839438425a3b1961ec5ca180": {
"signature": "b23f30830ad40390c2c38f61afb59ab1af0af521839438425a3b1961ec5ca180",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "15cc71d03340281fee5f4ef9e711e4888168103111af36cbfdfc20ab47cb526c",
+ "3228c641f1080b400737c396c264dffea2b85a45d3a008e0d4cdc1507627c753"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145653,
+ "line": 156402,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"12631f8a3d28eb526a9835044e410bdc70fc36e10581ad86075b5c9ff8906e9a": {
"signature": "12631f8a3d28eb526a9835044e410bdc70fc36e10581ad86075b5c9ff8906e9a",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "454a2241f3b9b9142fd9f4254cf0c3744e85776458a9c9db1c159a4e8a253a70",
+ "dde231b95929400f925b3d2f3a99f588b0cf9b0ac623022e8049036f02585a98"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145654,
+ "line": 156403,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"917540d4d155eda7e8d0c14a5eb97d53ff2733e1c1f52eb608193915fc03c0be": {
"signature": "917540d4d155eda7e8d0c14a5eb97d53ff2733e1c1f52eb608193915fc03c0be",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "1978e4e37ec4b4054c48682bd5576e311f045fe610f0e1ea819545b1542afd66",
+ "de99b91c9825c116d35282c58c9be68775bc2163a7dfcf1f80b938aadcb491ce"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145659,
+ "line": 156408,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"5e2d1799b86185436f1afd961b3e50a883e526c62415790773102df880030130": {
"signature": "5e2d1799b86185436f1afd961b3e50a883e526c62415790773102df880030130",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "4ef3fbc7c022726e03461b8e8150009b75b0f1e888e9646e7044d4bc2a4a933c",
+ "a23801dcb3fd3b45ba6dc22c5f8cf2e083b549916ea4c1fb35c4986318998174"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145660,
+ "line": 156409,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"b12fd269e906f925f5a276c9e8ad34702d44076fc1042998f60405421a76284d": {
"signature": "b12fd269e906f925f5a276c9e8ad34702d44076fc1042998f60405421a76284d",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "803da0bcc976377b0da39ec2e88653cc31d015e699a1b1933c45c70b62d4fd1b",
+ "289bdd40c7049589f1cb49fb58208bd741c6482062e4e14ae5938576939ee87c"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145661,
+ "line": 156410,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"34f9285f137da098f7356f45f7024d11d47e6cdedfee88b0de0fb54a6f638c4b": {
"signature": "34f9285f137da098f7356f45f7024d11d47e6cdedfee88b0de0fb54a6f638c4b",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "514be1e8b339c3dc9d768c503e8dce71c3bdf4a06a6b5428a13dc1cacb7ff006",
+ "da86afa1417091b00bbe959ec63ccab5583062a604ff3c17ed98457f05ba00ac"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145662,
+ "line": 156411,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"52f24eb2e057b2eb407223c64c243729f6678ffda14c0918524e2b0d7effc176": {
"signature": "52f24eb2e057b2eb407223c64c243729f6678ffda14c0918524e2b0d7effc176",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "0dc4e7bab122335ba508ddc2a215eae1941a3a37935ca7058d6aee94df21c1b6",
+ "84f2e285bd0326a7d18201c8c2de5c5b2b10ad83a9e76e62f1c50020078e53a1"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145664,
+ "line": 156413,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"fc3c1503008c46a2e4b9c445ac7f0497a3a735f10ae0efaf30b83b726c33fe83": {
"signature": "fc3c1503008c46a2e4b9c445ac7f0497a3a735f10ae0efaf30b83b726c33fe83",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "b9a617d12d7745305b7b9bb6c6473d178ac1f808e54ae02f9a29e823c0406cce",
+ "a5d5e81276455c322be872ef35a6c439c0b539b5bd1dd133c066c8c057e0c785"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145665,
+ "line": 156414,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
},
"62b407564f5e60d2d0571d174c95c12bee7fe2fa62e0a7c10a8a6aa4d9c79522": {
"signature": "62b407564f5e60d2d0571d174c95c12bee7fe2fa62e0a7c10a8a6aa4d9c79522",
- "alternativeSignatures": [],
+ "alternativeSignatures": [
+ "b1be3ca46f45849bd61cf3e99b5ca06753b926ca5745883b2f54382f41093276",
+ "48a84a91d23727b47d1d2963e4c54b0abca58197ca03704150f8b800aaf86a8f"
+ ],
"target": "src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt",
- "line": 145666,
+ "line": 156415,
+ "uriBaseId": "file:///D:/a/_work/1/s/",
"memberOf": [
"default"
],
"tool": "credscan",
"ruleId": "CSCAN-GENERAL0060",
- "createdDate": "2025-06-20 20:17:04Z",
- "expirationDate": "2025-12-07 20:33:10Z",
- "justification": "This error is baselined with an expiration date of 180 days from 2025-06-20 20:33:10Z"
+ "createdDate": "2026-05-27 22:53:06Z",
+ "expirationDate": "2026-11-13 22:59:01Z",
+ "justification": "This error is baselined with an expiration date of 180 days from 2026-05-27 22:59:01Z"
}
}
}
\ No newline at end of file
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 739066ae921..054f172220c 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -1,9 +1,7 @@
version: 2
updates:
-- package-ecosystem: gradle
- directories:
- - "/"
- - "/java-8"
+- package-ecosystem: maven
+ directory: "/"
schedule:
interval: daily
time: "09:00" # 9am UTC
@@ -12,45 +10,28 @@ updates:
kiota-dependencies:
patterns:
- "*kiota*"
- junit-dependencies:
+ microsoft-graph:
patterns:
- - "*junit*"
- open-telemetry:
- patterns:
- - "*opentelemetry*"
+ - "*microsoft-graph*"
- package-ecosystem: gradle
directory: "/android"
schedule:
interval: daily
- time: "10:00" # 10am UTC. After core projects are updated to prevent duplicate PRs
+ time: "09:00" # 9am UTC
open-pull-requests-limit: 10
groups:
- kiota-dependencies:
- patterns:
- - "*kiota*"
- junit-dependencies:
+ android-build-tools:
patterns:
- - "*junit*"
- open-telemetry:
- patterns:
- - "*opentelemetry*"
-- package-ecosystem: maven
+ - "*android*"
+ - "*gradle-enterprise*"
+ - "*gradle-util*"
+ - "*gradle-versions*"
+- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
groups:
- kiota-dependencies:
- patterns:
- - "*kiota*"
- junit-dependencies:
- patterns:
- - "*junit*"
- open-telemetry:
+ all-actions:
patterns:
- - "*opentelemetry*"
-- package-ecosystem: github-actions
- directory: "/"
- schedule:
- interval: daily
- open-pull-requests-limit: 10
+ - "*"
diff --git a/.github/workflows/api-level-lint.yml b/.github/workflows/api-level-lint.yml
index a7b11d2bacc..ba5ef12d65f 100644
--- a/.github/workflows/api-level-lint.yml
+++ b/.github/workflows/api-level-lint.yml
@@ -31,7 +31,7 @@ jobs:
working-directory: ./android
- name: Upload linting results
if: failure() && steps.lint.outcome == 'failure'
- uses: actions/upload-artifact@v6
+ uses: actions/upload-artifact@v7
with:
name: lint-report
path: ./android/build/reports
diff --git a/.github/workflows/auto-merge-dependabot.yml b/.github/workflows/auto-merge-dependabot.yml
index 62a99a4807e..9d903943300 100644
--- a/.github/workflows/auto-merge-dependabot.yml
+++ b/.github/workflows/auto-merge-dependabot.yml
@@ -19,7 +19,7 @@ jobs:
steps:
- name: Dependabot metadata
id: metadata
- uses: dependabot/fetch-metadata@v3.0.0
+ uses: dependabot/fetch-metadata@v3.1.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 6b509dbc08d..2e6fb0173b4 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -49,7 +49,7 @@ jobs:
with:
java-version: 21
distribution: 'temurin'
- cache: gradle
+ cache: maven
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
@@ -75,10 +75,8 @@ jobs:
# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
- - name: Grant execute permission for gradlew
- run: chmod +x gradlew
- - name: Build with Gradle
- run: ./gradlew --no-build-cache build
+ - name: Build with Maven
+ run: ./mvnw compile --no-transfer-progress -DskipTests
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
diff --git a/.github/workflows/gradle-build.yml b/.github/workflows/maven-build.yml
similarity index 66%
rename from .github/workflows/gradle-build.yml
rename to .github/workflows/maven-build.yml
index a987efba2b0..e90d5803d31 100644
--- a/.github/workflows/gradle-build.yml
+++ b/.github/workflows/maven-build.yml
@@ -1,4 +1,4 @@
-name: Gradle Build and Compare Package
+name: Maven Build
on:
push:
@@ -17,36 +17,29 @@ jobs:
with:
java-version: 21
distribution: 'temurin'
- cache: gradle
+ cache: maven
- name: Move generated sources to correct package
run: .\scripts\copyFilesOnBuild.ps1 -inputPath '.\src\main\java\com\microsoft\graph\generated'
shell: pwsh
- - name: Grant Execute permission for gradlew
- run: chmod +x gradlew
- - name: Build with Gradle
- run: ./gradlew build
+ - name: Build with Maven
+ run: ./mvnw verify --no-transfer-progress
- name: Upload Unit Test Results
if: ${{ always() }}
- uses: actions/upload-artifact@v6
+ uses: actions/upload-artifact@v7
with:
name: UnitTests
path: |
- build/reports/tests/test/**
- build/test-results/**
+ target/surefire-reports/**
- name: Upload a Build Artifact
- uses: actions/upload-artifact@v6
+ uses: actions/upload-artifact@v7
with:
name: drop
path: |
- **/libs/*
- build/generated-pom.xml
- build/generated-pom.xml.asc
- build.gradle
- gradlew
- gradlew.bat
- settings.gradle
- gradle.properties
- **/gradle/**
+ target/*.jar
+ pom.xml
+ mvnw
+ mvnw.cmd
+ .mvn/**
scripts/**
build-java-8:
@@ -58,15 +51,12 @@ jobs:
with:
java-version: 8
distribution: 'temurin'
- cache: gradle
+ cache: maven
- name: Move generated sources to correct package
run: .\scripts\copyFilesOnBuild.ps1 -inputPath '.\src\main\java\com\microsoft\graph\generated'
shell: pwsh
- - name: Grant Execute permission for gradlew
- run: chmod +x gradlew
- name: Build with Java 8
- working-directory: ./java-8
- run: .././gradlew build
+ run: ./mvnw compile --no-transfer-progress
build:
needs: [build-java-latest, build-java-8]
diff --git a/.github/workflows/release-please-gha.yml b/.github/workflows/release-please-gha.yml
index 195010cc82e..b6bc742e5b1 100644
--- a/.github/workflows/release-please-gha.yml
+++ b/.github/workflows/release-please-gha.yml
@@ -29,8 +29,8 @@ jobs:
private-key: ${{ secrets.RELEASE_PLEASE_TOKEN_PROVIDER_PEM }}
- name: Release Please
- uses: googleapis/release-please-action@v4
+ uses: googleapis/release-please-action@v5
with:
token: ${{ steps.app-token.outputs.token }}
config-file: release-please-config.json
- manifest-file: .release-please-manifest.json
\ No newline at end of file
+ manifest-file: .release-please-manifest.json
diff --git a/.github/workflows/validate-public-api-surface.yml b/.github/workflows/validate-public-api-surface.yml
index 0eefa0835e8..1586c14b54c 100644
--- a/.github/workflows/validate-public-api-surface.yml
+++ b/.github/workflows/validate-public-api-surface.yml
@@ -35,14 +35,14 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload patch file as artifact
if: always()
- uses: actions/upload-artifact@v6
+ uses: actions/upload-artifact@v7
continue-on-error: true
with:
name: patch
path: '*.patch'
- name: Upload explanations file as artifact
if: always()
- uses: actions/upload-artifact@v6
+ uses: actions/upload-artifact@v7
continue-on-error: true
with:
name: explanations
diff --git a/.gitignore b/.gitignore
index 79813c70924..047411c3df9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,16 +20,17 @@
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
-/.gradle/
-/build/
-/bin/
+
+# Maven
+/target/
+
+# Maven wrapper
+!.mvn/wrapper/maven-wrapper.jar
#Eclipse
.project
.classpath
.settings
-# Maven
-/target/
local.properties
.idea
diff --git a/.mvn/wrapper/maven-wrapper.jar b/.mvn/wrapper/maven-wrapper.jar
new file mode 100644
index 00000000000..7967f30dd1d
Binary files /dev/null and b/.mvn/wrapper/maven-wrapper.jar differ
diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties
new file mode 100644
index 00000000000..6f80481060a
--- /dev/null
+++ b/.mvn/wrapper/maven-wrapper.properties
@@ -0,0 +1,4 @@
+distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
+distributionSha256Sum=4ec3f26fb1a692473aea0235c300bd20f0f9fe741947c82c1234cefd76ac3a3c
+wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.2/maven-wrapper-3.3.2.jar
+wrapperSha256Sum=3d8f20ce6103913be8b52aef6d994e0c54705fb527324ceb9b835b338739c7a8
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 0ba92103147..1a9c02f7a7e 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "6.63.0"
+ ".": "6.68.0"
}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2bfa6c6b828..7eb50216f8a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,56 @@
All notable changes to this project will be documented in this file.
+## [6.68.0](https://github.com/microsoftgraph/msgraph-sdk-java/compare/v6.67.0...v6.68.0) (2026-08-05)
+
+
+### Features
+
+* **generation:** update request builders and models ([800762d](https://github.com/microsoftgraph/msgraph-sdk-java/commit/800762d46e93a11f8cddbaa7372b5791314d138b))
+
+## [6.67.0](https://github.com/microsoftgraph/msgraph-sdk-java/compare/v6.66.1...v6.67.0) (2026-07-21)
+
+
+### Features
+
+* **generation:** update request builders and models ([ef84bc9](https://github.com/microsoftgraph/msgraph-sdk-java/commit/ef84bc973e8623e50afedebdcfe5a4a38c5e8f8b))
+
+## [6.66.1](https://github.com/microsoftgraph/msgraph-sdk-java/compare/v6.66.0...v6.66.1) (2026-07-13)
+
+
+### Bug Fixes
+
+* Merge pull request [#2638](https://github.com/microsoftgraph/msgraph-sdk-java/issues/2638) from microsoftgraph/ci/update-deployment-approver ([6a199fc](https://github.com/microsoftgraph/msgraph-sdk-java/commit/6a199fcdbe9e479db1d3c96389f91af5649f1606))
+
+## [6.66.0](https://github.com/microsoftgraph/msgraph-sdk-java/compare/v6.65.0...v6.66.0) (2026-07-10)
+
+
+### Features
+
+* **generation:** update request builders and models ([0ab63e1](https://github.com/microsoftgraph/msgraph-sdk-java/commit/0ab63e1f948133cde80d6e7b9555723f0ca08ced))
+* **generation:** update request builders and models ([674c92e](https://github.com/microsoftgraph/msgraph-sdk-java/commit/674c92ef30491e9b842e3762fe8c0a56ea534bab))
+* **generation:** update request builders and models ([6096368](https://github.com/microsoftgraph/msgraph-sdk-java/commit/6096368cc0ba75d839248d73a306057b5b6f88c9))
+
+
+### Bug Fixes
+
+* import GPG signing key for Maven signing in ci-build ([d8e88f7](https://github.com/microsoftgraph/msgraph-sdk-java/commit/d8e88f7600d151f2be5d2f74140413062c5d5c89))
+
+## [6.65.0](https://github.com/microsoftgraph/msgraph-sdk-java/compare/v6.64.0...v6.65.0) (2026-05-19)
+
+
+### Features
+
+* **generation:** update request builders and models ([#2594](https://github.com/microsoftgraph/msgraph-sdk-java/issues/2594)) ([090951c](https://github.com/microsoftgraph/msgraph-sdk-java/commit/090951c4d9e89a87a1ce777c3b9dda43cd1b2f7d))
+
+## [6.64.0](https://github.com/microsoftgraph/msgraph-sdk-java/compare/v6.63.0...v6.64.0) (2026-05-05)
+
+
+### Features
+
+* **generation:** update request builders and models ([21bd96b](https://github.com/microsoftgraph/msgraph-sdk-java/commit/21bd96b37c1ae171dc1cbe6783e2034beca80631))
+* **generation:** update request builders and models ([e107445](https://github.com/microsoftgraph/msgraph-sdk-java/commit/e107445bfa1f4b566c399c9075c4093d9059b5d2))
+
## [6.63.0](https://github.com/microsoftgraph/msgraph-sdk-java/compare/v6.62.0...v6.63.0) (2026-04-17)
diff --git a/README.md b/README.md
index c75616e2415..65eac8bc5f0 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ repositories {
dependencies {
// Include the sdk as a dependency
// x-release-please-start-version
- implementation 'com.microsoft.graph:microsoft-graph:6.63.0'
+ implementation 'com.microsoft.graph:microsoft-graph:6.68.0'
// x-release-please-end
// This dependency is only needed if you are using a TokenCredential object for authentication
implementation 'com.azure:azure-identity:1.15.0'
@@ -37,7 +37,7 @@ Add the dependency in `dependencies` in pom.xml
com.microsoft.graph
microsoft-graph
- 6.63.0
+ 6.68.0
diff --git a/android/build.gradle b/android/build.gradle
index feef0ea192c..25ecad6888c 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -8,7 +8,7 @@ buildscript {
dependencies {
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.19.2"
classpath "gradle.plugin.com.github.viswaramamoorthy:gradle-util-plugins:0.1.0-RELEASE"
- classpath "com.github.ben-manes:gradle-versions-plugin:0.53.0"
+ classpath "com.github.ben-manes:gradle-versions-plugin:0.54.0"
classpath "com.android.tools.build:gradle:8.13.2"
}
}
@@ -71,4 +71,17 @@ android {
}
}
-apply from: "../gradle/dependencies.gradle"
+
+dependencies {
+ implementation 'com.squareup.okhttp3:okhttp:4.12.0'
+ implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
+
+ api 'com.microsoft.graph:microsoft-graph-core:3.6.6'
+
+ implementation 'com.microsoft.kiota:microsoft-kiota-authentication-azure:1.9.2'
+ implementation 'com.microsoft.kiota:microsoft-kiota-http-okHttp:1.9.2'
+ implementation 'com.microsoft.kiota:microsoft-kiota-serialization-json:1.9.2'
+ implementation 'com.microsoft.kiota:microsoft-kiota-serialization-text:1.9.2'
+ implementation 'com.microsoft.kiota:microsoft-kiota-serialization-form:1.9.2'
+ implementation 'com.microsoft.kiota:microsoft-kiota-serialization-multipart:1.9.2'
+}
diff --git a/build.gradle b/build.gradle
deleted file mode 100644
index a17cd6e3beb..00000000000
--- a/build.gradle
+++ /dev/null
@@ -1,182 +0,0 @@
-/*
- * This file was generated by the Gradle 'init' task.
- *
- * This generated file contains a sample Java Library project to get you started.
- * For more details take a look at the Java Libraries chapter in the Gradle
- * User Manual available at https://docs.gradle.org/6.6/userguide/java_library_plugin.html
- */
-
-plugins {
- // Apply the java-library plugin to add support for Java Library
- id 'java-library'
- id 'eclipse'
- id 'maven-publish'
- id 'signing'
-}
-
-java {
- modularity.inferModulePath = true
- withSourcesJar()
- withJavadocJar()
-}
-
-sourceSets {
- main {
- java {
- exclude 'pom.xml'
- }
- }
-}
-
-// In this section you declare where to find the dependencies of your project
-repositories {
- // You can declare any Maven/Ivy/file repository here.
- mavenCentral()
-}
-
-apply from: "gradle/dependencies.gradle"
-
-def pomConfig = {
- licenses {
- license([:]) {
- name "MIT License"
- url "http://opensource.org/licenses/MIT"
- distribution "repo"
- }
- }
-}
-
-tasks.withType(Javadoc).configureEach {
- enabled = true
- options.addStringOption('Xdoclint:-missing', '-quiet')
-}
-
-tasks.javadocJar {
- zip64 = true
-}
-
-tasks.jar {
- manifest {
- attributes('Automatic-Module-Name': project.property('mavenGroupId'))
- }
- zip64(true)
-}
-
-publishing {
-
- publications {
-
- maven(MavenPublication) {
- customizePom(pom)
- groupId project.property('mavenGroupId')
- artifactId project.property('mavenArtifactId')
- version getVersionName()
- from components.java
- pom.withXml {
- def pomFile = file("${project.buildDir}/generated-pom.xml")
- writeTo(pomFile)
- }
- }
- }
-
- repositories {
- maven {
- name = "ADO"
- url = layout.buildDirectory.dir("publishing-repository")
- }
- }
-}
-
-group = project.property('mavenGroupId')
-version = "${mavenMajorVersion}.${mavenMinorVersion}.${mavenPatchVersion}${mavenCentralSnapshotArtifactSuffix}"
-
-signing {
- sign publishing.publications.maven
-}
-tasks.withType(Sign)*.enabled = mavenCentralPublishingEnabled.toBoolean()
-
-def fixAscNames = { name ->
- if(name.contains('pom')) {
- "${project.property('mavenArtifactId')}-${mavenMajorVersion}.${mavenMinorVersion}.${mavenPatchVersion}.pom.asc"
- } else {
- name.replace('msgraph-sdk-java', "${project.property('mavenArtifactId')}-${mavenMajorVersion}.${mavenMinorVersion}.${mavenPatchVersion}")
- }
-}
-
-compileJava {
- options.compilerArgs << "-parameters"
- sourceCompatibility = '1.8'
- targetCompatibility = '1.8'
-}
-
-def getVersionCode() {
- return mavenMajorVersion.toInteger() * 10000 + mavenMinorVersion.toInteger() * 100 + mavenPatchVersion.toInteger()
-}
-
-def getVersionName() {
- return "${mavenMajorVersion}.${mavenMinorVersion}.${mavenPatchVersion}${mavenCentralSnapshotArtifactSuffix}"
-}
-
-artifacts {
- archives jar
-}
-
-def customizePom(pom) {
- pom.withXml {
- def root = asNode()
-
- root.dependencies.removeAll { dep ->
- dep.scope == "test"
- }
-
- root.children().last() + {
- resolveStrategy = Closure.DELEGATE_FIRST
-
- description 'Microsoft Graph SDK'
- name 'Microsoft Graph Java SDK'
- url 'https://github.com/microsoftgraph/msgraph-sdk-java'
- organization {
- name 'Microsoft'
- url 'https://github.com/microsoftgraph/msgraph-sdk-java'
- }
- issueManagement {
- system 'GitHub'
- url 'https://github.com/microsoftgraph/msgraph-sdk-java/issues'
- }
- licenses {
- license {
- name "MIT License"
- url "http://opensource.org/licenses/MIT"
- distribution "repo"
- }
- }
- scm {
- url 'https://github.com/microsoftgraph/msgraph-sdk-java'
- connection 'scm:git:git://github.com/microsoftgraph/msgraph-sdk-java.git'
- developerConnection 'scm:git:ssh://git@github.com:microsoftgraph/msgraph-sdk-java.git'
- }
- developers {
- developer {
- name 'Microsoft'
- }
- }
- }
- }
-}
-
-gradle.taskGraph.whenReady { taskGraph ->
- if (project.rootProject.file('local.properties').exists()) {
- Properties properties = new Properties()
- properties.load(project.rootProject.file('local.properties').newDataInputStream())
- tasks.withType(Sign)*.enabled = (properties.containsKey('enableSigning')) ? properties.getProperty('enableSigning').toBoolean() : false
- allprojects { ext."signing.keyId" = properties.getProperty('signing.keyId') }
- allprojects { ext."signing.secretKeyRingFile" = properties.getProperty('signing.secretKeyRingFile') }
- allprojects { ext."signing.password" = properties.getProperty('signing.password') }
- }
-}
-
-model {
- tasks.generatePomFileForMavenPublication {
- destination = file("${project.buildDir}/generated-pom.xml")
- }
-}
diff --git a/gradle.properties b/gradle.properties
deleted file mode 100644
index c093591af79..00000000000
--- a/gradle.properties
+++ /dev/null
@@ -1,129 +0,0 @@
-# Project-wide Gradle settings.
-
-# IDE users:
-# Settings specified in this file will override any Gradle settings
-# configured through the IDE.
-
-# For more details on how to configure your build environment visit
-# http://www.gradle.org/docs/current/userguide/build_environment.html
-
-# Specifies the JVM arguments used for the daemon process.
-# The setting is particularly useful for tweaking memory settings.
-# Default value: -Xmx10248m
-# org.gradle.jvmargs=-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
-
-# When configured, Gradle will run in incubating parallel mode.
-# This option should only be used with decoupled projects. More details, visit
-# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
-# org.gradle.parallel=true
-
-# The size of the library demands a large amount of RAM to build. Increase as necessary if you get GC errors
-## linux requires 10G, OSX requires 11G
-org.gradle.jvmargs=-Xmx8g -XX:MaxMetaspaceSize=2g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
-org.gradle.parallel=true
-org.gradle.caching=true
-
-mavenGroupId = com.microsoft.graph
-mavenArtifactId = microsoft-graph
-# x-release-please-start-major
-mavenMajorVersion = 6
-# x-release-please-end
-# x-release-please-start-minor
-mavenMinorVersion = 63
-# x-release-please-end
-# x-release-please-start-patch
-mavenPatchVersion = 0
-# x-release-please-end
-mavenArtifactSuffix =
-
-#enable mavenCentralPublishingEnabled to publish to maven central
-mavenCentralSnapshotArtifactSuffix = -SNAPSHOT
-mavenCentralPublishingEnabled=true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
deleted file mode 100644
index 13953ef2967..00000000000
--- a/gradle/dependencies.gradle
+++ /dev/null
@@ -1,15 +0,0 @@
-dependencies {
-
- implementation 'com.squareup.okhttp3:okhttp:4.12.0'
- implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
-
- // Core Http library
- api 'com.microsoft.graph:microsoft-graph-core:3.6.5'
-
- implementation 'com.microsoft.kiota:microsoft-kiota-authentication-azure:1.9.2'
- implementation 'com.microsoft.kiota:microsoft-kiota-http-okHttp:1.9.2'
- implementation 'com.microsoft.kiota:microsoft-kiota-serialization-json:1.9.2'
- implementation 'com.microsoft.kiota:microsoft-kiota-serialization-text:1.9.2'
- implementation 'com.microsoft.kiota:microsoft-kiota-serialization-form:1.9.2'
- implementation 'com.microsoft.kiota:microsoft-kiota-serialization-multipart:1.9.2'
-}
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
deleted file mode 100644
index 1b33c55baab..00000000000
Binary files a/gradle/wrapper/gradle-wrapper.jar and /dev/null differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
deleted file mode 100644
index ff23a68d70f..00000000000
--- a/gradle/wrapper/gradle-wrapper.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-distributionBase=GRADLE_USER_HOME
-distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
-networkTimeout=10000
-validateDistributionUrl=true
-zipStoreBase=GRADLE_USER_HOME
-zipStorePath=wrapper/dists
diff --git a/gradlew b/gradlew
deleted file mode 100755
index 23d15a93670..00000000000
--- a/gradlew
+++ /dev/null
@@ -1,251 +0,0 @@
-#!/bin/sh
-
-#
-# Copyright © 2015-2021 the original authors.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# https://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-##############################################################################
-#
-# Gradle start up script for POSIX generated by Gradle.
-#
-# Important for running:
-#
-# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
-# noncompliant, but you have some other compliant shell such as ksh or
-# bash, then to run this script, type that shell name before the whole
-# command line, like:
-#
-# ksh Gradle
-#
-# Busybox and similar reduced shells will NOT work, because this script
-# requires all of these POSIX shell features:
-# * functions;
-# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
-# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
-# * compound commands having a testable exit status, especially «case»;
-# * various built-in commands including «command», «set», and «ulimit».
-#
-# Important for patching:
-#
-# (2) This script targets any POSIX shell, so it avoids extensions provided
-# by Bash, Ksh, etc; in particular arrays are avoided.
-#
-# The "traditional" practice of packing multiple parameters into a
-# space-separated string is a well documented source of bugs and security
-# problems, so this is (mostly) avoided, by progressively accumulating
-# options in "$@", and eventually passing that to Java.
-#
-# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
-# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
-# see the in-line comments for details.
-#
-# There are tweaks for specific operating systems such as AIX, CygWin,
-# Darwin, MinGW, and NonStop.
-#
-# (3) This script is generated from the Groovy template
-# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
-# within the Gradle project.
-#
-# You can find Gradle at https://github.com/gradle/gradle/.
-#
-##############################################################################
-
-# Attempt to set APP_HOME
-
-# Resolve links: $0 may be a link
-app_path=$0
-
-# Need this for daisy-chained symlinks.
-while
- APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
- [ -h "$app_path" ]
-do
- ls=$( ls -ld "$app_path" )
- link=${ls#*' -> '}
- case $link in #(
- /*) app_path=$link ;; #(
- *) app_path=$APP_HOME$link ;;
- esac
-done
-
-# This is normally unused
-# shellcheck disable=SC2034
-APP_BASE_NAME=${0##*/}
-# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
-APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
-
-# Use the maximum available, or set MAX_FD != -1 to use that value.
-MAX_FD=maximum
-
-warn () {
- echo "$*"
-} >&2
-
-die () {
- echo
- echo "$*"
- echo
- exit 1
-} >&2
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false
-msys=false
-darwin=false
-nonstop=false
-case "$( uname )" in #(
- CYGWIN* ) cygwin=true ;; #(
- Darwin* ) darwin=true ;; #(
- MSYS* | MINGW* ) msys=true ;; #(
- NONSTOP* ) nonstop=true ;;
-esac
-
-CLASSPATH="\\\"\\\""
-
-
-# Determine the Java command to use to start the JVM.
-if [ -n "$JAVA_HOME" ] ; then
- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
- # IBM's JDK on AIX uses strange locations for the executables
- JAVACMD=$JAVA_HOME/jre/sh/java
- else
- JAVACMD=$JAVA_HOME/bin/java
- fi
- if [ ! -x "$JAVACMD" ] ; then
- die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
-
-Please set the JAVA_HOME variable in your environment to match the
-location of your Java installation."
- fi
-else
- JAVACMD=java
- if ! command -v java >/dev/null 2>&1
- then
- die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
-
-Please set the JAVA_HOME variable in your environment to match the
-location of your Java installation."
- fi
-fi
-
-# Increase the maximum file descriptors if we can.
-if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
- case $MAX_FD in #(
- max*)
- # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
- # shellcheck disable=SC2039,SC3045
- MAX_FD=$( ulimit -H -n ) ||
- warn "Could not query maximum file descriptor limit"
- esac
- case $MAX_FD in #(
- '' | soft) :;; #(
- *)
- # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
- # shellcheck disable=SC2039,SC3045
- ulimit -n "$MAX_FD" ||
- warn "Could not set maximum file descriptor limit to $MAX_FD"
- esac
-fi
-
-# Collect all arguments for the java command, stacking in reverse order:
-# * args from the command line
-# * the main class name
-# * -classpath
-# * -D...appname settings
-# * --module-path (only if needed)
-# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
-
-# For Cygwin or MSYS, switch paths to Windows format before running java
-if "$cygwin" || "$msys" ; then
- APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
- CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
-
- JAVACMD=$( cygpath --unix "$JAVACMD" )
-
- # Now convert the arguments - kludge to limit ourselves to /bin/sh
- for arg do
- if
- case $arg in #(
- -*) false ;; # don't mess with options #(
- /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
- [ -e "$t" ] ;; #(
- *) false ;;
- esac
- then
- arg=$( cygpath --path --ignore --mixed "$arg" )
- fi
- # Roll the args list around exactly as many times as the number of
- # args, so each arg winds up back in the position where it started, but
- # possibly modified.
- #
- # NB: a `for` loop captures its iteration list before it begins, so
- # changing the positional parameters here affects neither the number of
- # iterations, nor the values presented in `arg`.
- shift # remove old arg
- set -- "$@" "$arg" # push replacement arg
- done
-fi
-
-
-# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
-
-# Collect all arguments for the java command:
-# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
-# and any embedded shellness will be escaped.
-# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
-# treated as '${Hostname}' itself on the command line.
-
-set -- \
- "-Dorg.gradle.appname=$APP_BASE_NAME" \
- -classpath "$CLASSPATH" \
- -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
- "$@"
-
-# Stop when "xargs" is not available.
-if ! command -v xargs >/dev/null 2>&1
-then
- die "xargs is not available"
-fi
-
-# Use "xargs" to parse quoted args.
-#
-# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
-#
-# In Bash we could simply go:
-#
-# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
-# set -- "${ARGS[@]}" "$@"
-#
-# but POSIX shell has neither arrays nor command substitution, so instead we
-# post-process each arg (as a line of input to sed) to backslash-escape any
-# character that might be a shell metacharacter, then use eval to reverse
-# that process (while maintaining the separation between arguments), and wrap
-# the whole thing up as a single "set" statement.
-#
-# This will of course break if any of these variables contains a newline or
-# an unmatched quote.
-#
-
-eval "set -- $(
- printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
- xargs -n1 |
- sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
- tr '\n' ' '
- )" '"$@"'
-
-exec "$JAVACMD" "$@"
diff --git a/gradlew.bat b/gradlew.bat
deleted file mode 100644
index 5eed7ee8452..00000000000
--- a/gradlew.bat
+++ /dev/null
@@ -1,94 +0,0 @@
-@rem
-@rem Copyright 2015 the original author or authors.
-@rem
-@rem Licensed under the Apache License, Version 2.0 (the "License");
-@rem you may not use this file except in compliance with the License.
-@rem You may obtain a copy of the License at
-@rem
-@rem https://www.apache.org/licenses/LICENSE-2.0
-@rem
-@rem Unless required by applicable law or agreed to in writing, software
-@rem distributed under the License is distributed on an "AS IS" BASIS,
-@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-@rem See the License for the specific language governing permissions and
-@rem limitations under the License.
-@rem
-@rem SPDX-License-Identifier: Apache-2.0
-@rem
-
-@if "%DEBUG%"=="" @echo off
-@rem ##########################################################################
-@rem
-@rem Gradle startup script for Windows
-@rem
-@rem ##########################################################################
-
-@rem Set local scope for the variables with windows NT shell
-if "%OS%"=="Windows_NT" setlocal
-
-set DIRNAME=%~dp0
-if "%DIRNAME%"=="" set DIRNAME=.
-@rem This is normally unused
-set APP_BASE_NAME=%~n0
-set APP_HOME=%DIRNAME%
-
-@rem Resolve any "." and ".." in APP_HOME to make it shorter.
-for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
-
-@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
-
-@rem Find java.exe
-if defined JAVA_HOME goto findJavaFromJavaHome
-
-set JAVA_EXE=java.exe
-%JAVA_EXE% -version >NUL 2>&1
-if %ERRORLEVEL% equ 0 goto execute
-
-echo. 1>&2
-echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
-echo. 1>&2
-echo Please set the JAVA_HOME variable in your environment to match the 1>&2
-echo location of your Java installation. 1>&2
-
-goto fail
-
-:findJavaFromJavaHome
-set JAVA_HOME=%JAVA_HOME:"=%
-set JAVA_EXE=%JAVA_HOME%/bin/java.exe
-
-if exist "%JAVA_EXE%" goto execute
-
-echo. 1>&2
-echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
-echo. 1>&2
-echo Please set the JAVA_HOME variable in your environment to match the 1>&2
-echo location of your Java installation. 1>&2
-
-goto fail
-
-:execute
-@rem Setup the command line
-
-set CLASSPATH=
-
-
-@rem Execute Gradle
-"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
-
-:end
-@rem End local scope for the variables with windows NT shell
-if %ERRORLEVEL% equ 0 goto mainEnd
-
-:fail
-rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
-rem the _cmd.exe /c_ return code!
-set EXIT_CODE=%ERRORLEVEL%
-if %EXIT_CODE% equ 0 set EXIT_CODE=1
-if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
-exit /b %EXIT_CODE%
-
-:mainEnd
-if "%OS%"=="Windows_NT" endlocal
-
-:omega
diff --git a/java-8/.gitignore b/java-8/.gitignore
deleted file mode 100644
index 7f6823bcc0f..00000000000
--- a/java-8/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-.gradle
-build/
diff --git a/java-8/build.gradle b/java-8/build.gradle
deleted file mode 100644
index 56ce1751c3b..00000000000
--- a/java-8/build.gradle
+++ /dev/null
@@ -1,31 +0,0 @@
-plugins {
- // Apply the java-library plugin to add support for Java Library
- id 'java-library'
- id 'eclipse'
-}
-
-repositories {
- mavenCentral()
-}
-
-sourceSets {
- main {
- java {
- srcDirs = ['../src']
- exclude 'test/**'
- }
- }
-}
-
-java {
- toolchain {
- languageVersion = JavaLanguageVersion.of(8)
- }
- withSourcesJar()
-}
-
-tasks.jar {
- zip64(true)
-}
-
-apply from: "../gradle/dependencies.gradle"
diff --git a/java-8/daemon-jvm.properties b/java-8/daemon-jvm.properties
deleted file mode 100644
index 3bd3a411829..00000000000
--- a/java-8/daemon-jvm.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-#This file is generated by updateDaemonJvm
-toolchainVersion=8
diff --git a/java-8/gradle.properties b/java-8/gradle.properties
deleted file mode 100644
index 51d218b5fc1..00000000000
--- a/java-8/gradle.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-org.gradle.jvmargs=-Xmx8g -XX:MaxMetaspaceSize=2g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
-
-mavenArtifactId = msgraph-sdk-java
diff --git a/java-8/settings.gradle b/java-8/settings.gradle
deleted file mode 100644
index f61f5ddf93b..00000000000
--- a/java-8/settings.gradle
+++ /dev/null
@@ -1 +0,0 @@
-rootProject.name = 'msgraph-sdk-java'
diff --git a/mvnw b/mvnw
new file mode 100755
index 00000000000..5272759eee3
--- /dev/null
+++ b/mvnw
@@ -0,0 +1,332 @@
+#!/bin/sh
+# ----------------------------------------------------------------------------
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+# ----------------------------------------------------------------------------
+
+# ----------------------------------------------------------------------------
+# Apache Maven Wrapper startup batch script, version @@project.version@@
+#
+# Required ENV vars:
+# ------------------
+# JAVA_HOME - location of a JDK home dir
+#
+# Optional ENV vars
+# -----------------
+# MAVEN_OPTS - parameters passed to the Java VM when running Maven
+# e.g. to debug Maven itself, use
+# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
+# MAVEN_SKIP_RC - flag to disable loading of mavenrc files
+# ----------------------------------------------------------------------------
+
+if [ -z "$MAVEN_SKIP_RC" ]; then
+
+ if [ -f /usr/local/etc/mavenrc ]; then
+ . /usr/local/etc/mavenrc
+ fi
+
+ if [ -f /etc/mavenrc ]; then
+ . /etc/mavenrc
+ fi
+
+ if [ -f "$HOME/.mavenrc" ]; then
+ . "$HOME/.mavenrc"
+ fi
+
+fi
+
+# OS specific support. $var _must_ be set to either true or false.
+cygwin=false
+darwin=false
+mingw=false
+case "$(uname)" in
+CYGWIN*) cygwin=true ;;
+MINGW*) mingw=true ;;
+Darwin*)
+ darwin=true
+ # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
+ # See https://developer.apple.com/library/mac/qa/qa1170/_index.html
+ if [ -z "$JAVA_HOME" ]; then
+ if [ -x "/usr/libexec/java_home" ]; then
+ JAVA_HOME="$(/usr/libexec/java_home)"
+ export JAVA_HOME
+ else
+ JAVA_HOME="/Library/Java/Home"
+ export JAVA_HOME
+ fi
+ fi
+ ;;
+esac
+
+if [ -z "$JAVA_HOME" ]; then
+ if [ -r /etc/gentoo-release ]; then
+ JAVA_HOME=$(java-config --jre-home)
+ fi
+fi
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin; then
+ [ -n "$JAVA_HOME" ] \
+ && JAVA_HOME=$(cygpath --unix "$JAVA_HOME")
+ [ -n "$CLASSPATH" ] \
+ && CLASSPATH=$(cygpath --path --unix "$CLASSPATH")
+fi
+
+# For Mingw, ensure paths are in UNIX format before anything is touched
+if $mingw; then
+ [ -n "$JAVA_HOME" ] && [ -d "$JAVA_HOME" ] \
+ && JAVA_HOME="$(
+ cd "$JAVA_HOME" || (
+ echo "cannot cd into $JAVA_HOME." >&2
+ exit 1
+ )
+ pwd
+ )"
+fi
+
+if [ -z "$JAVA_HOME" ]; then
+ javaExecutable="$(which javac)"
+ if [ -n "$javaExecutable" ] && ! [ "$(expr "$javaExecutable" : '\([^ ]*\)')" = "no" ]; then
+ # readlink(1) is not available as standard on Solaris 10.
+ readLink=$(which readlink)
+ if [ ! "$(expr "$readLink" : '\([^ ]*\)')" = "no" ]; then
+ if $darwin; then
+ javaHome="$(dirname "$javaExecutable")"
+ javaExecutable="$(cd "$javaHome" && pwd -P)/javac"
+ else
+ javaExecutable="$(readlink -f "$javaExecutable")"
+ fi
+ javaHome="$(dirname "$javaExecutable")"
+ javaHome=$(expr "$javaHome" : '\(.*\)/bin')
+ JAVA_HOME="$javaHome"
+ export JAVA_HOME
+ fi
+ fi
+fi
+
+if [ -z "$JAVACMD" ]; then
+ if [ -n "$JAVA_HOME" ]; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ]; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ else
+ JAVACMD="$(
+ \unset -f command 2>/dev/null
+ \command -v java
+ )"
+ fi
+fi
+
+if [ ! -x "$JAVACMD" ]; then
+ echo "Error: JAVA_HOME is not defined correctly." >&2
+ echo " We cannot execute $JAVACMD" >&2
+ exit 1
+fi
+
+if [ -z "$JAVA_HOME" ]; then
+ echo "Warning: JAVA_HOME environment variable is not set." >&2
+fi
+
+# traverses directory structure from process work directory to filesystem root
+# first directory with .mvn subdirectory is considered project base directory
+find_maven_basedir() {
+ if [ -z "$1" ]; then
+ echo "Path not specified to find_maven_basedir" >&2
+ return 1
+ fi
+
+ basedir="$1"
+ wdir="$1"
+ while [ "$wdir" != '/' ]; do
+ if [ -d "$wdir"/.mvn ]; then
+ basedir=$wdir
+ break
+ fi
+ # workaround for JBEAP-8937 (on Solaris 10/Sparc)
+ if [ -d "${wdir}" ]; then
+ wdir=$(
+ cd "$wdir/.." || exit 1
+ pwd
+ )
+ fi
+ # end of workaround
+ done
+ printf '%s' "$(
+ cd "$basedir" || exit 1
+ pwd
+ )"
+}
+
+# concatenates all lines of a file
+concat_lines() {
+ if [ -f "$1" ]; then
+ # Remove \r in case we run on Windows within Git Bash
+ # and check out the repository with auto CRLF management
+ # enabled. Otherwise, we may read lines that are delimited with
+ # \r\n and produce $'-Xarg\r' rather than -Xarg due to word
+ # splitting rules.
+ tr -s '\r\n' ' ' <"$1"
+ fi
+}
+
+log() {
+ if [ "$MVNW_VERBOSE" = true ]; then
+ printf '%s\n' "$1"
+ fi
+}
+
+BASE_DIR=$(find_maven_basedir "$(dirname "$0")")
+if [ -z "$BASE_DIR" ]; then
+ exit 1
+fi
+
+MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
+export MAVEN_PROJECTBASEDIR
+log "$MAVEN_PROJECTBASEDIR"
+
+##########################################################################################
+# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
+# This allows using the maven wrapper in projects that prohibit checking in binary data.
+##########################################################################################
+wrapperJarPath="$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar"
+if [ -r "$wrapperJarPath" ]; then
+ log "Found $wrapperJarPath"
+else
+ log "Couldn't find $wrapperJarPath, downloading it ..."
+
+ if [ -n "$MVNW_REPOURL" ]; then
+ wrapperUrl="$MVNW_REPOURL/org/apache/maven/wrapper/maven-wrapper/@@project.version@@/maven-wrapper-@@project.version@@.jar"
+ else
+ wrapperUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/@@project.version@@/maven-wrapper-@@project.version@@.jar"
+ fi
+ while IFS="=" read -r key value; do
+ # Remove '\r' from value to allow usage on windows as IFS does not consider '\r' as a separator ( considers space, tab, new line ('\n'), and custom '=' )
+ safeValue=$(echo "$value" | tr -d '\r')
+ case "$key" in wrapperUrl)
+ wrapperUrl="$safeValue"
+ break
+ ;;
+ esac
+ done <"$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.properties"
+ log "Downloading from: $wrapperUrl"
+
+ if $cygwin; then
+ wrapperJarPath=$(cygpath --path --windows "$wrapperJarPath")
+ fi
+
+ if command -v wget >/dev/null; then
+ log "Found wget ... using wget"
+ [ "$MVNW_VERBOSE" = true ] && QUIET="" || QUIET="--quiet"
+ if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
+ wget $QUIET "$wrapperUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
+ else
+ wget $QUIET --http-user="$MVNW_USERNAME" --http-password="$MVNW_PASSWORD" "$wrapperUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
+ fi
+ elif command -v curl >/dev/null; then
+ log "Found curl ... using curl"
+ [ "$MVNW_VERBOSE" = true ] && QUIET="" || QUIET="--silent"
+ if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
+ curl $QUIET -o "$wrapperJarPath" "$wrapperUrl" -f -L || rm -f "$wrapperJarPath"
+ else
+ curl $QUIET --user "$MVNW_USERNAME:$MVNW_PASSWORD" -o "$wrapperJarPath" "$wrapperUrl" -f -L || rm -f "$wrapperJarPath"
+ fi
+ else
+ log "Falling back to using Java to download"
+ javaSource="$MAVEN_PROJECTBASEDIR/.mvn/wrapper/MavenWrapperDownloader.java"
+ javaClass="$MAVEN_PROJECTBASEDIR/.mvn/wrapper/MavenWrapperDownloader.class"
+ # For Cygwin, switch paths to Windows format before running javac
+ if $cygwin; then
+ javaSource=$(cygpath --path --windows "$javaSource")
+ javaClass=$(cygpath --path --windows "$javaClass")
+ fi
+ if [ -e "$javaSource" ]; then
+ if [ ! -e "$javaClass" ]; then
+ log " - Compiling MavenWrapperDownloader.java ..."
+ ("$JAVA_HOME/bin/javac" "$javaSource")
+ fi
+ if [ -e "$javaClass" ]; then
+ log " - Running MavenWrapperDownloader.java ..."
+ ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$wrapperUrl" "$wrapperJarPath") || rm -f "$wrapperJarPath"
+ fi
+ fi
+ fi
+fi
+##########################################################################################
+# End of extension
+##########################################################################################
+
+# If specified, validate the SHA-256 sum of the Maven wrapper jar file
+wrapperSha256Sum=""
+while IFS="=" read -r key value; do
+ case "$key" in wrapperSha256Sum)
+ wrapperSha256Sum=$value
+ break
+ ;;
+ esac
+done <"$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.properties"
+if [ -n "$wrapperSha256Sum" ]; then
+ wrapperSha256Result=false
+ if command -v sha256sum >/dev/null; then
+ if echo "$wrapperSha256Sum $wrapperJarPath" | sha256sum -c >/dev/null 2>&1; then
+ wrapperSha256Result=true
+ fi
+ elif command -v shasum >/dev/null; then
+ if echo "$wrapperSha256Sum $wrapperJarPath" | shasum -a 256 -c >/dev/null 2>&1; then
+ wrapperSha256Result=true
+ fi
+ else
+ echo "Checksum validation was requested but neither 'sha256sum' or 'shasum' are available." >&2
+ echo "Please install either command, or disable validation by removing 'wrapperSha256Sum' from your maven-wrapper.properties." >&2
+ exit 1
+ fi
+ if [ $wrapperSha256Result = false ]; then
+ echo "Error: Failed to validate Maven wrapper SHA-256, your Maven wrapper might be compromised." >&2
+ echo "Investigate or delete $wrapperJarPath to attempt a clean download." >&2
+ echo "If you updated your Maven version, you need to update the specified wrapperSha256Sum property." >&2
+ exit 1
+ fi
+fi
+
+MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+ [ -n "$JAVA_HOME" ] \
+ && JAVA_HOME=$(cygpath --path --windows "$JAVA_HOME")
+ [ -n "$CLASSPATH" ] \
+ && CLASSPATH=$(cygpath --path --windows "$CLASSPATH")
+ [ -n "$MAVEN_PROJECTBASEDIR" ] \
+ && MAVEN_PROJECTBASEDIR=$(cygpath --path --windows "$MAVEN_PROJECTBASEDIR")
+fi
+
+# Provide a "standardized" way to retrieve the CLI args that will
+# work with both Windows and non-Windows executions.
+MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $*"
+export MAVEN_CMD_LINE_ARGS
+
+WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
+
+# shellcheck disable=SC2086 # safe args
+exec "$JAVACMD" \
+ $MAVEN_OPTS \
+ $MAVEN_DEBUG_OPTS \
+ -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
+ "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
+ ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
diff --git a/mvnw.cmd b/mvnw.cmd
new file mode 100644
index 00000000000..708460f95c2
--- /dev/null
+++ b/mvnw.cmd
@@ -0,0 +1,206 @@
+@REM ----------------------------------------------------------------------------
+@REM Licensed to the Apache Software Foundation (ASF) under one
+@REM or more contributor license agreements. See the NOTICE file
+@REM distributed with this work for additional information
+@REM regarding copyright ownership. The ASF licenses this file
+@REM to you under the Apache License, Version 2.0 (the
+@REM "License"); you may not use this file except in compliance
+@REM with the License. You may obtain a copy of the License at
+@REM
+@REM http://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing,
+@REM software distributed under the License is distributed on an
+@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@REM KIND, either express or implied. See the License for the
+@REM specific language governing permissions and limitations
+@REM under the License.
+@REM ----------------------------------------------------------------------------
+
+@REM ----------------------------------------------------------------------------
+@REM Apache Maven Wrapper startup batch script, version @@project.version@@
+@REM
+@REM Required ENV vars:
+@REM JAVA_HOME - location of a JDK home dir
+@REM
+@REM Optional ENV vars
+@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
+@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
+@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
+@REM e.g. to debug Maven itself, use
+@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
+@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
+@REM ----------------------------------------------------------------------------
+
+@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
+@echo off
+@REM set title of command window
+title %0
+@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
+@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%
+
+@REM set %HOME% to equivalent of $HOME
+if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
+
+@REM Execute a user defined script before this one
+if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
+@REM check for pre script, once with legacy .bat ending and once with .cmd ending
+if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
+if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
+:skipRcPre
+
+@setlocal
+
+set ERROR_CODE=0
+
+@REM To isolate internal variables from possible post scripts, we use another setlocal
+@setlocal
+
+@REM ==== START VALIDATION ====
+if not "%JAVA_HOME%" == "" goto OkJHome
+
+echo. >&2
+echo Error: JAVA_HOME not found in your environment. >&2
+echo Please set the JAVA_HOME variable in your environment to match the >&2
+echo location of your Java installation. >&2
+echo. >&2
+goto error
+
+:OkJHome
+if exist "%JAVA_HOME%\bin\java.exe" goto init
+
+echo. >&2
+echo Error: JAVA_HOME is set to an invalid directory. >&2
+echo JAVA_HOME = "%JAVA_HOME%" >&2
+echo Please set the JAVA_HOME variable in your environment to match the >&2
+echo location of your Java installation. >&2
+echo. >&2
+goto error
+
+@REM ==== END VALIDATION ====
+
+:init
+
+@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
+@REM Fallback to current working directory if not found.
+
+set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
+IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
+
+set EXEC_DIR=%CD%
+set WDIR=%EXEC_DIR%
+:findBaseDir
+IF EXIST "%WDIR%"\.mvn goto baseDirFound
+cd ..
+IF "%WDIR%"=="%CD%" goto baseDirNotFound
+set WDIR=%CD%
+goto findBaseDir
+
+:baseDirFound
+set MAVEN_PROJECTBASEDIR=%WDIR%
+cd "%EXEC_DIR%"
+goto endDetectBaseDir
+
+:baseDirNotFound
+set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
+cd "%EXEC_DIR%"
+
+:endDetectBaseDir
+
+IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
+
+@setlocal EnableExtensions EnableDelayedExpansion
+for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
+@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
+
+:endReadAdditionalConfig
+
+SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
+set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
+set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
+
+set WRAPPER_URL="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/@@project.version@@/maven-wrapper-@@project.version@@.jar"
+
+FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
+ IF "%%A"=="wrapperUrl" SET WRAPPER_URL=%%B
+)
+
+@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
+@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
+if exist %WRAPPER_JAR% (
+ if "%MVNW_VERBOSE%" == "true" (
+ echo Found %WRAPPER_JAR%
+ )
+) else (
+ if not "%MVNW_REPOURL%" == "" (
+ SET WRAPPER_URL="%MVNW_REPOURL%/org/apache/maven/wrapper/maven-wrapper/@@project.version@@/maven-wrapper-@@project.version@@.jar"
+ )
+ if "%MVNW_VERBOSE%" == "true" (
+ echo Couldn't find %WRAPPER_JAR%, downloading it ...
+ echo Downloading from: %WRAPPER_URL%
+ )
+
+ powershell -Command "&{"^
+ "$webclient = new-object System.Net.WebClient;"^
+ "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
+ "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
+ "}"^
+ "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%WRAPPER_URL%', '%WRAPPER_JAR%')"^
+ "}"
+ if "%MVNW_VERBOSE%" == "true" (
+ echo Finished downloading %WRAPPER_JAR%
+ )
+)
+@REM End of extension
+
+@REM If specified, validate the SHA-256 sum of the Maven wrapper jar file
+SET WRAPPER_SHA_256_SUM=""
+FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
+ IF "%%A"=="wrapperSha256Sum" SET WRAPPER_SHA_256_SUM=%%B
+)
+IF NOT %WRAPPER_SHA_256_SUM%=="" (
+ powershell -Command "&{"^
+ "Import-Module $PSHOME\Modules\Microsoft.PowerShell.Utility -Function Get-FileHash;"^
+ "$hash = (Get-FileHash \"%WRAPPER_JAR%\" -Algorithm SHA256).Hash.ToLower();"^
+ "If('%WRAPPER_SHA_256_SUM%' -ne $hash){"^
+ " Write-Error 'Error: Failed to validate Maven wrapper SHA-256, your Maven wrapper might be compromised.';"^
+ " Write-Error 'Investigate or delete %WRAPPER_JAR% to attempt a clean download.';"^
+ " Write-Error 'If you updated your Maven version, you need to update the specified wrapperSha256Sum property.';"^
+ " exit 1;"^
+ "}"^
+ "}"
+ if ERRORLEVEL 1 goto error
+)
+
+@REM Provide a "standardized" way to retrieve the CLI args that will
+@REM work with both Windows and non-Windows executions.
+set MAVEN_CMD_LINE_ARGS=%*
+
+%MAVEN_JAVA_EXE% ^
+ %JVM_CONFIG_MAVEN_PROPS% ^
+ %MAVEN_OPTS% ^
+ %MAVEN_DEBUG_OPTS% ^
+ -classpath %WRAPPER_JAR% ^
+ "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^
+ %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
+if ERRORLEVEL 1 goto error
+goto end
+
+:error
+set ERROR_CODE=1
+
+:end
+@endlocal & set ERROR_CODE=%ERROR_CODE%
+
+if not "%MAVEN_SKIP_RC%"=="" goto skipRcPost
+@REM check for post script, once with legacy .bat ending and once with .cmd ending
+if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
+if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd"
+:skipRcPost
+
+@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
+if "%MAVEN_BATCH_PAUSE%"=="on" pause
+
+if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%
+
+cmd /C exit /B %ERROR_CODE%
diff --git a/pom.xml b/pom.xml
index ff8998e4129..586ef8d2f2a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,48 +1,226 @@
-
-
- 6.0.0
+
+
+ 4.0.0
com.microsoft.graph
microsoft-graph
- 6.63.0
- pom
+
+ 6.68.0
+
+ jar
+
+ Microsoft Graph Java SDK
+ Microsoft Graph SDK
+ https://github.com/microsoftgraph/msgraph-sdk-java
+
+
+ Microsoft
+ https://github.com/microsoftgraph/msgraph-sdk-java
+
+
+
+ GitHub
+ https://github.com/microsoftgraph/msgraph-sdk-java/issues
+
+
+
+
+ MIT License
+ http://opensource.org/licenses/MIT
+ repo
+
+
+
+
+ https://github.com/microsoftgraph/msgraph-sdk-java
+ scm:git:https://github.com/microsoftgraph/msgraph-sdk-java.git
+ scm:git:ssh://git@github.com:microsoftgraph/msgraph-sdk-java.git
+
+
+
+
+ Microsoft
+
+
+ UTF-8
1.8
1.8
+
+
+ 3.6.6
+ 4.12.0
+ 2.1.1
+ 1.9.2
+
+
+ 3.14.0
+ 3.4.2
+ 3.11.2
+ 3.3.1
+ 3.2.7
+
+
+ central
+ https://repo.maven.apache.org/maven2
+
+
+ GraphDeveloperExperiences_Public
+ https://microsoftgraph.pkgs.visualstudio.com/0985d294-5762-4bc2-a565-161ef349ca3e/_packaging/GraphDeveloperExperiences_Public/maven/v1
+
+
+
+
+
+ GraphDeveloperExperiences_Public
+ https://microsoftgraph.pkgs.visualstudio.com/0985d294-5762-4bc2-a565-161ef349ca3e/_packaging/GraphDeveloperExperiences_Public/maven/v1
+
+
+
+
- com.google.code.gson
- gson
- 2.13.2
+ com.microsoft.graph
+ microsoft-graph-core
+ ${microsoft-graph-core.version}
+
com.squareup.okhttp3
okhttp
- 4.12.0
+ ${okhttp.version}
+
- com.microsoft.graph
- microsoft-graph-core
- 3.6.5
+ jakarta.annotation
+ jakarta.annotation-api
+ ${jakarta-annotation.version}
+
- org.junit.jupiter
- junit-jupiter-api
- 6.0.3
- test
+ com.microsoft.kiota
+ microsoft-kiota-authentication-azure
+ ${kiota.version}
+
- org.mockito
- mockito-inline
- 5.2.0
- test
+ com.microsoft.kiota
+ microsoft-kiota-http-okHttp
+ ${kiota.version}
+
+
+
+ com.microsoft.kiota
+ microsoft-kiota-serialization-json
+ ${kiota.version}
+
+
+
+ com.microsoft.kiota
+ microsoft-kiota-serialization-text
+ ${kiota.version}
+
+
+
+ com.microsoft.kiota
+ microsoft-kiota-serialization-form
+ ${kiota.version}
+
+
+
+ com.microsoft.kiota
+ microsoft-kiota-serialization-multipart
+ ${kiota.version}
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ ${maven-compiler-plugin.version}
+
+ ${maven.compiler.source}
+ ${maven.compiler.target}
+
+ -parameters
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ ${maven-jar-plugin.version}
+
+
+
+ com.microsoft.graph
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ ${maven-javadoc-plugin.version}
+
+
+ attach-javadocs
+
+ jar
+
+
+
+
+ -missing
+ true
+ -J-Xmx2g
+
+
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+ ${maven-source-plugin.version}
+
+
+ attach-sources
+
+ jar-no-fork
+
+
+
+
+
+
+
+
+
+ signing
+
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ ${maven-gpg-plugin.version}
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+
+
+
+
+
diff --git a/release-please-config.json b/release-please-config.json
index a7132b77fb9..dd1daf92d27 100644
--- a/release-please-config.json
+++ b/release-please-config.json
@@ -14,14 +14,13 @@
"package-name": "com.microsoft.graph.microsoft-graph",
"changelog-path": "CHANGELOG.md",
"extra-files": [
- "gradle.properties",
- "README.md",
- "src/main/java/com/microsoft/graph/info/Constants.java",
{
"type": "xml",
"path": "pom.xml",
- "xpath": "//project/version"
- }
+ "xpath": "/*[local-name()='project']/*[local-name()='version']"
+ },
+ "README.md",
+ "src/main/java/com/microsoft/graph/info/Constants.java"
]
}
},
diff --git a/scripts/validatePackageContents.ps1 b/scripts/validatePackageContents.ps1
index 3eabdab45c0..87e52c12dbd 100644
--- a/scripts/validatePackageContents.ps1
+++ b/scripts/validatePackageContents.ps1
@@ -26,8 +26,6 @@ $expectedFiles = @(
"-javadoc.jar.asc",
"-sources.jar",
"-sources.jar.asc",
- ".module",
- ".module.asc",
".pom",
".pom.asc",
".jar",
diff --git a/settings.gradle b/settings.gradle
deleted file mode 100644
index 53fc3a5eebe..00000000000
--- a/settings.gradle
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * This file was generated by the Gradle 'init' task.
- *
- * The settings file is used to specify which projects to include in your build.
- *
- * Detailed information about configuring a multi-project build in Gradle can be found
- * in the user manual at https://docs.gradle.org/6.6/userguide/multi_project_builds.html
- */
-
-rootProject.name = 'msgraph-sdk-java'
diff --git a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/MailboxesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/MailboxesRequestBuilder.java
index 929fc50b77b..42cfd403262 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/MailboxesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/MailboxesRequestBuilder.java
@@ -60,7 +60,7 @@ public MailboxesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get mailboxes from admin
+ * Represents a user's mailboxes.
* @return a {@link MailboxCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -69,7 +69,7 @@ public MailboxCollectionResponse get() {
return get(null);
}
/**
- * Get mailboxes from admin
+ * Represents a user's mailboxes.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MailboxCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -107,7 +107,7 @@ public Mailbox post(@jakarta.annotation.Nonnull final Mailbox body, @jakarta.ann
return this.requestAdapter.send(requestInfo, errorMapping, Mailbox::createFromDiscriminatorValue);
}
/**
- * Get mailboxes from admin
+ * Represents a user's mailboxes.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get mailboxes from admin
+ * Represents a user's mailboxes.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -161,7 +161,7 @@ public MailboxesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String
return new MailboxesRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get mailboxes from admin
+ * Represents a user's mailboxes.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/MailboxItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/MailboxItemRequestBuilder.java
index 5920a64a876..d68214a0066 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/MailboxItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/MailboxItemRequestBuilder.java
@@ -82,7 +82,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Get mailboxes from admin
+ * Represents a user's mailboxes.
* @return a {@link Mailbox}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -91,7 +91,7 @@ public Mailbox get() {
return get(null);
}
/**
- * Get mailboxes from admin
+ * Represents a user's mailboxes.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Mailbox}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -149,7 +149,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Get mailboxes from admin
+ * Represents a user's mailboxes.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -157,7 +157,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get mailboxes from admin
+ * Represents a user's mailboxes.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -209,7 +209,7 @@ public MailboxItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final Strin
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Get mailboxes from admin
+ * Represents a user's mailboxes.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/createimportsession/CreateImportSessionRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/createimportsession/CreateImportSessionRequestBuilder.java
index ed5a0af169e..051010b51d0 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/createimportsession/CreateImportSessionRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/createimportsession/CreateImportSessionRequestBuilder.java
@@ -36,19 +36,21 @@ public CreateImportSessionRequestBuilder(@jakarta.annotation.Nonnull final Strin
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/createImportSession", rawUrl);
}
/**
- * Invoke action createImportSession
+ * Create a session to import an Exchange mailbox item that was exported using the exportItems API.
* @return a {@link MailboxItemImportSession}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MailboxItemImportSession post() {
return post(null);
}
/**
- * Invoke action createImportSession
+ * Create a session to import an Exchange mailbox item that was exported using the exportItems API.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MailboxItemImportSession}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MailboxItemImportSession post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -58,7 +60,7 @@ public MailboxItemImportSession post(@jakarta.annotation.Nullable final java.uti
return this.requestAdapter.send(requestInfo, errorMapping, MailboxItemImportSession::createFromDiscriminatorValue);
}
/**
- * Invoke action createImportSession
+ * Create a session to import an Exchange mailbox item that was exported using the exportItems API.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -66,7 +68,7 @@ public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
- * Invoke action createImportSession
+ * Create a session to import an Exchange mailbox item that was exported using the exportItems API.
* @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/admin/exchange/mailboxes/item/exportitems/ExportItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/exportitems/ExportItemsRequestBuilder.java
index 34f138ce1f3..ac3eec4b178 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/exportitems/ExportItemsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/exportitems/ExportItemsRequestBuilder.java
@@ -35,21 +35,23 @@ public ExportItemsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/exportItems", rawUrl);
}
/**
- * Invoke action exportItems
+ * Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see Overview of the mailbox import and export APIs in Microsoft Graph. You can export up to 20 items in a single export request.
* @param body The request body
* @return a {@link ExportItemsPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ExportItemsPostResponse post(@jakarta.annotation.Nonnull final ExportItemsPostRequestBody body) {
return post(body, null);
}
/**
- * Invoke action exportItems
+ * Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see Overview of the mailbox import and export APIs in Microsoft Graph. You can export up to 20 items in a single export request.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ExportItemsPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ExportItemsPostResponse post(@jakarta.annotation.Nonnull final ExportItemsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -60,7 +62,7 @@ public ExportItemsPostResponse post(@jakarta.annotation.Nonnull final ExportItem
return this.requestAdapter.send(requestInfo, errorMapping, ExportItemsPostResponse::createFromDiscriminatorValue);
}
/**
- * Invoke action exportItems
+ * Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see Overview of the mailbox import and export APIs in Microsoft Graph. You can export up to 20 items in a single export request.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -69,7 +71,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Invoke action exportItems
+ * Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn't intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see Overview of the mailbox import and export APIs in Microsoft Graph. You can export up to 20 items in a single export request.
* @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/admin/exchange/mailboxes/item/folders/FoldersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/FoldersRequestBuilder.java
index 36fae8b1d03..c20b6a6a4a0 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/FoldersRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/FoldersRequestBuilder.java
@@ -68,19 +68,21 @@ public FoldersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get folders from admin
+ * Get all the mailboxFolder objects in the specified mailbox, including any search folders.
* @return a {@link MailboxFolderCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MailboxFolderCollectionResponse get() {
return get(null);
}
/**
- * Get folders from admin
+ * Get all the mailboxFolder objects in the specified mailbox, including any search folders.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MailboxFolderCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MailboxFolderCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -90,7 +92,7 @@ public MailboxFolderCollectionResponse get(@jakarta.annotation.Nullable final ja
return this.requestAdapter.send(requestInfo, errorMapping, MailboxFolderCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Get folders from admin
+ * Get all the mailboxFolder objects in the specified mailbox, including any search folders.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -98,7 +100,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get folders from admin
+ * Get all the mailboxFolder objects in the specified mailbox, including any search folders.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -120,7 +122,7 @@ public FoldersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String ra
return new FoldersRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get folders from admin
+ * Get all the mailboxFolder objects in the specified mailbox, including any search folders.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/delta/DeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/delta/DeltaRequestBuilder.java
index 2c532dfd41d..78232c7f2d3 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/delta/DeltaRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/delta/DeltaRequestBuilder.java
@@ -36,19 +36,21 @@ public DeltaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Invoke function delta
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeltaGetResponse get() {
return get(null);
}
/**
- * Invoke function delta
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -58,7 +60,7 @@ public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DeltaGetResponse::createFromDiscriminatorValue);
}
/**
- * Invoke function delta
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -66,7 +68,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Invoke function delta
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -88,7 +90,7 @@ public DeltaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU
return new DeltaRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Invoke function delta
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/MailboxFolderItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/MailboxFolderItemRequestBuilder.java
index b34e2187f10..13e049ae3cc 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/MailboxFolderItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/MailboxFolderItemRequestBuilder.java
@@ -55,19 +55,21 @@ public MailboxFolderItemRequestBuilder(@jakarta.annotation.Nonnull final String
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Get folders from admin
+ * Read the properties and relationships of a mailboxFolder object.
* @return a {@link MailboxFolder}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MailboxFolder get() {
return get(null);
}
/**
- * Get folders from admin
+ * Read the properties and relationships of a mailboxFolder object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MailboxFolder}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MailboxFolder get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -77,7 +79,7 @@ public MailboxFolder get(@jakarta.annotation.Nullable final java.util.function.C
return this.requestAdapter.send(requestInfo, errorMapping, MailboxFolder::createFromDiscriminatorValue);
}
/**
- * Get folders from admin
+ * Read the properties and relationships of a mailboxFolder object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -85,7 +87,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get folders from admin
+ * Read the properties and relationships of a mailboxFolder object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -107,7 +109,7 @@ public MailboxFolderItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final
return new MailboxFolderItemRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get folders from admin
+ * Read the properties and relationships of a mailboxFolder object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/ChildFoldersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/ChildFoldersRequestBuilder.java
index 690eee0b709..13864f2bd80 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/ChildFoldersRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/ChildFoldersRequestBuilder.java
@@ -68,19 +68,21 @@ public ChildFoldersRequestBuilder(@jakarta.annotation.Nonnull final String rawUr
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get childFolders from admin
+ * Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
* @return a {@link MailboxFolderCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MailboxFolderCollectionResponse get() {
return get(null);
}
/**
- * Get childFolders from admin
+ * Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MailboxFolderCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MailboxFolderCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -90,7 +92,7 @@ public MailboxFolderCollectionResponse get(@jakarta.annotation.Nullable final ja
return this.requestAdapter.send(requestInfo, errorMapping, MailboxFolderCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Get childFolders from admin
+ * Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -98,7 +100,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get childFolders from admin
+ * Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -120,7 +122,7 @@ public ChildFoldersRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri
return new ChildFoldersRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get childFolders from admin
+ * Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/delta/DeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/delta/DeltaRequestBuilder.java
index 5e59407c994..a356ba3cf78 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/delta/DeltaRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/delta/DeltaRequestBuilder.java
@@ -36,19 +36,21 @@ public DeltaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Invoke function delta
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeltaGetResponse get() {
return get(null);
}
/**
- * Invoke function delta
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -58,7 +60,7 @@ public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DeltaGetResponse::createFromDiscriminatorValue);
}
/**
- * Invoke function delta
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -66,7 +68,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Invoke function delta
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -88,7 +90,7 @@ public DeltaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU
return new DeltaRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Invoke function delta
+ * Get a set of mailboxFolder objects that were added, deleted, or removed from the user's mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user's mail folders without having to fetch all the folders of that mailbox from the server every time.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/MailboxFolderItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/MailboxFolderItemRequestBuilder.java
index 81ae43aaa3f..0301a0ba8ca 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/MailboxFolderItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/MailboxFolderItemRequestBuilder.java
@@ -46,7 +46,7 @@ public MailboxFolderItemRequestBuilder(@jakarta.annotation.Nonnull final String
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/{mailboxFolder%2Did1}{?%24expand,%24select}", rawUrl);
}
/**
- * Get childFolders from admin
+ * The collection of child folders in this folder.
* @return a {@link MailboxFolder}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -55,7 +55,7 @@ public MailboxFolder get() {
return get(null);
}
/**
- * Get childFolders from admin
+ * The collection of child folders in this folder.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MailboxFolder}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -68,7 +68,7 @@ public MailboxFolder get(@jakarta.annotation.Nullable final java.util.function.C
return this.requestAdapter.send(requestInfo, errorMapping, MailboxFolder::createFromDiscriminatorValue);
}
/**
- * Get childFolders from admin
+ * The collection of child folders in this folder.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -76,7 +76,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get childFolders from admin
+ * The collection of child folders in this folder.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -98,7 +98,7 @@ public MailboxFolderItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final
return new MailboxFolderItemRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get childFolders from admin
+ * The collection of child folders in this folder.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/items/ItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/items/ItemsRequestBuilder.java
index 8bc67691ce9..1712a23c929 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/items/ItemsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/items/ItemsRequestBuilder.java
@@ -68,7 +68,7 @@ public ItemsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/{mailboxFolder%2Did1}/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get items from admin
+ * The collection of items in this folder.
* @return a {@link MailboxItemCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -77,7 +77,7 @@ public MailboxItemCollectionResponse get() {
return get(null);
}
/**
- * Get items from admin
+ * The collection of items in this folder.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MailboxItemCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -90,7 +90,7 @@ public MailboxItemCollectionResponse get(@jakarta.annotation.Nullable final java
return this.requestAdapter.send(requestInfo, errorMapping, MailboxItemCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Get items from admin
+ * The collection of items in this folder.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -98,7 +98,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get items from admin
+ * The collection of items in this folder.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -120,7 +120,7 @@ public ItemsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU
return new ItemsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get items from admin
+ * The collection of items in this folder.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/items/delta/DeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/items/delta/DeltaRequestBuilder.java
index b9186a2a7e8..4cb98b8aadd 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/items/delta/DeltaRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/items/delta/DeltaRequestBuilder.java
@@ -36,7 +36,7 @@ public DeltaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/{mailboxFolder%2Did1}/items/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Invoke function delta
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -45,7 +45,7 @@ public DeltaGetResponse get() {
return get(null);
}
/**
- * Invoke function delta
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -58,7 +58,7 @@ public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DeltaGetResponse::createFromDiscriminatorValue);
}
/**
- * Invoke function delta
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -66,7 +66,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Invoke function delta
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -88,7 +88,7 @@ public DeltaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU
return new DeltaRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Invoke function delta
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/items/item/MailboxItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/items/item/MailboxItemItemRequestBuilder.java
index e0e94d19859..6601353770b 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/items/item/MailboxItemItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/childfolders/item/items/item/MailboxItemItemRequestBuilder.java
@@ -37,7 +37,7 @@ public MailboxItemItemRequestBuilder(@jakarta.annotation.Nonnull final String ra
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders/{mailboxFolder%2Did1}/items/{mailboxItem%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Get items from admin
+ * The collection of items in this folder.
* @return a {@link MailboxItem}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -46,7 +46,7 @@ public MailboxItem get() {
return get(null);
}
/**
- * Get items from admin
+ * The collection of items in this folder.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MailboxItem}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -59,7 +59,7 @@ public MailboxItem get(@jakarta.annotation.Nullable final java.util.function.Con
return this.requestAdapter.send(requestInfo, errorMapping, MailboxItem::createFromDiscriminatorValue);
}
/**
- * Get items from admin
+ * The collection of items in this folder.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get items from admin
+ * The collection of items in this folder.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -89,7 +89,7 @@ public MailboxItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final S
return new MailboxItemItemRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get items from admin
+ * The collection of items in this folder.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/items/ItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/items/ItemsRequestBuilder.java
index a6cac143452..43b57c91236 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/items/ItemsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/items/ItemsRequestBuilder.java
@@ -68,19 +68,21 @@ public ItemsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/items{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get items from admin
+ * Get the mailboxItem collection within a specified mailboxFolder in a mailbox.
* @return a {@link MailboxItemCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MailboxItemCollectionResponse get() {
return get(null);
}
/**
- * Get items from admin
+ * Get the mailboxItem collection within a specified mailboxFolder in a mailbox.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MailboxItemCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MailboxItemCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -90,7 +92,7 @@ public MailboxItemCollectionResponse get(@jakarta.annotation.Nullable final java
return this.requestAdapter.send(requestInfo, errorMapping, MailboxItemCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Get items from admin
+ * Get the mailboxItem collection within a specified mailboxFolder in a mailbox.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -98,7 +100,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get items from admin
+ * Get the mailboxItem collection within a specified mailboxFolder in a mailbox.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -120,7 +122,7 @@ public ItemsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU
return new ItemsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get items from admin
+ * Get the mailboxItem collection within a specified mailboxFolder in a mailbox.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/items/delta/DeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/items/delta/DeltaRequestBuilder.java
index 1fbd9d89768..914975a37ec 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/items/delta/DeltaRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/items/delta/DeltaRequestBuilder.java
@@ -36,19 +36,21 @@ public DeltaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/items/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Invoke function delta
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeltaGetResponse get() {
return get(null);
}
/**
- * Invoke function delta
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -58,7 +60,7 @@ public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DeltaGetResponse::createFromDiscriminatorValue);
}
/**
- * Invoke function delta
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -66,7 +68,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Invoke function delta
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -88,7 +90,7 @@ public DeltaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU
return new DeltaRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Invoke function delta
+ * Get a set of mailboxItem objects that were added, deleted, or updated in a specified mailboxFolder. A delta function call for items in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the items in that folder. This approach allows you to maintain and synchronize a local store of a user's mailbox items without having to fetch the entire set of items from the server every time.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/items/item/MailboxItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/items/item/MailboxItemItemRequestBuilder.java
index 828ebc14c9f..323f35732ce 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/items/item/MailboxItemItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/items/item/MailboxItemItemRequestBuilder.java
@@ -37,19 +37,21 @@ public MailboxItemItemRequestBuilder(@jakarta.annotation.Nonnull final String ra
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/items/{mailboxItem%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Get items from admin
+ * Read the properties and relationships of a mailboxItem object.
* @return a {@link MailboxItem}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MailboxItem get() {
return get(null);
}
/**
- * Get items from admin
+ * Read the properties and relationships of a mailboxItem object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MailboxItem}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MailboxItem get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -59,7 +61,7 @@ public MailboxItem get(@jakarta.annotation.Nullable final java.util.function.Con
return this.requestAdapter.send(requestInfo, errorMapping, MailboxItem::createFromDiscriminatorValue);
}
/**
- * Get items from admin
+ * Read the properties and relationships of a mailboxItem object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -67,7 +69,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get items from admin
+ * Read the properties and relationships of a mailboxItem object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -89,7 +91,7 @@ public MailboxItemItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final S
return new MailboxItemItemRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get items from admin
+ * Read the properties and relationships of a mailboxItem object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/healthoverviews/item/issues/item/incidentreport/IncidentReportRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/healthoverviews/item/issues/item/incidentreport/IncidentReportRequestBuilder.java
index 325ac6d9977..c3c6199ba2f 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/healthoverviews/item/issues/item/incidentreport/IncidentReportRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/healthoverviews/item/issues/item/incidentreport/IncidentReportRequestBuilder.java
@@ -36,7 +36,7 @@ public IncidentReportRequestBuilder(@jakarta.annotation.Nonnull final String raw
super(requestAdapter, "{+baseurl}/admin/serviceAnnouncement/healthOverviews/{serviceHealth%2Did}/issues/{serviceHealthIssue%2Did}/incidentReport()", rawUrl);
}
/**
- * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
+ * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public InputStream get() {
return get(null);
}
/**
- * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
+ * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -60,7 +60,7 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, InputStream.class);
}
/**
- * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
+ * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
+ * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
* @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/admin/serviceannouncement/issues/item/ServiceHealthIssueItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/issues/item/ServiceHealthIssueItemRequestBuilder.java
index dbcd8d50f75..fbde7e259ce 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/issues/item/ServiceHealthIssueItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/issues/item/ServiceHealthIssueItemRequestBuilder.java
@@ -64,7 +64,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant.
+ * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant.
* @return a {@link ServiceHealthIssue}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -74,7 +74,7 @@ public ServiceHealthIssue get() {
return get(null);
}
/**
- * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant.
+ * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ServiceHealthIssue}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -133,7 +133,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant.
+ * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -141,7 +141,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant.
+ * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -193,7 +193,7 @@ public ServiceHealthIssueItemRequestBuilder withUrl(@jakarta.annotation.Nonnull
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant.
+ * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/issues/item/incidentreport/IncidentReportRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/issues/item/incidentreport/IncidentReportRequestBuilder.java
index 92920ad1091..471b6c0142f 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/issues/item/incidentreport/IncidentReportRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/issues/item/incidentreport/IncidentReportRequestBuilder.java
@@ -36,7 +36,7 @@ public IncidentReportRequestBuilder(@jakarta.annotation.Nonnull final String raw
super(requestAdapter, "{+baseurl}/admin/serviceAnnouncement/issues/{serviceHealthIssue%2Did}/incidentReport()", rawUrl);
}
/**
- * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
+ * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public InputStream get() {
return get(null);
}
/**
- * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
+ * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -60,7 +60,7 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, InputStream.class);
}
/**
- * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
+ * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
+ * Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
* @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/admin/serviceannouncement/messages/archive/ArchivePostResponse.java b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/archive/ArchivePostResponse.java
index f32d8bcc4f0..75a5356a08f 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/archive/ArchivePostResponse.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/archive/ArchivePostResponse.java
@@ -23,6 +23,7 @@ public class ArchivePostResponse implements AdditionalDataHolder, BackedModel, P
public ArchivePostResponse() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setValue(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/favorite/FavoritePostResponse.java b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/favorite/FavoritePostResponse.java
index 44b13af607b..6e20229efa8 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/favorite/FavoritePostResponse.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/favorite/FavoritePostResponse.java
@@ -23,6 +23,7 @@ public class FavoritePostResponse implements AdditionalDataHolder, BackedModel,
public FavoritePostResponse() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setValue(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/item/ServiceUpdateMessageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/item/ServiceUpdateMessageItemRequestBuilder.java
index 6a7f42e67c1..60494b0b69e 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/item/ServiceUpdateMessageItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/item/ServiceUpdateMessageItemRequestBuilder.java
@@ -73,7 +73,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant.
+ * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant.
* @return a {@link ServiceUpdateMessage}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -83,7 +83,7 @@ public ServiceUpdateMessage get() {
return get(null);
}
/**
- * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant.
+ * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ServiceUpdateMessage}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -142,7 +142,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant.
+ * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -150,7 +150,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant.
+ * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -202,7 +202,7 @@ public ServiceUpdateMessageItemRequestBuilder withUrl(@jakarta.annotation.Nonnul
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant.
+ * Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/markread/MarkReadPostResponse.java b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/markread/MarkReadPostResponse.java
index 044de0cb315..337cf80ba32 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/markread/MarkReadPostResponse.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/markread/MarkReadPostResponse.java
@@ -23,6 +23,7 @@ public class MarkReadPostResponse implements AdditionalDataHolder, BackedModel,
public MarkReadPostResponse() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setValue(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/markunread/MarkUnreadPostResponse.java b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/markunread/MarkUnreadPostResponse.java
index f7486e1c46a..1ad413a9ea1 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/markunread/MarkUnreadPostResponse.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/markunread/MarkUnreadPostResponse.java
@@ -23,6 +23,7 @@ public class MarkUnreadPostResponse implements AdditionalDataHolder, BackedModel
public MarkUnreadPostResponse() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setValue(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/unarchive/UnarchivePostResponse.java b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/unarchive/UnarchivePostResponse.java
index e723ce0fc89..49dc546afab 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/unarchive/UnarchivePostResponse.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/unarchive/UnarchivePostResponse.java
@@ -23,6 +23,7 @@ public class UnarchivePostResponse implements AdditionalDataHolder, BackedModel,
public UnarchivePostResponse() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setValue(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/unfavorite/UnfavoritePostResponse.java b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/unfavorite/UnfavoritePostResponse.java
index aca2eb7642f..54087931c97 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/unfavorite/UnfavoritePostResponse.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/serviceannouncement/messages/unfavorite/UnfavoritePostResponse.java
@@ -23,6 +23,7 @@ public class UnfavoritePostResponse implements AdditionalDataHolder, BackedModel
public UnfavoritePostResponse() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setValue(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/generated/applications/getavailableextensionproperties/GetAvailableExtensionPropertiesPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/applications/getavailableextensionproperties/GetAvailableExtensionPropertiesPostRequestBody.java
index a6649cdfb47..0bfc70e679f 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/getavailableextensionproperties/GetAvailableExtensionPropertiesPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/getavailableextensionproperties/GetAvailableExtensionPropertiesPostRequestBody.java
@@ -23,6 +23,7 @@ public class GetAvailableExtensionPropertiesPostRequestBody implements Additiona
public GetAvailableExtensionPropertiesPostRequestBody() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setIsSyncedFromOnPremises(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/generated/applications/item/appmanagementpolicies/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/appmanagementpolicies/ref/RefRequestBuilder.java
index ff44dfd5e93..e7b5d7d7533 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/appmanagementpolicies/ref/RefRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/appmanagementpolicies/ref/RefRequestBuilder.java
@@ -27,7 +27,7 @@ public class RefRequestBuilder extends BaseRequestBuilder {
* @param requestAdapter The request adapter to use to execute the requests.
*/
public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ super(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
}
/**
* Instantiates a new {@link RefRequestBuilder} and sets the default values.
@@ -35,7 +35,7 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ 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;
@@ -160,7 +160,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/generated/applications/item/getmembergroups/GetMemberGroupsPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/applications/item/getmembergroups/GetMemberGroupsPostRequestBody.java
index 92d009ee90b..5c55f3e4000 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/getmembergroups/GetMemberGroupsPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/getmembergroups/GetMemberGroupsPostRequestBody.java
@@ -23,6 +23,7 @@ public class GetMemberGroupsPostRequestBody implements AdditionalDataHolder, Bac
public GetMemberGroupsPostRequestBody() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setSecurityEnabledOnly(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/generated/applications/item/getmemberobjects/GetMemberObjectsPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/applications/item/getmemberobjects/GetMemberObjectsPostRequestBody.java
index 256ea19e13b..28d972c10f3 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/getmemberobjects/GetMemberObjectsPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/getmemberobjects/GetMemberObjectsPostRequestBody.java
@@ -23,6 +23,7 @@ public class GetMemberObjectsPostRequestBody implements AdditionalDataHolder, Ba
public GetMemberObjectsPostRequestBody() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setSecurityEnabledOnly(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/generated/applications/item/owners/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/owners/ref/RefRequestBuilder.java
index 9493a8da800..07dd8d1d87c 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/owners/ref/RefRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/owners/ref/RefRequestBuilder.java
@@ -27,7 +27,7 @@ public class RefRequestBuilder extends BaseRequestBuilder {
* @param requestAdapter The request adapter to use to execute the requests.
*/
public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ super(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
}
/**
* Instantiates a new {@link RefRequestBuilder} and sets the default values.
@@ -35,7 +35,7 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ 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;
@@ -162,7 +162,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/applications/{application%2Did}/owners/$ref", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/acquireaccesstoken/AcquireAccessTokenRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/acquireaccesstoken/AcquireAccessTokenRequestBuilder.java
index dd3ca9e2777..390469284ac 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/acquireaccesstoken/AcquireAccessTokenRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/acquireaccesstoken/AcquireAccessTokenRequestBuilder.java
@@ -35,7 +35,7 @@ public AcquireAccessTokenRequestBuilder(@jakarta.annotation.Nonnull final String
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/acquireAccessToken", rawUrl);
}
/**
- * Acquire an OAuth access token to authorize the Microsoft Entra provisioning service to provision users into an application.
+ * Acquire an OAuth access token from the synchronization resource to authorize the Microsoft Entra provisioning service to provision users into an application.
* @param body The request body
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -44,7 +44,7 @@ public void post(@jakarta.annotation.Nonnull final AcquireAccessTokenPostRequest
post(body, null);
}
/**
- * Acquire an OAuth access token to authorize the Microsoft Entra provisioning service to provision users into an application.
+ * Acquire an OAuth access token from the synchronization resource to authorize the Microsoft Entra provisioning service to provision users into an application.
* @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
@@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final AcquireAccessTokenPostRequest
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Acquire an OAuth access token to authorize the Microsoft Entra provisioning service to provision users into an application.
+ * Acquire an OAuth access token from the synchronization resource to authorize the Microsoft Entra provisioning service to provision users into an application.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Acquire an OAuth access token to authorize the Microsoft Entra provisioning service to provision users into an application.
+ * Acquire an OAuth access token from the synchronization resource to authorize the Microsoft Entra provisioning service to provision users into an application.
* @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/applications/item/synchronization/jobs/item/pause/PauseRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/pause/PauseRequestBuilder.java
index 660bb78d590..0f9d34606ef 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/pause/PauseRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/pause/PauseRequestBuilder.java
@@ -35,7 +35,7 @@ public PauseRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/pause", rawUrl);
}
/**
- * Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made.
+ * Temporarily stop a running synchronizationJob. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
*/
@@ -43,7 +43,7 @@ public void post() {
post(null);
}
/**
- * Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made.
+ * Temporarily stop a running synchronizationJob. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made.
* @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
@@ -55,7 +55,7 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer<
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made.
+ * Temporarily stop a running synchronizationJob. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -63,7 +63,7 @@ public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
- * Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made.
+ * Temporarily stop a running synchronizationJob. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made.
* @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/applications/item/synchronization/jobs/item/provisionondemand/ProvisionOnDemandRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/provisionondemand/ProvisionOnDemandRequestBuilder.java
index d4cf3c76fd6..bd0539ad0a4 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/provisionondemand/ProvisionOnDemandRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/provisionondemand/ProvisionOnDemandRequestBuilder.java
@@ -36,7 +36,7 @@ public ProvisionOnDemandRequestBuilder(@jakarta.annotation.Nonnull final String
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/provisionOnDemand", rawUrl);
}
/**
- * Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds.
+ * Select a user and provision the account on-demand for a synchronizationJob. The rate limit for this API is 5 requests per 10 seconds.
* @param body The request body
* @return a {@link StringKeyStringValuePair}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -47,7 +47,7 @@ public StringKeyStringValuePair post(@jakarta.annotation.Nonnull final Provision
return post(body, null);
}
/**
- * Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds.
+ * Select a user and provision the account on-demand for a synchronizationJob. The rate limit for this API is 5 requests per 10 seconds.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link StringKeyStringValuePair}
@@ -63,7 +63,7 @@ public StringKeyStringValuePair post(@jakarta.annotation.Nonnull final Provision
return this.requestAdapter.send(requestInfo, errorMapping, StringKeyStringValuePair::createFromDiscriminatorValue);
}
/**
- * Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds.
+ * Select a user and provision the account on-demand for a synchronizationJob. The rate limit for this API is 5 requests per 10 seconds.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds.
+ * Select a user and provision the account on-demand for a synchronizationJob. The rate limit for this API is 5 requests per 10 seconds.
* @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/applications/item/synchronization/jobs/item/restart/RestartRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/restart/RestartRequestBuilder.java
index a2da2364a08..80aea5b7f1c 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/restart/RestartRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/restart/RestartRequestBuilder.java
@@ -35,7 +35,7 @@ public RestartRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/restart", rawUrl);
}
/**
- * Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors.
+ * Restart a stopped synchronizationJob, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors.
* @param body The request body
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -44,7 +44,7 @@ public void post(@jakarta.annotation.Nonnull final RestartPostRequestBody body)
post(body, null);
}
/**
- * Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors.
+ * Restart a stopped synchronizationJob, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors.
* @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
@@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final RestartPostRequestBody body,
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors.
+ * Restart a stopped synchronizationJob, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors.
+ * Restart a stopped synchronizationJob, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors.
* @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/applications/item/synchronization/jobs/item/schema/directories/item/discover/DiscoverRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/schema/directories/item/discover/DiscoverRequestBuilder.java
index 331858b2084..9f0fa6b8dc6 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/schema/directories/item/discover/DiscoverRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/schema/directories/item/discover/DiscoverRequestBuilder.java
@@ -36,7 +36,7 @@ public DiscoverRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/schema/directories/{directoryDefinition%2Did}/discover", rawUrl);
}
/**
- * Discover the latest schema definition for provisioning to an application.
+ * Discover the latest schema definition for provisioning to an application for the directoryDefinition.
* @return a {@link DirectoryDefinition}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public DirectoryDefinition post() {
return post(null);
}
/**
- * Discover the latest schema definition for provisioning to an application.
+ * Discover the latest schema definition for provisioning to an application for the directoryDefinition.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DirectoryDefinition}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -60,7 +60,7 @@ public DirectoryDefinition post(@jakarta.annotation.Nullable final java.util.fun
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryDefinition::createFromDiscriminatorValue);
}
/**
- * Discover the latest schema definition for provisioning to an application.
+ * Discover the latest schema definition for provisioning to an application for the directoryDefinition.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
- * Discover the latest schema definition for provisioning to an application.
+ * Discover the latest schema definition for provisioning to an application for the directoryDefinition.
* @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/applications/item/synchronization/jobs/item/schema/filteroperators/FilterOperatorsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/schema/filteroperators/FilterOperatorsRequestBuilder.java
index e9786593886..3b190d58dd1 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/schema/filteroperators/FilterOperatorsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/schema/filteroperators/FilterOperatorsRequestBuilder.java
@@ -36,7 +36,7 @@ public FilterOperatorsRequestBuilder(@jakarta.annotation.Nonnull final String ra
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/schema/filterOperators(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List all operators supported in the scoping filters.
+ * List all operators supported in the scoping filters for a synchronizationSchema.
* @return a {@link FilterOperatorsGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public FilterOperatorsGetResponse get() {
return get(null);
}
/**
- * List all operators supported in the scoping filters.
+ * List all operators supported in the scoping filters for a synchronizationSchema.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link FilterOperatorsGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -60,7 +60,7 @@ public FilterOperatorsGetResponse get(@jakarta.annotation.Nullable final java.ut
return this.requestAdapter.send(requestInfo, errorMapping, FilterOperatorsGetResponse::createFromDiscriminatorValue);
}
/**
- * List all operators supported in the scoping filters.
+ * List all operators supported in the scoping filters for a synchronizationSchema.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List all operators supported in the scoping filters.
+ * List all operators supported in the scoping filters for a synchronizationSchema.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -90,7 +90,7 @@ public FilterOperatorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final S
return new FilterOperatorsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List all operators supported in the scoping filters.
+ * List all operators supported in the scoping filters for a synchronizationSchema.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/schema/functions/FunctionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/schema/functions/FunctionsRequestBuilder.java
index 36cf1fe2db7..3b3e5e9a10a 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/schema/functions/FunctionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/schema/functions/FunctionsRequestBuilder.java
@@ -36,7 +36,7 @@ public FunctionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/schema/functions(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List all the functions currently supported in the attributeMappingSource.
+ * List all the functions currently supported in the attributeMappingSource for a synchronizationSchema.
* @return a {@link FunctionsGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public FunctionsGetResponse get() {
return get(null);
}
/**
- * List all the functions currently supported in the attributeMappingSource.
+ * List all the functions currently supported in the attributeMappingSource for a synchronizationSchema.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link FunctionsGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -60,7 +60,7 @@ public FunctionsGetResponse get(@jakarta.annotation.Nullable final java.util.fun
return this.requestAdapter.send(requestInfo, errorMapping, FunctionsGetResponse::createFromDiscriminatorValue);
}
/**
- * List all the functions currently supported in the attributeMappingSource.
+ * List all the functions currently supported in the attributeMappingSource for a synchronizationSchema.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List all the functions currently supported in the attributeMappingSource.
+ * List all the functions currently supported in the attributeMappingSource for a synchronizationSchema.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -90,7 +90,7 @@ public FunctionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String
return new FunctionsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List all the functions currently supported in the attributeMappingSource.
+ * List all the functions currently supported in the attributeMappingSource for a synchronizationSchema.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/schema/parseexpression/ParseExpressionRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/schema/parseexpression/ParseExpressionRequestBuilder.java
index ac9533674fd..31dc8089c4c 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/schema/parseexpression/ParseExpressionRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/schema/parseexpression/ParseExpressionRequestBuilder.java
@@ -36,7 +36,7 @@ public ParseExpressionRequestBuilder(@jakarta.annotation.Nonnull final String ra
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/schema/parseExpression", rawUrl);
}
/**
- * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID.
+ * Parse a given string expression into an attributeMappingSource object for a synchronizationSchema. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID.
* @param body The request body
* @return a {@link ParseExpressionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -47,7 +47,7 @@ public ParseExpressionResponse post(@jakarta.annotation.Nonnull final ParseExpre
return post(body, null);
}
/**
- * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID.
+ * Parse a given string expression into an attributeMappingSource object for a synchronizationSchema. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ParseExpressionResponse}
@@ -63,7 +63,7 @@ public ParseExpressionResponse post(@jakarta.annotation.Nonnull final ParseExpre
return this.requestAdapter.send(requestInfo, errorMapping, ParseExpressionResponse::createFromDiscriminatorValue);
}
/**
- * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID.
+ * Parse a given string expression into an attributeMappingSource object for a synchronizationSchema. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID.
+ * Parse a given string expression into an attributeMappingSource object for a synchronizationSchema. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID.
* @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/applications/item/synchronization/jobs/item/start/StartRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/start/StartRequestBuilder.java
index 839f9caf513..62aaf6d8888 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/start/StartRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/start/StartRequestBuilder.java
@@ -35,7 +35,7 @@ public StartRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/start", rawUrl);
}
/**
- * Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine.
+ * Start an existing synchronizationJob. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
*/
@@ -43,7 +43,7 @@ public void post() {
post(null);
}
/**
- * Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine.
+ * Start an existing synchronizationJob. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine.
* @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
@@ -55,7 +55,7 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer<
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine.
+ * Start an existing synchronizationJob. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -63,7 +63,7 @@ public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
- * Start an existing synchronization job. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine.
+ * Start an existing synchronizationJob. If the job is in a paused state, it continues processing changes from the point where it was paused. If the job is in quarantine, the quarantine status is cleared. Don't create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine.
* @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/applications/item/synchronization/jobs/item/validatecredentials/ValidateCredentialsPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/validatecredentials/ValidateCredentialsPostRequestBody.java
index 1c624cd3472..8d670a78fab 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/validatecredentials/ValidateCredentialsPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/validatecredentials/ValidateCredentialsPostRequestBody.java
@@ -24,6 +24,7 @@ public class ValidateCredentialsPostRequestBody implements AdditionalDataHolder,
public ValidateCredentialsPostRequestBody() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setUseSavedCredentials(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/validatecredentials/ValidateCredentialsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/validatecredentials/ValidateCredentialsRequestBuilder.java
index 23806bf7b49..c1ce31b5c1f 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/validatecredentials/ValidateCredentialsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/validatecredentials/ValidateCredentialsRequestBuilder.java
@@ -35,7 +35,7 @@ public ValidateCredentialsRequestBuilder(@jakarta.annotation.Nonnull final Strin
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/validateCredentials", rawUrl);
}
/**
- * Validate that the credentials are valid in the tenant.
+ * Validate that the credentials are valid in the tenant for a synchronizationJob.
* @param body The request body
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -44,7 +44,7 @@ public void post(@jakarta.annotation.Nonnull final ValidateCredentialsPostReques
post(body, null);
}
/**
- * Validate that the credentials are valid in the tenant.
+ * Validate that the credentials are valid in the tenant for a synchronizationJob.
* @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
@@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final ValidateCredentialsPostReques
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Validate that the credentials are valid in the tenant.
+ * Validate that the credentials are valid in the tenant for a synchronizationJob.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Validate that the credentials are valid in the tenant.
+ * Validate that the credentials are valid in the tenant for a synchronizationJob.
* @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/applications/item/synchronization/jobs/validatecredentials/ValidateCredentialsPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/validatecredentials/ValidateCredentialsPostRequestBody.java
index bc9a1278720..411b3394846 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/validatecredentials/ValidateCredentialsPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/validatecredentials/ValidateCredentialsPostRequestBody.java
@@ -24,6 +24,7 @@ public class ValidateCredentialsPostRequestBody implements AdditionalDataHolder,
public ValidateCredentialsPostRequestBody() {
this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
this.setAdditionalData(new HashMap<>());
+ this.setUseSavedCredentials(false);
}
/**
* Creates a new instance of the appropriate class based on discriminator value
diff --git a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/templates/item/SynchronizationTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/templates/item/SynchronizationTemplateItemRequestBuilder.java
index 5163b9ee3f9..e15a046459e 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/templates/item/SynchronizationTemplateItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/templates/item/SynchronizationTemplateItemRequestBuilder.java
@@ -86,7 +86,7 @@ public SynchronizationTemplate get(@jakarta.annotation.Nullable final java.util.
return this.requestAdapter.send(requestInfo, errorMapping, SynchronizationTemplate::createFromDiscriminatorValue);
}
/**
- * Update (override) the synchronization template associated with a given application.
+ * Update (override) the synchronizationTemplate associated with a given application.
* @param body The request body
* @return a {@link SynchronizationTemplate}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -97,7 +97,7 @@ public SynchronizationTemplate patch(@jakarta.annotation.Nonnull final Synchroni
return patch(body, null);
}
/**
- * Update (override) the synchronization template associated with a given application.
+ * Update (override) the synchronizationTemplate associated with a given application.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link SynchronizationTemplate}
@@ -153,7 +153,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Update (override) the synchronization template associated with a given application.
+ * Update (override) the synchronizationTemplate associated with a given application.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -162,7 +162,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Update (override) the synchronization template associated with a given application.
+ * Update (override) the synchronizationTemplate associated with a given application.
* @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/applications/item/synchronization/templates/item/schema/directories/item/discover/DiscoverRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/templates/item/schema/directories/item/discover/DiscoverRequestBuilder.java
index a28893e87b8..11827a638c6 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/templates/item/schema/directories/item/discover/DiscoverRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/templates/item/schema/directories/item/discover/DiscoverRequestBuilder.java
@@ -36,7 +36,7 @@ public DiscoverRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/templates/{synchronizationTemplate%2Did}/schema/directories/{directoryDefinition%2Did}/discover", rawUrl);
}
/**
- * Discover the latest schema definition for provisioning to an application.
+ * Discover the latest schema definition for provisioning to an application for the directoryDefinition.
* @return a {@link DirectoryDefinition}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public DirectoryDefinition post() {
return post(null);
}
/**
- * Discover the latest schema definition for provisioning to an application.
+ * Discover the latest schema definition for provisioning to an application for the directoryDefinition.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DirectoryDefinition}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -60,7 +60,7 @@ public DirectoryDefinition post(@jakarta.annotation.Nullable final java.util.fun
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryDefinition::createFromDiscriminatorValue);
}
/**
- * Discover the latest schema definition for provisioning to an application.
+ * Discover the latest schema definition for provisioning to an application for the directoryDefinition.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
- * Discover the latest schema definition for provisioning to an application.
+ * Discover the latest schema definition for provisioning to an application for the directoryDefinition.
* @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/applications/item/synchronization/templates/item/schema/filteroperators/FilterOperatorsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/templates/item/schema/filteroperators/FilterOperatorsRequestBuilder.java
index 630efee9a10..e0bfcd4d2f1 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/templates/item/schema/filteroperators/FilterOperatorsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/templates/item/schema/filteroperators/FilterOperatorsRequestBuilder.java
@@ -36,7 +36,7 @@ public FilterOperatorsRequestBuilder(@jakarta.annotation.Nonnull final String ra
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/templates/{synchronizationTemplate%2Did}/schema/filterOperators(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List all operators supported in the scoping filters.
+ * List all operators supported in the scoping filters for a synchronizationSchema.
* @return a {@link FilterOperatorsGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public FilterOperatorsGetResponse get() {
return get(null);
}
/**
- * List all operators supported in the scoping filters.
+ * List all operators supported in the scoping filters for a synchronizationSchema.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link FilterOperatorsGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -60,7 +60,7 @@ public FilterOperatorsGetResponse get(@jakarta.annotation.Nullable final java.ut
return this.requestAdapter.send(requestInfo, errorMapping, FilterOperatorsGetResponse::createFromDiscriminatorValue);
}
/**
- * List all operators supported in the scoping filters.
+ * List all operators supported in the scoping filters for a synchronizationSchema.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List all operators supported in the scoping filters.
+ * List all operators supported in the scoping filters for a synchronizationSchema.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -90,7 +90,7 @@ public FilterOperatorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final S
return new FilterOperatorsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List all operators supported in the scoping filters.
+ * List all operators supported in the scoping filters for a synchronizationSchema.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/templates/item/schema/functions/FunctionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/templates/item/schema/functions/FunctionsRequestBuilder.java
index 16525b21b62..902b17fa028 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/templates/item/schema/functions/FunctionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/templates/item/schema/functions/FunctionsRequestBuilder.java
@@ -36,7 +36,7 @@ public FunctionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/templates/{synchronizationTemplate%2Did}/schema/functions(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List all the functions currently supported in the attributeMappingSource.
+ * List all the functions currently supported in the attributeMappingSource for a synchronizationSchema.
* @return a {@link FunctionsGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -46,7 +46,7 @@ public FunctionsGetResponse get() {
return get(null);
}
/**
- * List all the functions currently supported in the attributeMappingSource.
+ * List all the functions currently supported in the attributeMappingSource for a synchronizationSchema.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link FunctionsGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -60,7 +60,7 @@ public FunctionsGetResponse get(@jakarta.annotation.Nullable final java.util.fun
return this.requestAdapter.send(requestInfo, errorMapping, FunctionsGetResponse::createFromDiscriminatorValue);
}
/**
- * List all the functions currently supported in the attributeMappingSource.
+ * List all the functions currently supported in the attributeMappingSource for a synchronizationSchema.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -68,7 +68,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List all the functions currently supported in the attributeMappingSource.
+ * List all the functions currently supported in the attributeMappingSource for a synchronizationSchema.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -90,7 +90,7 @@ public FunctionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String
return new FunctionsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List all the functions currently supported in the attributeMappingSource.
+ * List all the functions currently supported in the attributeMappingSource for a synchronizationSchema.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/templates/item/schema/parseexpression/ParseExpressionRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/templates/item/schema/parseexpression/ParseExpressionRequestBuilder.java
index a2b9947ce72..450aa5bf9f4 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/templates/item/schema/parseexpression/ParseExpressionRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/templates/item/schema/parseexpression/ParseExpressionRequestBuilder.java
@@ -36,7 +36,7 @@ public ParseExpressionRequestBuilder(@jakarta.annotation.Nonnull final String ra
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/templates/{synchronizationTemplate%2Did}/schema/parseExpression", rawUrl);
}
/**
- * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID.
+ * Parse a given string expression into an attributeMappingSource object for a synchronizationSchema. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID.
* @param body The request body
* @return a {@link ParseExpressionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -47,7 +47,7 @@ public ParseExpressionResponse post(@jakarta.annotation.Nonnull final ParseExpre
return post(body, null);
}
/**
- * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID.
+ * Parse a given string expression into an attributeMappingSource object for a synchronizationSchema. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ParseExpressionResponse}
@@ -63,7 +63,7 @@ public ParseExpressionResponse post(@jakarta.annotation.Nonnull final ParseExpre
return this.requestAdapter.send(requestInfo, errorMapping, ParseExpressionResponse::createFromDiscriminatorValue);
}
/**
- * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID.
+ * Parse a given string expression into an attributeMappingSource object for a synchronizationSchema. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID.
+ * Parse a given string expression into an attributeMappingSource object for a synchronizationSchema. For more information about expressions, see Writing Expressions for Attribute Mappings in Microsoft Entra ID.
* @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/applications/item/tokenissuancepolicies/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/tokenissuancepolicies/ref/RefRequestBuilder.java
index 79eee58a36f..c2624c2d76b 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/tokenissuancepolicies/ref/RefRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/tokenissuancepolicies/ref/RefRequestBuilder.java
@@ -27,7 +27,7 @@ public class RefRequestBuilder extends BaseRequestBuilder {
* @param requestAdapter The request adapter to use to execute the requests.
*/
public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ super(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
}
/**
* Instantiates a new {@link RefRequestBuilder} and sets the default values.
@@ -35,7 +35,7 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ 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;
@@ -162,7 +162,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/generated/applications/item/tokenlifetimepolicies/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/tokenlifetimepolicies/ref/RefRequestBuilder.java
index b796d39c763..43ff52dc0c0 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/tokenlifetimepolicies/ref/RefRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/tokenlifetimepolicies/ref/RefRequestBuilder.java
@@ -27,7 +27,7 @@ public class RefRequestBuilder extends BaseRequestBuilder {
* @param requestAdapter The request adapter to use to execute the requests.
*/
public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ super(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
}
/**
* Instantiates a new {@link RefRequestBuilder} and sets the default values.
@@ -35,7 +35,7 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ 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;
@@ -162,7 +162,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/generated/applicationtemplates/ApplicationTemplatesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applicationtemplates/ApplicationTemplatesRequestBuilder.java
index 4e257a0d145..b4b45b87eb0 100644
--- a/src/main/java/com/microsoft/graph/generated/applicationtemplates/ApplicationTemplatesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applicationtemplates/ApplicationTemplatesRequestBuilder.java
@@ -59,7 +59,7 @@ public ApplicationTemplatesRequestBuilder(@jakarta.annotation.Nonnull final Stri
super(requestAdapter, "{+baseurl}/applicationTemplates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery.
+ * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. If a risk property is included in the request without appropriate license, a @microsoft.graph.licenseRequired OData annotation is returned in the response.
* @return a {@link ApplicationTemplateCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -69,7 +69,7 @@ public ApplicationTemplateCollectionResponse get() {
return get(null);
}
/**
- * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery.
+ * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. If a risk property is included in the request without appropriate license, a @microsoft.graph.licenseRequired OData annotation is returned in the response.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ApplicationTemplateCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -83,7 +83,7 @@ public ApplicationTemplateCollectionResponse get(@jakarta.annotation.Nullable fi
return this.requestAdapter.send(requestInfo, errorMapping, ApplicationTemplateCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery.
+ * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. If a risk property is included in the request without appropriate license, a @microsoft.graph.licenseRequired OData annotation is returned in the response.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -91,7 +91,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery.
+ * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. If a risk property is included in the request without appropriate license, a @microsoft.graph.licenseRequired OData annotation is returned in the response.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -113,7 +113,7 @@ public ApplicationTemplatesRequestBuilder withUrl(@jakarta.annotation.Nonnull fi
return new ApplicationTemplatesRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery.
+ * Retrieve a list of applicationTemplate objects from the Microsoft Entra application gallery. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license. If a risk property is included in the request without appropriate license, a @microsoft.graph.licenseRequired OData annotation is returned in the response.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/applicationtemplates/item/ApplicationTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applicationtemplates/item/ApplicationTemplateItemRequestBuilder.java
index 87f16a404c9..e10c9149d04 100644
--- a/src/main/java/com/microsoft/graph/generated/applicationtemplates/item/ApplicationTemplateItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applicationtemplates/item/ApplicationTemplateItemRequestBuilder.java
@@ -46,7 +46,7 @@ public ApplicationTemplateItemRequestBuilder(@jakarta.annotation.Nonnull final S
super(requestAdapter, "{+baseurl}/applicationTemplates/{applicationTemplate%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Retrieve the properties of an applicationTemplate object.
+ * Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license.
* @return a {@link ApplicationTemplate}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -56,7 +56,7 @@ public ApplicationTemplate get() {
return get(null);
}
/**
- * Retrieve the properties of an applicationTemplate object.
+ * Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ApplicationTemplate}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -70,7 +70,7 @@ public ApplicationTemplate get(@jakarta.annotation.Nullable final java.util.func
return this.requestAdapter.send(requestInfo, errorMapping, ApplicationTemplate::createFromDiscriminatorValue);
}
/**
- * Retrieve the properties of an applicationTemplate object.
+ * Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -78,7 +78,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Retrieve the properties of an applicationTemplate object.
+ * Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -100,7 +100,7 @@ public ApplicationTemplateItemRequestBuilder withUrl(@jakarta.annotation.Nonnull
return new ApplicationTemplateItemRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Retrieve the properties of an applicationTemplate object.
+ * Retrieve the properties of an applicationTemplate object. Details about optional risk properties such as riskScore and riskFactors are available with either the Microsoft Entra Suite or Microsoft Entra Internet Access license.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/auditlogs/directoryaudits/DirectoryAuditsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/auditlogs/directoryaudits/DirectoryAuditsRequestBuilder.java
index 366db671cc8..8094b5d3067 100644
--- a/src/main/java/com/microsoft/graph/generated/auditlogs/directoryaudits/DirectoryAuditsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/auditlogs/directoryaudits/DirectoryAuditsRequestBuilder.java
@@ -60,7 +60,7 @@ public DirectoryAuditsRequestBuilder(@jakarta.annotation.Nonnull final String ra
super(requestAdapter, "{+baseurl}/auditLogs/directoryAudits{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
+ * Get a list of directoryAudit objects representing the audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
* @return a {@link DirectoryAuditCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -70,7 +70,7 @@ public DirectoryAuditCollectionResponse get() {
return get(null);
}
/**
- * Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
+ * Get a list of directoryAudit objects representing the audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DirectoryAuditCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -109,7 +109,7 @@ public DirectoryAudit post(@jakarta.annotation.Nonnull final DirectoryAudit body
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryAudit::createFromDiscriminatorValue);
}
/**
- * Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
+ * Get a list of directoryAudit objects representing the audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -117,7 +117,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
+ * Get a list of directoryAudit objects representing the audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -163,7 +163,7 @@ public DirectoryAuditsRequestBuilder withUrl(@jakarta.annotation.Nonnull final S
return new DirectoryAuditsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
+ * Get a list of directoryAudit objects representing the audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/auditlogs/directoryaudits/item/DirectoryAuditItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/auditlogs/directoryaudits/item/DirectoryAuditItemRequestBuilder.java
index 9af2d025b2c..fdd91a81735 100644
--- a/src/main/java/com/microsoft/graph/generated/auditlogs/directoryaudits/item/DirectoryAuditItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/auditlogs/directoryaudits/item/DirectoryAuditItemRequestBuilder.java
@@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
+ * Get a specific directoryAudit item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
* @return a {@link DirectoryAudit}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -65,7 +65,7 @@ public DirectoryAudit get() {
return get(null);
}
/**
- * Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
+ * Get a specific directoryAudit item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DirectoryAudit}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -124,7 +124,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
+ * Get a specific directoryAudit item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -132,7 +132,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
+ * Get a specific directoryAudit item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -184,7 +184,7 @@ public DirectoryAuditItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fina
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
+ * Get a specific directoryAudit item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/auditlogs/provisioning/ProvisioningRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/auditlogs/provisioning/ProvisioningRequestBuilder.java
index a8385301365..666f063d450 100644
--- a/src/main/java/com/microsoft/graph/generated/auditlogs/provisioning/ProvisioningRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/auditlogs/provisioning/ProvisioningRequestBuilder.java
@@ -60,7 +60,7 @@ public ProvisioningRequestBuilder(@jakarta.annotation.Nonnull final String rawUr
super(requestAdapter, "{+baseurl}/auditLogs/provisioning{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
+ * Get all provisioningObjectSummary events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
* @return a {@link ProvisioningObjectSummaryCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -70,7 +70,7 @@ public ProvisioningObjectSummaryCollectionResponse get() {
return get(null);
}
/**
- * Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
+ * Get all provisioningObjectSummary events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ProvisioningObjectSummaryCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -109,7 +109,7 @@ public ProvisioningObjectSummary post(@jakarta.annotation.Nonnull final Provisio
return this.requestAdapter.send(requestInfo, errorMapping, ProvisioningObjectSummary::createFromDiscriminatorValue);
}
/**
- * Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
+ * Get all provisioningObjectSummary events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -117,7 +117,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
+ * Get all provisioningObjectSummary events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -163,7 +163,7 @@ public ProvisioningRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri
return new ProvisioningRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
+ * Get all provisioningObjectSummary events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/ChatItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/ChatItemRequestBuilder.java
index fda7fc85331..80343c4fbd1 100644
--- a/src/main/java/com/microsoft/graph/generated/chats/item/ChatItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/ChatItemRequestBuilder.java
@@ -14,6 +14,7 @@
import com.microsoft.graph.chats.item.sendactivitynotification.SendActivityNotificationRequestBuilder;
import com.microsoft.graph.chats.item.startmigration.StartMigrationRequestBuilder;
import com.microsoft.graph.chats.item.tabs.TabsRequestBuilder;
+import com.microsoft.graph.chats.item.targetedmessages.TargetedMessagesRequestBuilder;
import com.microsoft.graph.chats.item.unhideforuser.UnhideForUserRequestBuilder;
import com.microsoft.graph.models.Chat;
import com.microsoft.graph.models.odataerrors.ODataError;
@@ -147,6 +148,14 @@ public StartMigrationRequestBuilder startMigration() {
public TabsRequestBuilder tabs() {
return new TabsRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to manage the targetedMessages property of the microsoft.graph.chat entity.
+ * @return a {@link TargetedMessagesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public TargetedMessagesRequestBuilder targetedMessages() {
+ return new TargetedMessagesRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to call the unhideForUser method.
* @return a {@link UnhideForUserRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/completemigration/CompleteMigrationRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/completemigration/CompleteMigrationRequestBuilder.java
index b26cacad272..8a982e84f3e 100644
--- a/src/main/java/com/microsoft/graph/generated/chats/item/completemigration/CompleteMigrationRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/completemigration/CompleteMigrationRequestBuilder.java
@@ -35,16 +35,18 @@ public CompleteMigrationRequestBuilder(@jakarta.annotation.Nonnull final String
super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/completeMigration", rawUrl);
}
/**
- * Invoke action completeMigration
+ * Complete the migration of external messages by removing migration mode from a chat. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. After a completeMigration request is made for an existing or new chat, you can start a migration session by calling chat: startMigration. This API supportes the following channel types.
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
public void post() {
post(null);
}
/**
- * Invoke action completeMigration
+ * Complete the migration of external messages by removing migration mode from a chat. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. After a completeMigration request is made for an existing or new chat, you can start a migration session by calling chat: startMigration. This API supportes the following channel types.
* @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);
@@ -53,7 +55,7 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer<
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Invoke action completeMigration
+ * Complete the migration of external messages by removing migration mode from a chat. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. After a completeMigration request is made for an existing or new chat, you can start a migration session by calling chat: startMigration. This API supportes the following channel types.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -61,7 +63,7 @@ public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
- * Invoke action completeMigration
+ * Complete the migration of external messages by removing migration mode from a chat. Complete migration operations were initially restricted to newly created standard channels using migration templates specifically designed for the initial migration process. For more information, see Import third-party platform messages to Teams using Microsoft Graph. After a completeMigration request is made for an existing or new chat, you can start a migration session by calling chat: startMigration. This API supportes the following channel types.
* @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/chats/item/startmigration/StartMigrationRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/startmigration/StartMigrationRequestBuilder.java
index c294f51c0a2..6e45e983027 100644
--- a/src/main/java/com/microsoft/graph/generated/chats/item/startmigration/StartMigrationRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/startmigration/StartMigrationRequestBuilder.java
@@ -35,18 +35,20 @@ public StartMigrationRequestBuilder(@jakarta.annotation.Nonnull final String raw
super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/startMigration", rawUrl);
}
/**
- * Invoke action startMigration
+ * Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types.
* @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 StartMigrationPostRequestBody body) {
post(body, null);
}
/**
- * Invoke action startMigration
+ * Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types.
* @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 StartMigrationPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
@@ -56,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final StartMigrationPostRequestBody
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Invoke action startMigration
+ * Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types.
* @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 startMigration
+ * Start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types.
* @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/chats/item/targetedmessages/TargetedMessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/TargetedMessagesRequestBuilder.java
new file mode 100644
index 00000000000..ece2dfe118b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/TargetedMessagesRequestBuilder.java
@@ -0,0 +1,243 @@
+package com.microsoft.graph.chats.item.targetedmessages;
+
+import com.microsoft.graph.chats.item.targetedmessages.count.CountRequestBuilder;
+import com.microsoft.graph.chats.item.targetedmessages.item.TargetedChatMessageItemRequestBuilder;
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.graph.models.TargetedChatMessage;
+import com.microsoft.graph.models.TargetedChatMessageCollectionResponse;
+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 targetedMessages property of the microsoft.graph.chat entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class TargetedMessagesRequestBuilder 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 targetedMessages property of the microsoft.graph.chat entity.
+ * @param targetedChatMessageId The unique identifier of targetedChatMessage
+ * @return a {@link TargetedChatMessageItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public TargetedChatMessageItemRequestBuilder byTargetedChatMessageId(@jakarta.annotation.Nonnull final String targetedChatMessageId) {
+ Objects.requireNonNull(targetedChatMessageId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("targetedChatMessage%2Did", targetedChatMessageId);
+ return new TargetedChatMessageItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link TargetedMessagesRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public TargetedMessagesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link TargetedMessagesRequestBuilder} 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 TargetedMessagesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Get targetedMessages from chats
+ * @return a {@link TargetedChatMessageCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public TargetedChatMessageCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * Get targetedMessages from chats
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link TargetedChatMessageCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public TargetedChatMessageCollectionResponse 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, TargetedChatMessageCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Create new navigation property to targetedMessages for chats
+ * @param body The request body
+ * @return a {@link TargetedChatMessage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public TargetedChatMessage post(@jakarta.annotation.Nonnull final TargetedChatMessage body) {
+ return post(body, null);
+ }
+ /**
+ * Create new navigation property to targetedMessages for chats
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link TargetedChatMessage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public TargetedChatMessage post(@jakarta.annotation.Nonnull final TargetedChatMessage 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, TargetedChatMessage::createFromDiscriminatorValue);
+ }
+ /**
+ * Get targetedMessages from chats
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get targetedMessages from chats
+ * @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 targetedMessages for chats
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TargetedChatMessage body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Create new navigation property to targetedMessages for chats
+ * @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 TargetedChatMessage 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 TargetedMessagesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public TargetedMessagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new TargetedMessagesRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get targetedMessages from chats
+ */
+ @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/chats/item/targetedmessages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..636d93ac93c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.chats.item.targetedmessages.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}/chats/{chat%2Did}/targetedMessages/$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}/chats/{chat%2Did}/targetedMessages/$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/chats/item/targetedmessages/item/TargetedChatMessageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/TargetedChatMessageItemRequestBuilder.java
new file mode 100644
index 00000000000..5641c4c03ab
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/TargetedChatMessageItemRequestBuilder.java
@@ -0,0 +1,246 @@
+package com.microsoft.graph.chats.item.targetedmessages.item;
+
+import com.microsoft.graph.chats.item.targetedmessages.item.hostedcontents.HostedContentsRequestBuilder;
+import com.microsoft.graph.chats.item.targetedmessages.item.replies.RepliesRequestBuilder;
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.graph.models.TargetedChatMessage;
+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 targetedMessages property of the microsoft.graph.chat entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class TargetedChatMessageItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity.
+ * @return a {@link HostedContentsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public HostedContentsRequestBuilder hostedContents() {
+ return new HostedContentsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the replies property of the microsoft.graph.chatMessage entity.
+ * @return a {@link RepliesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RepliesRequestBuilder replies() {
+ return new RepliesRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link TargetedChatMessageItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public TargetedChatMessageItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link TargetedChatMessageItemRequestBuilder} 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 TargetedChatMessageItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property targetedMessages for chats
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property targetedMessages for chats
+ * @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 targetedMessages from chats
+ * @return a {@link TargetedChatMessage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public TargetedChatMessage get() {
+ return get(null);
+ }
+ /**
+ * Get targetedMessages from chats
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link TargetedChatMessage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public TargetedChatMessage 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, TargetedChatMessage::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property targetedMessages in chats
+ * @param body The request body
+ * @return a {@link TargetedChatMessage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public TargetedChatMessage patch(@jakarta.annotation.Nonnull final TargetedChatMessage body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property targetedMessages in chats
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link TargetedChatMessage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public TargetedChatMessage patch(@jakarta.annotation.Nonnull final TargetedChatMessage 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, TargetedChatMessage::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property targetedMessages for chats
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property targetedMessages for chats
+ * @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 targetedMessages from chats
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get targetedMessages from chats
+ * @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 targetedMessages in chats
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final TargetedChatMessage body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property targetedMessages in chats
+ * @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 TargetedChatMessage 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 TargetedChatMessageItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public TargetedChatMessageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new TargetedChatMessageItemRequestBuilder(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 targetedMessages from chats
+ */
+ @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/chats/item/targetedmessages/item/hostedcontents/HostedContentsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/hostedcontents/HostedContentsRequestBuilder.java
new file mode 100644
index 00000000000..9b543d80ddc
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/hostedcontents/HostedContentsRequestBuilder.java
@@ -0,0 +1,243 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.hostedcontents;
+
+import com.microsoft.graph.chats.item.targetedmessages.item.hostedcontents.count.CountRequestBuilder;
+import com.microsoft.graph.chats.item.targetedmessages.item.hostedcontents.item.ChatMessageHostedContentItemRequestBuilder;
+import com.microsoft.graph.models.ChatMessageHostedContent;
+import com.microsoft.graph.models.ChatMessageHostedContentCollectionResponse;
+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 hostedContents property of the microsoft.graph.chatMessage entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class HostedContentsRequestBuilder 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 hostedContents property of the microsoft.graph.chatMessage entity.
+ * @param chatMessageHostedContentId The unique identifier of chatMessageHostedContent
+ * @return a {@link ChatMessageHostedContentItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ChatMessageHostedContentItemRequestBuilder byChatMessageHostedContentId(@jakarta.annotation.Nonnull final String chatMessageHostedContentId) {
+ Objects.requireNonNull(chatMessageHostedContentId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("chatMessageHostedContent%2Did", chatMessageHostedContentId);
+ return new ChatMessageHostedContentItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link HostedContentsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public HostedContentsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link HostedContentsRequestBuilder} 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 HostedContentsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ * @return a {@link ChatMessageHostedContentCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessageHostedContentCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ChatMessageHostedContentCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessageHostedContentCollectionResponse 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, ChatMessageHostedContentCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Create new navigation property to hostedContents for chats
+ * @param body The request body
+ * @return a {@link ChatMessageHostedContent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessageHostedContent post(@jakarta.annotation.Nonnull final ChatMessageHostedContent body) {
+ return post(body, null);
+ }
+ /**
+ * Create new navigation property to hostedContents for chats
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ChatMessageHostedContent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessageHostedContent post(@jakarta.annotation.Nonnull final ChatMessageHostedContent 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, ChatMessageHostedContent::createFromDiscriminatorValue);
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ * @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 hostedContents for chats
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChatMessageHostedContent body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Create new navigation property to hostedContents for chats
+ * @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 ChatMessageHostedContent 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 HostedContentsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public HostedContentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new HostedContentsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ */
+ @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/chats/item/targetedmessages/item/hostedcontents/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/hostedcontents/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..f6a264a1004
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/hostedcontents/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.hostedcontents.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}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/$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}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/$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/chats/item/targetedmessages/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java
new file mode 100644
index 00000000000..24041016d91
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java
@@ -0,0 +1,237 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.hostedcontents.item;
+
+import com.microsoft.graph.chats.item.targetedmessages.item.hostedcontents.item.value.ContentRequestBuilder;
+import com.microsoft.graph.models.ChatMessageHostedContent;
+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 hostedContents property of the microsoft.graph.chatMessage entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to manage the media for the chat entity.
+ * @return a {@link ContentRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ContentRequestBuilder content() {
+ return new ContentRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link ChatMessageHostedContentItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ChatMessageHostedContentItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ChatMessageHostedContentItemRequestBuilder} 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 ChatMessageHostedContentItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property hostedContents for chats
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property hostedContents for chats
+ * @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);
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ * @return a {@link ChatMessageHostedContent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessageHostedContent get() {
+ return get(null);
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ChatMessageHostedContent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessageHostedContent 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, ChatMessageHostedContent::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property hostedContents in chats
+ * @param body The request body
+ * @return a {@link ChatMessageHostedContent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessageHostedContent patch(@jakarta.annotation.Nonnull final ChatMessageHostedContent body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property hostedContents in chats
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ChatMessageHostedContent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessageHostedContent patch(@jakarta.annotation.Nonnull final ChatMessageHostedContent 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, ChatMessageHostedContent::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property hostedContents for chats
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property hostedContents for chats
+ * @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;
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ * @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 hostedContents in chats
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ChatMessageHostedContent body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property hostedContents in chats
+ * @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 ChatMessageHostedContent 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 ChatMessageHostedContentItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ChatMessageHostedContentItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ChatMessageHostedContentItemRequestBuilder(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 {
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ */
+ @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/chats/item/targetedmessages/item/hostedcontents/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/hostedcontents/item/value/ContentRequestBuilder.java
new file mode 100644
index 00000000000..54f01e38527
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/hostedcontents/item/value/ContentRequestBuilder.java
@@ -0,0 +1,195 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.hostedcontents.item.value;
+
+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.io.InputStream;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the media for the chat entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ContentRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link ContentRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ContentRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ContentRequestBuilder} 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 ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ 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);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @return a {@link InputStream}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public InputStream get() {
+ return get(null);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link InputStream}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public InputStream 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, InputStream.class);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @param body Binary request body
+ * @return a {@link InputStream}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) {
+ return put(body, null);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @param body Binary request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link InputStream}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, InputStream.class);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @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;
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @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/octet-stream, application/json");
+ return requestInfo;
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @param body Binary request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) {
+ return toPutRequestInformation(body, null);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @param body Binary 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 toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PutRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ requestInfo.setStreamContent(body, "application/octet-stream");
+ 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 ContentRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ContentRequestBuilder(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 {
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PutRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/RepliesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/RepliesRequestBuilder.java
new file mode 100644
index 00000000000..ad886bd12ec
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/RepliesRequestBuilder.java
@@ -0,0 +1,261 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.replies;
+
+import com.microsoft.graph.chats.item.targetedmessages.item.replies.count.CountRequestBuilder;
+import com.microsoft.graph.chats.item.targetedmessages.item.replies.delta.DeltaRequestBuilder;
+import com.microsoft.graph.chats.item.targetedmessages.item.replies.item.ChatMessageItemRequestBuilder;
+import com.microsoft.graph.chats.item.targetedmessages.item.replies.replywithquote.ReplyWithQuoteRequestBuilder;
+import com.microsoft.graph.models.ChatMessage;
+import com.microsoft.graph.models.ChatMessageCollectionResponse;
+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 replies property of the microsoft.graph.chatMessage entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RepliesRequestBuilder 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 call the delta method.
+ * @return a {@link DeltaRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public DeltaRequestBuilder delta() {
+ return new DeltaRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the replyWithQuote method.
+ * @return a {@link ReplyWithQuoteRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ReplyWithQuoteRequestBuilder replyWithQuote() {
+ return new ReplyWithQuoteRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the replies property of the microsoft.graph.chatMessage entity.
+ * @param chatMessageId The unique identifier of chatMessage
+ * @return a {@link ChatMessageItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ChatMessageItemRequestBuilder byChatMessageId(@jakarta.annotation.Nonnull final String chatMessageId) {
+ Objects.requireNonNull(chatMessageId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("chatMessage%2Did", chatMessageId);
+ return new ChatMessageItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link RepliesRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RepliesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RepliesRequestBuilder} 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 RepliesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Replies for a specified message. Supports $expand for channel messages.
+ * @return a {@link ChatMessageCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessageCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * Replies for a specified message. Supports $expand for channel messages.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ChatMessageCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessageCollectionResponse 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, ChatMessageCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Create new navigation property to replies for chats
+ * @param body The request body
+ * @return a {@link ChatMessage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body) {
+ return post(body, null);
+ }
+ /**
+ * Create new navigation property to replies for chats
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ChatMessage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage 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, ChatMessage::createFromDiscriminatorValue);
+ }
+ /**
+ * Replies for a specified message. Supports $expand for channel messages.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Replies for a specified message. Supports $expand for channel messages.
+ * @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 replies for chats
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChatMessage body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Create new navigation property to replies for chats
+ * @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 ChatMessage 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 RepliesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RepliesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RepliesRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Replies for a specified message. Supports $expand for channel messages.
+ */
+ @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/chats/item/targetedmessages/item/replies/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..ceba084d4b7
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.replies.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}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/$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}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/$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/chats/item/targetedmessages/item/replies/delta/DeltaGetResponse.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/delta/DeltaGetResponse.java
new file mode 100644
index 00000000000..f6e4c94704b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/delta/DeltaGetResponse.java
@@ -0,0 +1,63 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.replies.delta;
+
+import com.microsoft.graph.models.BaseDeltaFunctionResponse;
+import com.microsoft.graph.models.ChatMessage;
+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 DeltaGetResponse extends BaseDeltaFunctionResponse implements Parsable {
+ /**
+ * Instantiates a new {@link DeltaGetResponse} and sets the default values.
+ */
+ public DeltaGetResponse() {
+ 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 DeltaGetResponse}
+ */
+ @jakarta.annotation.Nonnull
+ public static DeltaGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new DeltaGetResponse();
+ }
+ /**
+ * 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(ChatMessage::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/chats/item/targetedmessages/item/replies/delta/DeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/delta/DeltaRequestBuilder.java
new file mode 100644
index 00000000000..974ca2fd6d8
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/delta/DeltaRequestBuilder.java
@@ -0,0 +1,166 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.replies.delta;
+
+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 delta method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class DeltaRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link DeltaRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public DeltaRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link DeltaRequestBuilder} 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 DeltaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
+ * @return a {@link DeltaGetResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public DeltaGetResponse get() {
+ return get(null);
+ }
+ /**
+ * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link DeltaGetResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public DeltaGetResponse 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, DeltaGetResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
+ * @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 DeltaRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public DeltaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new DeltaRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get the list of messages from all chats in which a user is a participant, including one-on-one chats, group chats, and meeting chats. When you use delta query, you can get new or updated messages. To get the replies for a message, use the list message replies or the get message reply operations. A GET request with the delta function returns one of the following: State tokens are opaque to the client. To proceed with a round of change tracking, copy and apply the @odata.nextLink or @odata.deltaLink URL returned from the last GET request to the next delta function call. An @odata.deltaLink returned in a response signifies that the current round of change tracking is complete. You can save and use the @odata.deltaLink URL when you begin to retrieve more changes (messages changed or posted after you acquire @odata.deltaLink). For more information, see the delta query documentation.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24count", count);
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ allQueryParams.put("%24skip", skip);
+ allQueryParams.put("%24top", top);
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24orderby", orderby);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/ChatMessageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/ChatMessageItemRequestBuilder.java
new file mode 100644
index 00000000000..a82dd188725
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/ChatMessageItemRequestBuilder.java
@@ -0,0 +1,273 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.replies.item;
+
+import com.microsoft.graph.chats.item.targetedmessages.item.replies.item.hostedcontents.HostedContentsRequestBuilder;
+import com.microsoft.graph.chats.item.targetedmessages.item.replies.item.setreaction.SetReactionRequestBuilder;
+import com.microsoft.graph.chats.item.targetedmessages.item.replies.item.softdelete.SoftDeleteRequestBuilder;
+import com.microsoft.graph.chats.item.targetedmessages.item.replies.item.undosoftdelete.UndoSoftDeleteRequestBuilder;
+import com.microsoft.graph.chats.item.targetedmessages.item.replies.item.unsetreaction.UnsetReactionRequestBuilder;
+import com.microsoft.graph.models.ChatMessage;
+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 replies property of the microsoft.graph.chatMessage entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ChatMessageItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity.
+ * @return a {@link HostedContentsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public HostedContentsRequestBuilder hostedContents() {
+ return new HostedContentsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the setReaction method.
+ * @return a {@link SetReactionRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SetReactionRequestBuilder setReaction() {
+ return new SetReactionRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the softDelete method.
+ * @return a {@link SoftDeleteRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SoftDeleteRequestBuilder softDelete() {
+ return new SoftDeleteRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the undoSoftDelete method.
+ * @return a {@link UndoSoftDeleteRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public UndoSoftDeleteRequestBuilder undoSoftDelete() {
+ return new UndoSoftDeleteRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the unsetReaction method.
+ * @return a {@link UnsetReactionRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public UnsetReactionRequestBuilder unsetReaction() {
+ return new UnsetReactionRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link ChatMessageItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ChatMessageItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ChatMessageItemRequestBuilder} 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 ChatMessageItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property replies for chats
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property replies for chats
+ * @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);
+ }
+ /**
+ * Replies for a specified message. Supports $expand for channel messages.
+ * @return a {@link ChatMessage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessage get() {
+ return get(null);
+ }
+ /**
+ * Replies for a specified message. Supports $expand for channel messages.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ChatMessage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessage 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, ChatMessage::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property replies in chats
+ * @param body The request body
+ * @return a {@link ChatMessage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessage patch(@jakarta.annotation.Nonnull final ChatMessage body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property replies in chats
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ChatMessage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessage patch(@jakarta.annotation.Nonnull final ChatMessage 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, ChatMessage::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property replies for chats
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property replies for chats
+ * @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;
+ }
+ /**
+ * Replies for a specified message. Supports $expand for channel messages.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Replies for a specified message. Supports $expand for channel messages.
+ * @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 replies in chats
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ChatMessage body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property replies in chats
+ * @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 ChatMessage 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 ChatMessageItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ChatMessageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ChatMessageItemRequestBuilder(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 {
+ }
+ /**
+ * Replies for a specified message. Supports $expand for channel messages.
+ */
+ @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/chats/item/targetedmessages/item/replies/item/hostedcontents/HostedContentsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/hostedcontents/HostedContentsRequestBuilder.java
new file mode 100644
index 00000000000..0c7d310ba87
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/hostedcontents/HostedContentsRequestBuilder.java
@@ -0,0 +1,243 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.replies.item.hostedcontents;
+
+import com.microsoft.graph.chats.item.targetedmessages.item.replies.item.hostedcontents.count.CountRequestBuilder;
+import com.microsoft.graph.chats.item.targetedmessages.item.replies.item.hostedcontents.item.ChatMessageHostedContentItemRequestBuilder;
+import com.microsoft.graph.models.ChatMessageHostedContent;
+import com.microsoft.graph.models.ChatMessageHostedContentCollectionResponse;
+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 hostedContents property of the microsoft.graph.chatMessage entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class HostedContentsRequestBuilder 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 hostedContents property of the microsoft.graph.chatMessage entity.
+ * @param chatMessageHostedContentId The unique identifier of chatMessageHostedContent
+ * @return a {@link ChatMessageHostedContentItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ChatMessageHostedContentItemRequestBuilder byChatMessageHostedContentId(@jakarta.annotation.Nonnull final String chatMessageHostedContentId) {
+ Objects.requireNonNull(chatMessageHostedContentId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("chatMessageHostedContent%2Did", chatMessageHostedContentId);
+ return new ChatMessageHostedContentItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link HostedContentsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public HostedContentsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link HostedContentsRequestBuilder} 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 HostedContentsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ * @return a {@link ChatMessageHostedContentCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessageHostedContentCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ChatMessageHostedContentCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessageHostedContentCollectionResponse 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, ChatMessageHostedContentCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Create new navigation property to hostedContents for chats
+ * @param body The request body
+ * @return a {@link ChatMessageHostedContent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessageHostedContent post(@jakarta.annotation.Nonnull final ChatMessageHostedContent body) {
+ return post(body, null);
+ }
+ /**
+ * Create new navigation property to hostedContents for chats
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ChatMessageHostedContent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessageHostedContent post(@jakarta.annotation.Nonnull final ChatMessageHostedContent 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, ChatMessageHostedContent::createFromDiscriminatorValue);
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ * @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 hostedContents for chats
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChatMessageHostedContent body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Create new navigation property to hostedContents for chats
+ * @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 ChatMessageHostedContent 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 HostedContentsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public HostedContentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new HostedContentsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ */
+ @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/chats/item/targetedmessages/item/replies/item/hostedcontents/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/hostedcontents/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..8e6bed613ed
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/hostedcontents/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.replies.item.hostedcontents.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}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/$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}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/$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/chats/item/targetedmessages/item/replies/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java
new file mode 100644
index 00000000000..be2a1d44cac
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java
@@ -0,0 +1,237 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.replies.item.hostedcontents.item;
+
+import com.microsoft.graph.chats.item.targetedmessages.item.replies.item.hostedcontents.item.value.ContentRequestBuilder;
+import com.microsoft.graph.models.ChatMessageHostedContent;
+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 hostedContents property of the microsoft.graph.chatMessage entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ChatMessageHostedContentItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to manage the media for the chat entity.
+ * @return a {@link ContentRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ContentRequestBuilder content() {
+ return new ContentRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link ChatMessageHostedContentItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ChatMessageHostedContentItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ChatMessageHostedContentItemRequestBuilder} 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 ChatMessageHostedContentItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property hostedContents for chats
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property hostedContents for chats
+ * @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);
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ * @return a {@link ChatMessageHostedContent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessageHostedContent get() {
+ return get(null);
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ChatMessageHostedContent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessageHostedContent 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, ChatMessageHostedContent::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property hostedContents in chats
+ * @param body The request body
+ * @return a {@link ChatMessageHostedContent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessageHostedContent patch(@jakarta.annotation.Nonnull final ChatMessageHostedContent body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property hostedContents in chats
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ChatMessageHostedContent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ChatMessageHostedContent patch(@jakarta.annotation.Nonnull final ChatMessageHostedContent 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, ChatMessageHostedContent::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property hostedContents for chats
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property hostedContents for chats
+ * @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;
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ * @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 hostedContents in chats
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ChatMessageHostedContent body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property hostedContents in chats
+ * @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 ChatMessageHostedContent 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 ChatMessageHostedContentItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ChatMessageHostedContentItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ChatMessageHostedContentItemRequestBuilder(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 {
+ }
+ /**
+ * Content in a message hosted by Microsoft Teams - for example, images or code snippets.
+ */
+ @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/chats/item/targetedmessages/item/replies/item/hostedcontents/item/value/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/hostedcontents/item/value/ContentRequestBuilder.java
new file mode 100644
index 00000000000..acc47e9443d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/hostedcontents/item/value/ContentRequestBuilder.java
@@ -0,0 +1,195 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.replies.item.hostedcontents.item.value;
+
+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.io.InputStream;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the media for the chat entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ContentRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link ContentRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ContentRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ContentRequestBuilder} 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 ContentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value", rawUrl);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ 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);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @return a {@link InputStream}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public InputStream get() {
+ return get(null);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link InputStream}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public InputStream 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, InputStream.class);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @param body Binary request body
+ * @return a {@link InputStream}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) {
+ return put(body, null);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @param body Binary request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link InputStream}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = toPutRequestInformation(body, requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, InputStream.class);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @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;
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @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/octet-stream, application/json");
+ return requestInfo;
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @param body Binary request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body) {
+ return toPutRequestInformation(body, null);
+ }
+ /**
+ * The unique identifier for an entity. Read-only.
+ * @param body Binary 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 toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PutRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ requestInfo.setStreamContent(body, "application/octet-stream");
+ 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 ContentRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ContentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ContentRequestBuilder(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 {
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PutRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/setreaction/SetReactionPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/setreaction/SetReactionPostRequestBody.java
new file mode 100644
index 00000000000..b1b30f38c96
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/setreaction/SetReactionPostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.replies.item.setreaction;
+
+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 SetReactionPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link SetReactionPostRequestBody} and sets the default values.
+ */
+ public SetReactionPostRequestBody() {
+ 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 SetReactionPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static SetReactionPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new SetReactionPostRequestBody();
+ }
+ /**
+ * 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("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the reactionType property value. The reactionType property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getReactionType() {
+ return this.backingStore.get("reactionType");
+ }
+ /**
+ * 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("reactionType", this.getReactionType());
+ 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 reactionType property value. The reactionType property
+ * @param value Value to set for the reactionType property.
+ */
+ public void setReactionType(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("reactionType", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/setreaction/SetReactionRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/setreaction/SetReactionRequestBuilder.java
new file mode 100644
index 00000000000..4058347bfaf
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/setreaction/SetReactionRequestBuilder.java
@@ -0,0 +1,98 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.replies.item.setreaction;
+
+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 setReaction method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class SetReactionRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link SetReactionRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public SetReactionRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/setReaction", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link SetReactionRequestBuilder} 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 SetReactionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/setReaction", rawUrl);
+ }
+ /**
+ * Invoke action setReaction
+ * @param body The request body
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void post(@jakarta.annotation.Nonnull final SetReactionPostRequestBody body) {
+ post(body, null);
+ }
+ /**
+ * Invoke action setReaction
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void post(@jakarta.annotation.Nonnull final SetReactionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * Invoke action setReaction
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SetReactionPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Invoke action setReaction
+ * @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 SetReactionPostRequestBody 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 SetReactionRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SetReactionRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new SetReactionRequestBuilder(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/chats/item/targetedmessages/item/replies/item/softdelete/SoftDeleteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/softdelete/SoftDeleteRequestBuilder.java
new file mode 100644
index 00000000000..1bb921a282c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/softdelete/SoftDeleteRequestBuilder.java
@@ -0,0 +1,93 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.replies.item.softdelete;
+
+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 softDelete method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class SoftDeleteRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link SoftDeleteRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public SoftDeleteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/softDelete", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link SoftDeleteRequestBuilder} 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 SoftDeleteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/softDelete", rawUrl);
+ }
+ /**
+ * Delete a single chatMessage or a chat message reply in a channel or a chat.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ public void post() {
+ post(null);
+ }
+ /**
+ * Delete a single chatMessage or a chat message reply in a channel or a chat.
+ * @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);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * Delete a single chatMessage or a chat message reply in a channel or a chat.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation() {
+ return toPostRequestInformation(null);
+ }
+ /**
+ * Delete a single chatMessage or a chat message reply in a channel or a chat.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link SoftDeleteRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SoftDeleteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new SoftDeleteRequestBuilder(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/chats/item/targetedmessages/item/replies/item/undosoftdelete/UndoSoftDeleteRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/undosoftdelete/UndoSoftDeleteRequestBuilder.java
new file mode 100644
index 00000000000..e0b5339972f
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/undosoftdelete/UndoSoftDeleteRequestBuilder.java
@@ -0,0 +1,93 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.replies.item.undosoftdelete;
+
+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 undoSoftDelete method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class UndoSoftDeleteRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link UndoSoftDeleteRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public UndoSoftDeleteRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/undoSoftDelete", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link UndoSoftDeleteRequestBuilder} 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 UndoSoftDeleteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/undoSoftDelete", rawUrl);
+ }
+ /**
+ * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ public void post() {
+ post(null);
+ }
+ /**
+ * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat.
+ * @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);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation() {
+ return toPostRequestInformation(null);
+ }
+ /**
+ * Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link UndoSoftDeleteRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public UndoSoftDeleteRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new UndoSoftDeleteRequestBuilder(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/chats/item/targetedmessages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java
new file mode 100644
index 00000000000..e5d74f203c2
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.replies.item.unsetreaction;
+
+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 UnsetReactionPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link UnsetReactionPostRequestBody} and sets the default values.
+ */
+ public UnsetReactionPostRequestBody() {
+ 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 UnsetReactionPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static UnsetReactionPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new UnsetReactionPostRequestBody();
+ }
+ /**
+ * 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("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the reactionType property value. The reactionType property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getReactionType() {
+ return this.backingStore.get("reactionType");
+ }
+ /**
+ * 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("reactionType", this.getReactionType());
+ 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 reactionType property value. The reactionType property
+ * @param value Value to set for the reactionType property.
+ */
+ public void setReactionType(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("reactionType", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/unsetreaction/UnsetReactionRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/unsetreaction/UnsetReactionRequestBuilder.java
new file mode 100644
index 00000000000..cb4b9598583
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/targetedmessages/item/replies/item/unsetreaction/UnsetReactionRequestBuilder.java
@@ -0,0 +1,98 @@
+package com.microsoft.graph.chats.item.targetedmessages.item.replies.item.unsetreaction;
+
+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 unsetReaction method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class UnsetReactionRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link UnsetReactionRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public UnsetReactionRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/unsetReaction", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link UnsetReactionRequestBuilder} 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 UnsetReactionRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/targetedMessages/{targetedChatMessage%2Did}/replies/{chatMessage%2Did}/unsetReaction", rawUrl);
+ }
+ /**
+ * Invoke action unsetReaction
+ * @param body The request body
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void post(@jakarta.annotation.Nonnull final UnsetReactionPostRequestBody body) {
+ post(body, null);
+ }
+ /**
+ * Invoke action unsetReaction
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void post(@jakarta.annotation.Nonnull final UnsetReactionPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
+ final HashMap